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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin64
RA = 201.73, Dec = 22.1732
tmin = 255916801, tmax = 256176001
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='584352', job_status='RUN', time_executed='2021-09-07 18:11:06.313532', time_epoch_executed='1631063466.31' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='64'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/584352

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/584352/ft1_4FGL_J1326.9+2210_daily_bin64.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/584352/ft2_4FGL_J1326.9+2210_daily_bin64.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/584352/ft1_4FGL_J1326.9+2210_daily_bin64.fits outfile=/scratch/kocevski/584352/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin64.fits ra=201.73 dec=22.1732 rad=12.0 tmin=255916801.0 tmax=256176001.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.50
user 1.28
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/584352/ft1_filtered_4FGL_J1326.9+2210_daily_bin64.fits evtable="EVENTS" scfile=/scratch/kocevski/584352/ft2_4FGL_J1326.9+2210_daily_bin64.fits sctable="SC_DATA" expcube=/scratch/kocevski/584352/ltcube_255916801_256176001_4FGL_J1326.9+2210_daily_bin64.fits outfile=/scratch/kocevski/584352/expmap_255916801_256176001_4FGL_J1326.9+2210_daily_bin64.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/584352/ltcube_255916801_256176001_4FGL_J1326.9+2210_daily_bin64.fits
.....................!
real 191.79
user 186.68
sys 4.69

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/584352/ft1_filtered_4FGL_J1326.9+2210_daily_bin64.fits scfile=/scratch/kocevski/584352/ft2_4FGL_J1326.9+2210_daily_bin64.fits outfile=/scratch/kocevski/584352/cmap_255916801_256176001_4FGL_J1326.9+2210_daily_bin64.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/584352/ft1_filtered_4FGL_J1326.9+2210_daily_bin64.fits scfile=/scratch/kocevski/584352/ft2_4FGL_J1326.9+2210_daily_bin64.fits outfile=/scratch/kocevski/584352/cmap_HighResolution_255916801_256176001_4FGL_J1326.9+2210_daily_bin64.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17570E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.8327       1.0000         .10000E-03   10000.    
     4 'norm      '    28.152       1.0000         .10000E-03   10000.    
     5 'norm      '    .93780E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    12.094       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    28.335       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .42805E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.854       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10294E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.5223       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.276       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.761       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2480       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .88236       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=   9518.534     FROM MIGRAD    STATUS=CONVERGED    374 CALLS     1543 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.3907        .13620E-05** at limit **
   2  Prefactor     .10000E-03    4.4083        .31561E-06** at limit **
   3  norm          3.8337        3.5245       -.34865E-06   -.13004E-03
   4  norm          28.139        5.2824        .10104E-06    .71188E-03
   5  norm          .10002E-03    5.1132       -.46429E-06** at limit **
   6  norm          12.094        10.590       -.84915E-07   -.14733E-04
   7  Prefactor     .10000E-03    4.7260       -.65178E-06** at limit **
   8  norm          .10000E-03    3.1693        .92577E-07** at limit **
   9  Prefactor     .10000E-03    7.1724       -.70355E-06** at limit **
  10  norm          28.334        8.4105       -.28312E-06   -.89113E-04
  11  Prefactor     .10000E-03    30.193       -.55848E-05** at limit **
  12  Prefactor     23.859        17.098        .28182E-06   -.27922E-04
  13  Prefactor     .10000E-03    75.653        .56494E-05** at limit **
  14  Prefactor     2.5224        2.9844       -.52513E-06   -.19707E-04
  15  Prefactor     13.274        14.305       -.12266E-05   -.36854E-04
  16  Prefactor     17.759        10.978       -.14794E-07   -.31940E-04
  17  Normalizat    1.2482        .15872       -.11916E-05   -.76722E-04
  18  Prefactor     .88226        .14631        .57679E-06   -.27759E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 3.83374
  norm       = 28.1392
  norm       = 0.000100024
  norm       = 12.0938
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 28.3336
  Prefactor  = 0.0001
  Prefactor  = 23.8593
  Prefactor  = 0.0001
  Prefactor  = 2.52238
  Prefactor  = 13.2737
  Prefactor  = 17.7593
  Normalizat = 1.24817
  Prefactor  = 0.882262
 **********
 **   18 **HESSE 
 **********

 FCN=   9518.534     FROM HESSE     STATUS=OK           254 CALLS     1797 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.855        .35301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.4391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.8337        3.5105        .16732E-03   -1.5316    
   4  norm          28.139        5.3814        .75506E-04   -1.4647    
   5  norm          .10002E-03    98.677        .36687E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          12.094        10.588        .11519E-03   -1.5012    
   7  Prefactor     .10000E-03    4.7364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.2622        .33888E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.1725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          28.334        8.4227        .75264E-04   -1.4643    
  11  Prefactor     .10000E-03    30.516        .41948E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.859        16.910        .82015E-04   -1.4731    
  13  Prefactor     .10000E-03    76.985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.5224        2.9808        .17693E-03   -1.5390    
  15  Prefactor     13.274        14.249        .10993E-03   -1.4979    
  16  Prefactor     17.759        10.996        .95035E-04   -1.4865    
  17  Normalizat    1.2482        .18199        .24737E-03   -.85127    
  18  Prefactor     .88226        .16819        .27379E-03   -.96764    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.61685e-10
Minuit parameter uncertainties:
  1  0.000333907
  2  6.16249e-06
  3  3.51067
  4  5.3815
  5  0.00308377
  6  10.5892
  7  7.52548e-08
  8  1.70251e-05
  9  1.81312e-06
  10  8.42301
  11  4.1564e-05
  12  16.9133
  13  3.46845e-05
  14  2.98102
  15  14.2526
  16  10.9969
  17  0.182088
  18  0.168286
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  2.833e+01  8.423e+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.823e-01  1.683e-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.248e+00  1.821e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 30.70
Ra Dec: 201.730 22.173
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 1.15e-07 +/- 3.42e-08
Energy Flux (Fixed Index): 3.60e-05 +/- 1.07e-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) = 9518.53281598
delta logL = 0.00145565483217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9518.53241981
delta logL = 0.00185182569658

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    28.570       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3629       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2498       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88118       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=   9518.532     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      203 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          28.570        127.93        .18738E-02   -.92364E-04
   2  alpha         2.3629        3.6755        .25069        .42445E-04
   3  Normalizat    1.2498        .20406        .55911E-01    .84829E-05
   4  Prefactor     .88118        .17590        .44765E-01    .21829E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 28.5699
  alpha      = 2.3629
  Normalizat = 1.24981
  Prefactor  = 0.881179
 **********
 **   18 **HESSE 
 **********

 FCN=   9518.532     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .53E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          28.570        9.4064        .74954E-04   -1.4638    
   2  alpha         2.3629        .32887        .10464E-01   -.54866E-01
   3  Normalizat    1.2498        .17799        .24724E-03   -.85077    
   4  Prefactor     .88118        .16766        .27394E-03   -.96802    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.33849e-12
Minuit parameter uncertainties:
  1  9.40687
  2  0.329829
  3  0.178077
  4  0.167757
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/584352': 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) = 9518.53241981
delta logL = 0.00185183088615

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  2.857e+01  9.407e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.363e+00  3.298e-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.812e-01  1.678e-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.250e+00  1.781e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 30.58
Ra Dec: 201.730 22.173
Photon Index (Free Index): 2.36 +/- 0.33
Photon Flux (Free Index): 1.14e-07 +/- 3.98e-08
Energy Flux (Free Index): 3.63e-05 +/- 1.17e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/584352/cmap_HighResolution_255916801_256176001_4FGL_J1326.9+2210_daily_bin64.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.15e-07', energy_flux2='3.63e-05', photon_flux_error='3.42e-08', dlogl='1.85e-03', energy_flux='3.60e-05', photon_flux2='1.14e-07', job_status='DONE', time_completed='2021-09-07 18:20:53.595925', photon_index_error2='0.33', photon_index2='2.36', ts='30.70', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='1.17e-05', EG='1.25', time_epoch_completed='1631064053.6', return_code='0', job_id='584352', GAL2='0.88', EG2='1.25', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='3.98e-08', ts2='30.58', photon_index='2.38' WHERE bin_id='64' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:20:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 584352: <4FGL_J1326.9+2210_daily_bin64> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin64 201.73 22.1732 255916801 256176001 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 :                                   586.37 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             353.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   609 sec.
    Turnaround time :                            917 sec.

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

