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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin926
RA = 201.73, Dec = 22.1732
tmin = 479347201, tmax = 479606401
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='592782', job_status='RUN', time_executed='2021-09-07 18:38:49.335351', time_epoch_executed='1631065129.34' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='926'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592782

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592782/ft1_4FGL_J1326.9+2210_daily_bin926.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592782/ft2_4FGL_J1326.9+2210_daily_bin926.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592782/ft1_4FGL_J1326.9+2210_daily_bin926.fits outfile=/scratch/kocevski/592782/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin926.fits ra=201.73 dec=22.1732 rad=12.0 tmin=479347201.0 tmax=479606401.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.56
user 3.31
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592782/ft1_filtered_4FGL_J1326.9+2210_daily_bin926.fits evtable="EVENTS" scfile=/scratch/kocevski/592782/ft2_4FGL_J1326.9+2210_daily_bin926.fits sctable="SC_DATA" expcube=/scratch/kocevski/592782/ltcube_479347201_479606401_4FGL_J1326.9+2210_daily_bin926.fits outfile=/scratch/kocevski/592782/expmap_479347201_479606401_4FGL_J1326.9+2210_daily_bin926.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/592782/ltcube_479347201_479606401_4FGL_J1326.9+2210_daily_bin926.fits
.....................!
real 194.62
user 187.41
sys 4.80

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/592782/ft1_filtered_4FGL_J1326.9+2210_daily_bin926.fits scfile=/scratch/kocevski/592782/ft2_4FGL_J1326.9+2210_daily_bin926.fits outfile=/scratch/kocevski/592782/cmap_479347201_479606401_4FGL_J1326.9+2210_daily_bin926.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.40
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8392       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10816E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .11847E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.2798       1.0000         .10000E-03   10000.    
     5 'norm      '    4.9591       1.0000         .10000E-03   10000.    
     6 'norm      '    .10221E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11585E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    9.6115       1.0000         .10000E-03   10000.    
     9 'Prefactor '    44.147       1.0000         .10000E-03   10000.    
    10 'norm      '    19.384       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.1039       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .22891E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .19403E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11700E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.1437       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .98796       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .92612       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=   5106.616     FROM MIGRAD    STATUS=CONVERGED    385 CALLS     1726 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8414        4.1715       -.57564E-07   -.30945E-03
   2  Prefactor     .10000E-03    7.1201       -.10111E-08** at limit **
   3  norm          .10000E-03    2.6298        .30322E-08** at limit **
   4  norm          5.2759        4.6037       -.29689E-10   -.90913E-04
   5  norm          4.9351        6.9858       -.13578E-08    .12418E-03
   6  norm          .10000E-03    6.8884        .66221E-09** at limit **
   7  Prefactor     .10000E-03    5.6248       -.44935E-11** at limit **
   8  norm          9.6119        8.1259        .11888E-08    .29409E-03
   9  Prefactor     44.376        60.006       -.13719E-07   -.23669E-04
  10  norm          19.382        10.299       -.91510E-08    .23406E-02
  11  Prefactor     4.0775        11.037       -.74000E-07   -.10391E-03
  12  Prefactor     .10000E-03    8.7318        .11629E-08** at limit **
  13  Prefactor     .10000E-03    20.788        .15844E-09** at limit **
  14  Prefactor     .10000E-03    .94616       -.31791E-11** at limit **
  15  Prefactor     .10000E-03    4.3641       -.22921E-09** at limit **
  16  Prefactor     2.1509        8.1946       -.20660E-07    .31344E-03
  17  Normalizat    .98795        .17849        .17680E-07   -.29972E-05
  18  Prefactor     .92610        .17426        .60923E-08   -.87480E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.84139
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.27586
  norm       = 4.93511
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 9.61188
  Prefactor  = 44.376
  norm       = 19.3815
  Prefactor  = 4.07752
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.15087
  Normalizat = 0.987951
  Prefactor  = 0.926103
 **********
 **   18 **HESSE 
 **********

 FCN=   5106.616     FROM HESSE     STATUS=OK           246 CALLS     1972 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8414        7.3323        .10299E-02   -1.5316    
   2  Prefactor     .10000E-03    7.1475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    5.5352        .22377E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.2759        4.7535        .11194E-03   -1.5249    
   5  norm          4.9351        7.2046        .17695E-03   -1.5264    
   6  norm          .10000E-03    6.8909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.6400        .16551E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          9.6119        8.1253        .12926E-03   -1.5088    
   9  Prefactor     44.376        60.246        .60339E-04   -1.4375    
  10  norm          19.382        10.306        .90971E-04   -1.4827    
  11  Prefactor     4.0775        13.609        .99500E-03   -1.5304    
  12  Prefactor     .10000E-03    8.7509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    20.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    .94873        .67876E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.3720        .14579E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.1509        8.2366        .28148E-03   -1.5415    
  17  Normalizat    .98795        .21228        .23003E-03   -.93435    
  18  Prefactor     .92610        .20575        .23466E-03   -.95235    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24477e-09
Minuit parameter uncertainties:
  1  7.33403
  2  2.4805e-05
  3  1.0644e-06
  4  4.75388
  5  7.20583
  6  2.25862e-05
  7  2.44521e-06
  8  8.12623
  9  60.3292
  10  10.3073
  11  13.6191
  12  5.41264e-06
  13  2.49914e-05
  14  5.1401e-07
  15  1.51638e-06
  16  8.24091
  17  0.212461
  18  0.205924
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  9.261e-01  2.059e-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.880e-01  2.125e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.97
Ra Dec: 201.730 22.173
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 7.88e-08 +/- 4.19e-08
Energy Flux (Fixed Index): 2.47e-05 +/- 1.31e-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) = 5105.94574562
delta logL = 0.670210264694

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5105.94503665
delta logL = 0.670919236255

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.583       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1530       1.0000          .0000       5.0000    
     3 'Normalizat'    .92598       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96797       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=   5105.945     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      231 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.602        91.313        .28231E-02    .11483E-03
   2  alpha         3.1519        4.0725        .24404        .45918E-04
   3  Normalizat    .92603        .10209        .45233E-01   -.14932E-04
   4  Prefactor     .96792        .82952E-01    .45866E-01   -.10342E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.6022
  alpha      = 3.15193
  Normalizat = 0.92603
  Prefactor  = 0.967925
 **********
 **   18 **HESSE 
 **********

 FCN=   5105.945     FROM HESSE     STATUS=OK            33 CALLS      264 TOTAL
                     EDM=   .65E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.602        11.252        .10338E-03   -1.4998    
   2  alpha         3.1519        .80299        .10232E-01    .26382    
   3  Normalizat    .92603        .21546        .23632E-03   -.95551    
   4  Prefactor     .96792        .20948        .23014E-03   -.93806    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.54918e-12
Minuit parameter uncertainties:
  1  11.2536
  2  0.818598
  3  0.215663
  4  0.209659
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592782': 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) = 5105.94503483
delta logL = 0.670921057113

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  9.679e-01  2.097e-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.260e-01  2.157e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.55
Ra Dec: 201.730 22.173
Photon Index (Free Index): 3.15 +/- 0.82
Photon Flux (Free Index): 1.23e-07 +/- 6.14e-08
Energy Flux (Free Index): 2.42e-05 +/- 1.06e-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/592782/cmap_HighResolution_479347201_479606401_4FGL_J1326.9+2210_daily_bin926.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.88e-08', energy_flux2='2.42e-05', photon_flux_error='4.19e-08', dlogl='6.71e-01', energy_flux='2.47e-05', photon_flux2='1.23e-07', job_status='DONE', time_completed='2021-09-07 18:47:00.922490', photon_index_error2='0.82', photon_index2='3.15', ts='7.97', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='1.06e-05', EG='0.99', time_epoch_completed='1631065620.92', return_code='0', job_id='592782', GAL2='0.97', EG2='0.93', return_code2='0', energy_flux_error='1.31e-05', photon_flux_error2='6.14e-08', ts2='9.55', photon_index='2.38' WHERE bin_id='926' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:47:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 592782: <4FGL_J1326.9+2210_daily_bin926> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin926> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Sep  7 18:35:19 2021
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:35:30 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:35:30 2021
Terminated at Tue Sep  7 18:47:01 2021
Results reported at Tue Sep  7 18:47:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin926 201.73 22.1732 479347201 479606401 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 :                                   486.47 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             239.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            702 sec.

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

