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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin315
RA = 201.73, Dec = 22.1732
tmin = 320976001, tmax = 321235201
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='588677', job_status='RUN', time_executed='2021-09-07 18:24:07.127597', time_epoch_executed='1631064247.13' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='315'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/588677

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/588677/ft1_4FGL_J1326.9+2210_daily_bin315.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/588677/ft2_4FGL_J1326.9+2210_daily_bin315.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/588677/ft1_4FGL_J1326.9+2210_daily_bin315.fits outfile=/scratch/kocevski/588677/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin315.fits ra=201.73 dec=22.1732 rad=12.0 tmin=320976001.0 tmax=321235201.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.50
user 3.27
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/588677/ft1_filtered_4FGL_J1326.9+2210_daily_bin315.fits evtable="EVENTS" scfile=/scratch/kocevski/588677/ft2_4FGL_J1326.9+2210_daily_bin315.fits sctable="SC_DATA" expcube=/scratch/kocevski/588677/ltcube_320976001_321235201_4FGL_J1326.9+2210_daily_bin315.fits outfile=/scratch/kocevski/588677/expmap_320976001_321235201_4FGL_J1326.9+2210_daily_bin315.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/588677/ltcube_320976001_321235201_4FGL_J1326.9+2210_daily_bin315.fits
.....................!
real 191.59
user 186.26
sys 4.93

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/588677/ft1_filtered_4FGL_J1326.9+2210_daily_bin315.fits scfile=/scratch/kocevski/588677/ft2_4FGL_J1326.9+2210_daily_bin315.fits outfile=/scratch/kocevski/588677/cmap_320976001_321235201_4FGL_J1326.9+2210_daily_bin315.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/588677/ft1_filtered_4FGL_J1326.9+2210_daily_bin315.fits scfile=/scratch/kocevski/588677/ft2_4FGL_J1326.9+2210_daily_bin315.fits outfile=/scratch/kocevski/588677/cmap_HighResolution_320976001_321235201_4FGL_J1326.9+2210_daily_bin315.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46556E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.4144       1.0000         .10000E-03   10000.    
     3 'norm      '    .33023       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10369E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .11851E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    17.755       1.0000         .10000E-03   10000.    
    11 'Prefactor '    30.573       1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.599       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.1470       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    27.059       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3103       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .89969       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=   6184.162     FROM MIGRAD    STATUS=CONVERGED    413 CALLS     1593 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10248E-03    5.8207       -.26868E-06** at limit **
   2  Prefactor     1.4136        38.013        .70842E-05   -.35471E-04
   3  norm          .31105        2.1577        .14166E-06   -.11046E-03
   4  norm          .10000E-03    3.2698       -.28297E-07** at limit **
   5  norm          .10000E-03    2.3808       -.46537E-08** at limit **
   6  norm          .10000E-03    19.932        .13681E-06** at limit **
   7  Prefactor     .10000E-03    16.492       -.93137E-07** at limit **
   8  norm          .10000E-03    5.6129        .12998E-05** at limit **
   9  Prefactor     .10000E-03    15.292        .58313E-07** at limit **
  10  norm          17.783        10.185       -.97485E-06    .59373E-05
  11  Prefactor     30.553        21.495       -.35550E-06   -.13019E-03
  12  Prefactor     18.619        18.265        .48474E-07   -.12777E-04
  13  Prefactor     .10000E-03    28.054        .30712E-08** at limit **
  14  Prefactor     3.1486        5.2410        .24380E-06    .72891E-04
  15  Prefactor     .10000E-03    9.2427        .69562E-07** at limit **
  16  Prefactor     27.045        15.576        .42267E-06    .91687E-04
  17  Normalizat    1.3106        .20191       -.10562E-05   -.15501E-03
  18  Prefactor     .89975        .17801        .73251E-07    .35664E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102484
  Prefactor  = 1.41363
  norm       = 0.311053
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 17.7825
  Prefactor  = 30.5528
  Prefactor  = 18.6192
  Prefactor  = 0.0001
  Prefactor  = 3.14856
  Prefactor  = 0.0001
  Prefactor  = 27.045
  Normalizat = 1.31057
  Prefactor  = 0.899751
 **********
 **   18 **HESSE 
 **********

 FCN=   6184.162     FROM HESSE     STATUS=OK           254 CALLS     1847 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10248E-03    6.9063        .59196E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.4136        38.566        .18204E-02   -1.5470    
   3  norm          .31105        10.028        .21799E-02   -1.5596    
   4  norm          .10000E-03    3.3735        .27741E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.3867        .11849E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    20.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    16.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    16.364        .34074E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    15.312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          17.783        10.441        .95053E-04   -1.4864    
  11  Prefactor     30.553        21.502        .72463E-04   -1.4602    
  12  Prefactor     18.619        18.278        .92871E-04   -1.4845    
  13  Prefactor     .10000E-03    28.082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.1486        5.2473        .21910E-03   -1.5353    
  15  Prefactor     .10000E-03    9.2871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     27.045        15.601        .77013E-04   -1.4667    
  17  Normalizat    1.3106        .23695        .24616E-03   -.83251    
  18  Prefactor     .89975        .20892        .27000E-03   -.96150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65654e-08
Minuit parameter uncertainties:
  1  0.00828527
  2  14.7772
  3  3.53231
  4  2.07986e-05
  5  3.41576e-06
  6  2.33633e-05
  7  8.91664e-05
  8  5.27546e-05
  9  8.01441e-06
  10  10.4425
  11  21.5076
  12  18.2835
  13  9.99009e-07
  14  5.24811
  15  1.19555e-05
  16  15.6032
  17  0.237151
  18  0.20911
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.778e+01  1.044e+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:  8.998e-01  2.091e-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.311e+00  2.372e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.85
Ra Dec: 201.730 22.173
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 7.23e-08 +/- 4.24e-08
Energy Flux (Fixed Index): 2.26e-05 +/- 1.33e-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) = 6183.73817597
delta logL = 0.424066369233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6183.73144814
delta logL = 0.430794198938

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.972       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0280       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2626       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93193       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6183.731     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      287 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.971        11.226        .11121E-03    .12572E-02
   2  alpha         3.0278        .79001        .13076E-01    .12818E-03
   3  Normalizat    1.2626        .23089        .24995E-03   -.21090E-03
   4  Prefactor     .93197        .21094        .26581E-03   -.33275E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 12.971
  alpha      = 3.02782
  Normalizat = 1.26261
  Prefactor  = 0.931971
 **********
 **   18 **HESSE 
 **********

 FCN=   6183.731     FROM HESSE     STATUS=OK            25 CALLS      312 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.971        10.375        .44486E-05   -1.4988    
   2  alpha         3.0278        .73129        .52304E-03    .21273    
   3  Normalizat    1.2626        .23065        .49990E-04   -.84690    
   4  Prefactor     .93197        .21070        .53161E-04   -.95033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.47823e-10
Minuit parameter uncertainties:
  1  10.3765
  2  0.742668
  3  0.230839
  4  0.21088
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/588677': 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) = 6183.73144788
delta logL = 0.430794460025

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.297e+01  1.038e+01  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  3.028e+00  7.427e-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.320e-01  2.109e-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.263e+00  2.308e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.78
Ra Dec: 201.730 22.173
Photon Index (Free Index): 3.03 +/- 0.74
Photon Flux (Free Index): 1.09e-07 +/- 6.58e-08
Energy Flux (Free Index): 2.24e-05 +/- 1.17e-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/588677/cmap_HighResolution_320976001_321235201_4FGL_J1326.9+2210_daily_bin315.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.23e-08', energy_flux2='2.24e-05', photon_flux_error='4.24e-08', dlogl='4.31e-01', energy_flux='2.26e-05', photon_flux2='1.09e-07', job_status='DONE', time_completed='2021-09-07 18:32:34.004257', photon_index_error2='0.74', photon_index2='3.03', ts='4.85', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='1.17e-05', EG='1.31', time_epoch_completed='1631064754.0', return_code='0', job_id='588677', GAL2='0.93', EG2='1.26', return_code2='0', energy_flux_error='1.33e-05', photon_flux_error2='6.58e-08', ts2='5.78', photon_index='2.38' WHERE bin_id='315' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:32:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 588677: <4FGL_J1326.9+2210_daily_bin315> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin315 201.73 22.1732 320976001 321235201 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 :                                   506.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             251.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            719 sec.

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

