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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin180
RA = 201.73, Dec = 22.1732
tmin = 285984001, tmax = 286243201
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='585727', job_status='RUN', time_executed='2021-09-07 18:14:16.055652', time_epoch_executed='1631063656.06' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='180'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/585727

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/585727/ft1_4FGL_J1326.9+2210_daily_bin180.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/585727/ft2_4FGL_J1326.9+2210_daily_bin180.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/585727/ft1_4FGL_J1326.9+2210_daily_bin180.fits outfile=/scratch/kocevski/585727/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin180.fits ra=201.73 dec=22.1732 rad=12.0 tmin=285984001.0 tmax=286243201.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 3.40
user 3.15
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/585727/ft2_4FGL_J1326.9+2210_daily_bin180.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/585727/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin180.fits evtable="EVENTS" outfile="/scratch/kocevski/585727/ft1_filtered_4FGL_J1326.9+2210_daily_bin180.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/585727/ft1_filtered_4FGL_J1326.9+2210_daily_bin180.fits" evtable="EVENTS" scfile=/scratch/kocevski/585727/ft2_4FGL_J1326.9+2210_daily_bin180.fits sctable="SC_DATA" outfile=/scratch/kocevski/585727/ltcube_285984001_286243201_4FGL_J1326.9+2210_daily_bin180.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/585727/ft2_4FGL_J1326.9+2210_daily_bin180.fits
.....................!
real 14.21
user 13.83
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/585727/ft1_filtered_4FGL_J1326.9+2210_daily_bin180.fits evtable="EVENTS" scfile=/scratch/kocevski/585727/ft2_4FGL_J1326.9+2210_daily_bin180.fits sctable="SC_DATA" expcube=/scratch/kocevski/585727/ltcube_285984001_286243201_4FGL_J1326.9+2210_daily_bin180.fits outfile=/scratch/kocevski/585727/expmap_285984001_286243201_4FGL_J1326.9+2210_daily_bin180.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/585727/ltcube_285984001_286243201_4FGL_J1326.9+2210_daily_bin180.fits
.....................!
real 193.04
user 187.72
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/585727/ft1_filtered_4FGL_J1326.9+2210_daily_bin180.fits scfile=/scratch/kocevski/585727/ft2_4FGL_J1326.9+2210_daily_bin180.fits outfile=/scratch/kocevski/585727/cmap_285984001_286243201_4FGL_J1326.9+2210_daily_bin180.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.55
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/585727/ft1_filtered_4FGL_J1326.9+2210_daily_bin180.fits scfile=/scratch/kocevski/585727/ft2_4FGL_J1326.9+2210_daily_bin180.fits outfile=/scratch/kocevski/585727/cmap_HighResolution_285984001_286243201_4FGL_J1326.9+2210_daily_bin180.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.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7812       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.0603       1.0000         .10000E-03   10000.    
     3 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10480E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.5590       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.914       1.0000         .10000E-03   10000.    
     8 'norm      '    .24758E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13172E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    15.488       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.9387       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.241       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.2917       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.3732       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.9940       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .94944       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0354       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5440E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5572.216     FROM MIGRAD    STATUS=CONVERGED     54 CALLS     1198 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7808        1.0042        .57751E-07    .28888E-03
   2  Prefactor     8.0578        1.0108       -.33867E-07    .20016E-03
   3  norm          .10000E-03    1.8864        .80691E-06** at limit **
   4  norm          .10000E-03    3.6724       -.74316E-06** at limit **
   5  norm          3.5508        3.9349        .84417E-06    .30460E-03
   6  norm          .10040E-03    8.5139        .23528E-04** at limit **
   7  Prefactor     17.917        1.6101        .17429E-05   -.11796E-02
   8  norm          .10030E-03    8.3015       -.21427E-04** at limit **
   9  Prefactor     .10007E-03    21.290       -.61383E-05** at limit **
  10  norm          15.528        3.9341       -.51820E-05   -.87536E-03
  11  Prefactor     8.9284        1.1382       -.42787E-06   -.40091E-04
  12  Prefactor     14.232        2.1694       -.29260E-05    .20012E-02
  13  Prefactor     5.2756        7.0487       -.17783E-04    .79495E-02
  14  Prefactor     7.3727        1.0306        .43321E-06    .17585E-02
  15  Prefactor     .10000E-03    5.0854        .88501E-06** at limit **
  16  Prefactor     2.9921        1.1112        .15422E-05    .21256E-03
  17  Normalizat    .94954        .19712        .75823E-06    .17116E-03
  18  Prefactor     1.0354        .19891        .54243E-06    .14276E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.78078
  Prefactor  = 8.05777
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.5508
  norm       = 0.000100404
  Prefactor  = 17.9174
  norm       = 0.000100305
  Prefactor  = 0.00010007
  norm       = 15.528
  Prefactor  = 8.92844
  Prefactor  = 14.232
  Prefactor  = 5.27562
  Prefactor  = 7.37268
  Prefactor  = 0.0001
  Prefactor  = 2.99211
  Normalizat = 0.94954
  Prefactor  = 1.03541
 **********
 **   18 **HESSE 
 **********

 FCN=   5572.216     FROM HESSE     STATUS=OK           290 CALLS     1488 TOTAL
                     EDM=   .87E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7808        7.6451        .38520E-02   -1.5187    
   2  Prefactor     8.0578        12.296        .35305E-02   -1.5140    
   3  norm          .10000E-03    1.8620        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.4054        .39992E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.5508        4.2583        .53560E-02   -1.5331    
   6  norm          .10040E-03    9.8756        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.917        13.506        .23657E-02   -1.4861    
   8  norm          .10030E-03    9.0262        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10007E-03    21.912        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.528        9.3397        .25443E-02   -1.4920    
  11  Prefactor     8.9284        11.185        .33515E-02   -1.5110    
  12  Prefactor     14.232        14.215        .26535E-02   -1.4953    
  13  Prefactor     5.2756        30.587        .43680E-02   -1.5249    
  14  Prefactor     7.3727        4.5263        .36927E-02   -1.5165    
  15  Prefactor     .10000E-03    5.0766        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.9921        9.6850        .58651E-02   -1.5362    
  17  Normalizat    .94954        .17833        .45530E-01   -.94741    
  18  Prefactor     1.0354        .17372        .40850E-01   -.91558    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.65464e-07
Minuit parameter uncertainties:
  1  7.64618
  2  12.3002
  3  2.55243e-05
  4  1.00969e-06
  5  4.25863
  6  0.00399517
  7  13.5078
  8  0.00331725
  9  0.00246977
  10  9.34058
  11  11.1872
  12  14.2184
  13  25.4255
  14  4.52647
  15  1.4373e-05
  16  9.69004
  17  0.178442
  18  0.173815
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  1.035e+00  1.738e-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.495e-01  1.784e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.50
Ra Dec: 201.730 22.173
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 6.31e-08 +/- 3.79e-08
Energy Flux (Fixed Index): 1.98e-05 +/- 1.19e-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) = 5571.762715
delta logL = 0.45357786052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5571.76170776
delta logL = 0.454585103374

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.957       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8518       1.0000          .0000       5.0000    
     3 'Normalizat'    .97826       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0182       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=   5571.762     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      220 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.957        11.347        .25066E-02    .39936E-02
   2  alpha         1.8518        .50453        .35445        .11106E-04
   3  Normalizat    .97841        .17156        .45894E-01    .14097E-03
   4  Prefactor     1.0183        .17230        .42322E-01   -.12644E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 15.9569
  alpha      = 1.8518
  Normalizat = 0.978412
  Prefactor  = 1.01829
 **********
 **   18 **HESSE 
 **********

 FCN=   5571.762     FROM HESSE     STATUS=OK            29 CALLS      249 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.957        11.023        .10026E-03   -1.4909    
   2  alpha         1.8518        .55510        .13753E-01   -.26228    
   3  Normalizat    .97841        .19887        .23892E-03   -.93757    
   4  Prefactor     1.0183        .19898        .23572E-03   -.92122    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26092e-08
Minuit parameter uncertainties:
  1  11.0246
  2  0.560108
  3  0.199016
  4  0.199119
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/585727': 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) = 5571.76170531
delta logL = 0.454587545429

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.596e+01  1.102e+01  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  1.852e+00  5.601e-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.018e+00  1.991e-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.784e-01  1.990e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.39
Ra Dec: 201.730 22.173
Photon Index (Free Index): 1.85 +/- 0.56
Photon Flux (Free Index): 4.16e-08 +/- 3.67e-08
Energy Flux (Free Index): 2.55e-05 +/- 1.85e-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/585727/cmap_HighResolution_285984001_286243201_4FGL_J1326.9+2210_daily_bin180.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.31e-08', energy_flux2='2.55e-05', photon_flux_error='3.79e-08', dlogl='4.55e-01', energy_flux='1.98e-05', photon_flux2='4.16e-08', job_status='DONE', time_completed='2021-09-07 18:22:01.241887', photon_index_error2='0.56', photon_index2='1.85', ts='6.50', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.85e-05', EG='0.95', time_epoch_completed='1631064121.24', return_code='0', job_id='585727', GAL2='1.02', EG2='0.98', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='3.67e-08', ts2='7.39', photon_index='2.38' WHERE bin_id='180' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:22:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 585727: <4FGL_J1326.9+2210_daily_bin180> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin180 201.73 22.1732 285984001 286243201 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 :                                   464.00 sec.
    Max Memory :                                 1078 MB
    Average Memory :                             245.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   616 sec.
    Turnaround time :                            691 sec.

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

