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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin36
RA = 201.73, Dec = 22.1732
tmin = 248659201, tmax = 248918401
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='584322', job_status='RUN', time_executed='2021-09-07 18:13:18.223214', time_epoch_executed='1631063598.22' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='36'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/584322

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/584322/ft1_4FGL_J1326.9+2210_daily_bin36.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/584322/ft2_4FGL_J1326.9+2210_daily_bin36.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/584322/ft1_4FGL_J1326.9+2210_daily_bin36.fits outfile=/scratch/kocevski/584322/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin36.fits ra=201.73 dec=22.1732 rad=12.0 tmin=248659201.0 tmax=248918401.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.47
user 1.23
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/584322/ft1_filtered_4FGL_J1326.9+2210_daily_bin36.fits evtable="EVENTS" scfile=/scratch/kocevski/584322/ft2_4FGL_J1326.9+2210_daily_bin36.fits sctable="SC_DATA" expcube=/scratch/kocevski/584322/ltcube_248659201_248918401_4FGL_J1326.9+2210_daily_bin36.fits outfile=/scratch/kocevski/584322/expmap_248659201_248918401_4FGL_J1326.9+2210_daily_bin36.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/584322/ltcube_248659201_248918401_4FGL_J1326.9+2210_daily_bin36.fits
.....................!
real 195.38
user 187.91
sys 5.10

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/584322/ft1_filtered_4FGL_J1326.9+2210_daily_bin36.fits scfile=/scratch/kocevski/584322/ft2_4FGL_J1326.9+2210_daily_bin36.fits outfile=/scratch/kocevski/584322/cmap_248659201_248918401_4FGL_J1326.9+2210_daily_bin36.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/584322/ft1_filtered_4FGL_J1326.9+2210_daily_bin36.fits scfile=/scratch/kocevski/584322/ft2_4FGL_J1326.9+2210_daily_bin36.fits outfile=/scratch/kocevski/584322/cmap_HighResolution_248659201_248918401_4FGL_J1326.9+2210_daily_bin36.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2007       1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.167       1.0000         .10000E-03   10000.    
     3 'norm      '    8.6989       1.0000         .10000E-03   10000.    
     4 'norm      '    3.6986       1.0000         .10000E-03   10000.    
     5 'norm      '    3.4298       1.0000         .10000E-03   10000.    
     6 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10415E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10131E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    46.486       1.0000         .10000E-03   10000.    
    10 'norm      '    3.9461       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.7234       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10332E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8471       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.5261       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0888       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .94055       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=   5416.164     FROM MIGRAD    STATUS=CONVERGED    351 CALLS     1726 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1980        5.4013        .13018E-06    .57832E-04
   2  Prefactor     16.162        14.712        .16175E-06    .29666E-04
   3  norm          8.6983        4.4653        .36305E-07    .12936E-03
   4  norm          3.6637        7.2331       -.74949E-06   -.59490E-05
   5  norm          3.4722        9.8326        .10869E-05    .16080E-04
   6  norm          .10000E-03    7.7223        .30629E-07** at limit **
   7  Prefactor     .10000E-03    17.843        .71380E-06** at limit **
   8  norm          .10002E-03    9.5767       -.23575E-05** at limit **
   9  Prefactor     46.443        32.422        .31205E-05    .22018E-03
  10  norm          3.9550        10.743       -.37577E-07    .28520E-03
  11  Prefactor     2.7186        18.615        .25107E-05    .12937E-03
  12  Prefactor     .10000E-03    10.273        .46363E-07** at limit **
  13  Prefactor     .10000E-03    20.902       -.17684E-05** at limit **
  14  Prefactor     2.8427        4.7536        .59911E-07    .34929E-04
  15  Prefactor     .10000E-03    3.6968       -.10672E-07** at limit **
  16  Prefactor     2.5231        10.141        .28627E-06    .21231E-04
  17  Normalizat    1.0893        .19174       -.55894E-06    .20465E-03
  18  Prefactor     .94033        .17970        .76682E-07    .16216E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.19801
  Prefactor  = 16.1624
  norm       = 8.69826
  norm       = 3.66369
  norm       = 3.4722
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100024
  Prefactor  = 46.4427
  norm       = 3.95496
  Prefactor  = 2.7186
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.84269
  Prefactor  = 0.0001
  Prefactor  = 2.52313
  Normalizat = 1.08925
  Prefactor  = 0.940329
 **********
 **   18 **HESSE 
 **********

 FCN=   5416.164     FROM HESSE     STATUS=OK           250 CALLS     1976 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1980        5.3950        .18759E-03   -1.5298    
   2  Prefactor     16.162        14.718        .99611E-04   -1.4904    
   3  norm          8.6983        4.4678        .10714E-03   -1.5118    
   4  norm          3.6637        8.5891        .14950E-03   -1.5325    
   5  norm          3.4722        11.626        .21164E-03   -1.5335    
   6  norm          .10000E-03    7.7261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    18.000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10002E-03    17.783        .33546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     46.443        33.107        .29404E-03   -1.4344    
  10  norm          3.9550        9.9044        .20307E-03   -1.5310    
  11  Prefactor     2.7186        19.727        .12339E-02   -1.5378    
  12  Prefactor     .10000E-03    10.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    20.999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.8427        4.7433        .19636E-03   -1.5371    
  15  Prefactor     .10000E-03    3.7010        .13820E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.5231        10.111        .25701E-03   -1.5390    
  17  Normalizat    1.0893        .22324        .23367E-03   -.90098    
  18  Prefactor     .94033        .20865        .24608E-03   -.94746    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73201e-09
Minuit parameter uncertainties:
  1  5.39566
  2  14.7217
  3  4.46797
  4  8.59197
  5  11.6339
  6  6.75846e-06
  7  6.39692e-05
  8  0.00131278
  9  33.1203
  10  9.90847
  11  14.6529
  12  9.87771e-06
  13  0.000134628
  14  4.74392
  15  2.12922e-08
  16  10.1043
  17  0.223437
  18  0.208826
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  3.955e+00  9.908e+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:  9.403e-01  2.088e-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.089e+00  2.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/584322/likelihoodResults_248659201_248918401_4FGL_J1326.9+2210_daily_bin36.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): 102
logL (Free Index) = 5415.00696129
delta logL = 1.15690999301

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5414.89410427
delta logL = 1.26976701926

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8940       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.3668       1.0000          .0000       5.0000    
     3 'Normalizat'    .97710       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0081       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=   5414.894     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      244 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8950        25.882        .75576E-02    .52020E-03
   2  alpha         4.3662        4.2074        .41791        .26703E-04
   3  Normalizat    .97693        .66074E-01    .45879E-01    .22619E-04
   4  Prefactor     1.0085        .65610E-01    .43627E-01    .21733E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.89495
  alpha      = 4.36624
  Normalizat = 0.976932
  Prefactor  = 1.00849
 **********
 **   18 **HESSE 
 **********

 FCN=   5414.894     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      277 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8950        39.466        .63606E-04   -1.5433    
   2  alpha         4.3662        3.8588        .20752E-01    .84278    
   3  Normalizat    .97693        .20986        .24504E-03   -.93807    
   4  Prefactor     1.0085        .20279        .23854E-03   -.92447    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.86637e-10
Minuit parameter uncertainties:
  1  17.3085
  2  6.04984
  3  0.210039
  4  0.202941
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/584322': 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): 102
logL (Free Index) = 5414.89409976
delta logL = 1.26977152395

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.895e+00  1.731e+01  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  4.366e+00  6.050e+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.008e+00  2.029e-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:  9.769e-01  2.100e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.98
Ra Dec: 201.730 22.173
Photon Index (Free Index): 4.37 +/- 6.05
Photon Flux (Free Index): 9.75e-08 +/- 7.57e-08
Energy Flux (Free Index): 1.43e-05 +/- 2.00e-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/584322/cmap_HighResolution_248659201_248918401_4FGL_J1326.9+2210_daily_bin36.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.33e-05', comment='SUCCESS', energy_flux2='1.43e-05', dlogl='1.27e+00', photon_flux2='9.75e-08', job_status='DONE', time_completed='2021-09-07 18:22:06.277404', photon_index_error2='6.05', photon_index2='4.37', ts='0.18', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='2.00e-05', EG='1.09', time_epoch_completed='1631064126.28', return_code='0', job_id='584322', GAL2='1.01', EG2='0.98', return_code2='102', photon_flux_error2='7.57e-08', ts2='2.98', photon_index='2.38' WHERE bin_id='36' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:22:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 584322: <4FGL_J1326.9+2210_daily_bin36> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin36> 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) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:10:29 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:29 2021
Terminated at Tue Sep  7 18:22:06 2021
Results reported at Tue Sep  7 18:22:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin36 201.73 22.1732 248659201 248918401 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 :                                   523.24 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             228.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            993 sec.

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

