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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin384
RA = 201.73, Dec = 22.1732
tmin = 338860801, tmax = 339120001
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='588787', job_status='RUN', time_executed='2021-09-07 18:24:18.262233', time_epoch_executed='1631064258.26' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='384'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/588787

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/588787/ft1_4FGL_J1326.9+2210_daily_bin384.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/588787/ft2_4FGL_J1326.9+2210_daily_bin384.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/588787/ft1_4FGL_J1326.9+2210_daily_bin384.fits outfile=/scratch/kocevski/588787/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin384.fits ra=201.73 dec=22.1732 rad=12.0 tmin=338860801.0 tmax=339120001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.70
user 4.45
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/588787/ft1_filtered_4FGL_J1326.9+2210_daily_bin384.fits" evtable="EVENTS" scfile=/scratch/kocevski/588787/ft2_4FGL_J1326.9+2210_daily_bin384.fits sctable="SC_DATA" outfile=/scratch/kocevski/588787/ltcube_338860801_339120001_4FGL_J1326.9+2210_daily_bin384.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/588787/ft2_4FGL_J1326.9+2210_daily_bin384.fits
.....................!
real 13.31
user 12.95
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/588787/ft1_filtered_4FGL_J1326.9+2210_daily_bin384.fits evtable="EVENTS" scfile=/scratch/kocevski/588787/ft2_4FGL_J1326.9+2210_daily_bin384.fits sctable="SC_DATA" expcube=/scratch/kocevski/588787/ltcube_338860801_339120001_4FGL_J1326.9+2210_daily_bin384.fits outfile=/scratch/kocevski/588787/expmap_338860801_339120001_4FGL_J1326.9+2210_daily_bin384.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/588787/ltcube_338860801_339120001_4FGL_J1326.9+2210_daily_bin384.fits
.....................!
real 191.64
user 187.08
sys 3.98

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/588787/ft1_filtered_4FGL_J1326.9+2210_daily_bin384.fits scfile=/scratch/kocevski/588787/ft2_4FGL_J1326.9+2210_daily_bin384.fits outfile=/scratch/kocevski/588787/cmap_338860801_339120001_4FGL_J1326.9+2210_daily_bin384.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.54
user 0.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .61178E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.331       1.0000         .10000E-03   10000.    
     3 'norm      '    .52095E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    4.0879       1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.0094       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.1157       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.053       1.0000         .10000E-03   10000.    
    15 'Prefactor '    25.142       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .89157       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2558       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=   5827.993     FROM MIGRAD    STATUS=CONVERGED    376 CALLS     1770 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10008E-03    7.6609       -.19167E-05** at limit **
   2  Prefactor     18.323        16.009        .22041E-05    .35815E-05
   3  norm          .10008E-03    2.5794        .27780E-06** at limit **
   4  norm          4.0866        5.5331        .37125E-05   -.38155E-03
   5  norm          .10000E-03    2.7091       -.30006E-06** at limit **
   6  norm          .10000E-03    7.0931       -.14856E-05** at limit **
   7  Prefactor     .10000E-03    16.135       -.35932E-05** at limit **
   8  norm          3.0106        6.6964       -.96762E-06   -.38029E-03
   9  Prefactor     .10000E-03    12.910        .43004E-05** at limit **
  10  norm          4.1148        8.3346       -.20045E-06   -.17044E-03
  11  Prefactor     .10000E-03    7.4885        .25507E-05** at limit **
  12  Prefactor     .10000E-03    9.5402       -.21229E-05** at limit **
  13  Prefactor     .10000E-03    24.304        .12772E-05** at limit **
  14  Prefactor     10.051        5.2765       -.25468E-05   -.96246E-04
  15  Prefactor     25.131        20.136       -.23668E-05   -.73327E-05
  16  Prefactor     .10000E-03    4.3210       -.72186E-07** at limit **
  17  Normalizat    .89192        .19958       -.19583E-05    .19802E-03
  18  Prefactor     1.2557        .18168        .13632E-05    .52661E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100076
  Prefactor  = 18.3226
  norm       = 0.000100077
  norm       = 4.08661
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.01063
  Prefactor  = 0.0001
  norm       = 4.11475
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.0514
  Prefactor  = 25.131
  Prefactor  = 0.0001
  Normalizat = 0.891918
  Prefactor  = 1.25565
 **********
 **   18 **HESSE 
 **********

 FCN=   5827.993     FROM HESSE     STATUS=OK           252 CALLS     2022 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10008E-03    26.803        .39074E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.323        16.006        .93546E-04   -1.4852    
   3  norm          .10008E-03    6.6495        .38014E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.0866        5.4061        .19018E-03   -1.5304    
   5  norm          .10000E-03    2.7141        .12271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    7.0940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    16.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.0106        6.6616        .23397E-03   -1.5361    
   9  Prefactor     .10000E-03    12.920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.1148        8.2573        .19871E-03   -1.5302    
  11  Prefactor     .10000E-03    7.5127        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.5474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    24.317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.051        5.3307        .12311E-03   -1.5074    
  15  Prefactor     25.131        20.178        .79890E-04   -1.4705    
  16  Prefactor     .10000E-03    4.3342        .15496E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .89192        .23219        .27874E-03   -.96745    
  18  Prefactor     1.2557        .21285        .23136E-03   -.84635    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.42868e-09
Minuit parameter uncertainties:
  1  0.00285509
  2  16.0101
  3  0.00142982
  4  5.40676
  5  3.08389e-05
  6  5.74128e-06
  7  0.000173375
  8  6.66321
  9  1.23438e-06
  10  8.25959
  11  5.60327e-06
  12  1.10445e-05
  13  9.91306e-06
  14  5.331
  15  20.1834
  16  6.35474e-06
  17  0.232447
  18  0.212999
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  4.115e+00  8.260e+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.256e+00  2.130e-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:  8.919e-01  2.324e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.35
Ra Dec: 201.730 22.173
Photon Flux Upper Limit: 9.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.08e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/588787/likelihoodResults_338860801_339120001_4FGL_J1326.9+2210_daily_bin384.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): 0
logL (Free Index) = 5827.95162786
delta logL = 0.0409269207157

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5827.94726334
delta logL = 0.0452914400548

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7954       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9488       1.0000          .0000       5.0000    
     3 'Normalizat'    .89912       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2497       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=   5827.947     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      205 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 61.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7945        7.2280       -.38264E-05    .11114E-02
   2  alpha         1.9497        .89065        .34112E-04    .14782E-03
   3  Normalizat    .89912        .18522       -.36882E-06   -.11906E-03
   4  Prefactor     1.2496        .17968        .56798E-06   -.14734E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.79448
  alpha      = 1.94969
  Normalizat = 0.899123
  Prefactor  = 1.2496
 **********
 **   18 **HESSE 
 **********

 FCN=   5827.947     FROM HESSE     STATUS=OK            31 CALLS      236 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7945        8.3348        .18372E-03   -1.5270    
   2  alpha         1.9497        1.2078        .30465E-01   -.22194    
   3  Normalizat    .89912        .21645        .27770E-03   -.96491    
   4  Prefactor     1.2496        .20986        .23181E-03   -.84818    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.71182e-09
Minuit parameter uncertainties:
  1  8.33684
  2  1.26364
  3  0.216661
  4  0.209997
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/588787': 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) = 5827.94726275
delta logL = 0.0452920306134

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  4.794e+00  8.337e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  1.950e+00  1.264e+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.250e+00  2.100e-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:  8.991e-01  2.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.35
Ra Dec: 201.730 22.173

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/588787/cmap_HighResolution_338860801_339120001_4FGL_J1326.9+2210_daily_bin384.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.08e-05', job_status='DONE', photon_flux_upper_limit='9.83e-08', time_completed='2021-09-07 18:33:15.636408', job_id='588787', GAL2='1.25', fit_tolerance='1e-08', EG2='0.90', EG='0.89', time_epoch_completed='1631064795.64', return_code2='0', ts='0.35', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='4.53e-02', ts2='0.44', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='384' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:33:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 588787: <4FGL_J1326.9+2210_daily_bin384> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin384> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep  7 18:20:44 2021
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:21:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep  7 18:21:01 2021
Terminated at Tue Sep  7 18:33:16 2021
Results reported at Tue Sep  7 18:33:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin384 201.73 22.1732 338860801 339120001 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 :                                   536.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            752 sec.

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

