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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin362
RA = 201.73, Dec = 22.1732
tmin = 333158401, tmax = 333417601
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='588753', job_status='RUN', time_executed='2021-09-07 18:24:20.267930', time_epoch_executed='1631064260.27' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='362'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/588753

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

Retrieving the FT1 file...

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

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

Retrieving 51 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/588753/ft1_4FGL_J1326.9+2210_daily_bin362.fits


Retrieving the FT1 file...

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

Retrieving 51 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/588753/ft2_4FGL_J1326.9+2210_daily_bin362.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/588753/ft1_4FGL_J1326.9+2210_daily_bin362.fits outfile=/scratch/kocevski/588753/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin362.fits ra=201.73 dec=22.1732 rad=12.0 tmin=333158401.0 tmax=333417601.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 6.19
user 5.83
sys 0.27

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/588753/ft1_filtered_4FGL_J1326.9+2210_daily_bin362.fits evtable="EVENTS" scfile=/scratch/kocevski/588753/ft2_4FGL_J1326.9+2210_daily_bin362.fits sctable="SC_DATA" expcube=/scratch/kocevski/588753/ltcube_333158401_333417601_4FGL_J1326.9+2210_daily_bin362.fits outfile=/scratch/kocevski/588753/expmap_333158401_333417601_4FGL_J1326.9+2210_daily_bin362.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/588753/ltcube_333158401_333417601_4FGL_J1326.9+2210_daily_bin362.fits
.....................!
real 192.86
user 186.47
sys 4.67

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/588753/ft1_filtered_4FGL_J1326.9+2210_daily_bin362.fits scfile=/scratch/kocevski/588753/ft2_4FGL_J1326.9+2210_daily_bin362.fits outfile=/scratch/kocevski/588753/cmap_333158401_333417601_4FGL_J1326.9+2210_daily_bin362.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/588753/ft1_filtered_4FGL_J1326.9+2210_daily_bin362.fits scfile=/scratch/kocevski/588753/ft2_4FGL_J1326.9+2210_daily_bin362.fits outfile=/scratch/kocevski/588753/cmap_HighResolution_333158401_333417601_4FGL_J1326.9+2210_daily_bin362.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.61
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.657       1.0000         .10000E-03   10000.    
     3 'norm      '    1.0817       1.0000         .10000E-03   10000.    
     4 'norm      '    .36833       1.0000         .10000E-03   10000.    
     5 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10078E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .31183E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.1817       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .50968E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    27.003       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.6726       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.9405       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .50249E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1192       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .81448       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=   4951.259     FROM MIGRAD    STATUS=CONVERGED    630 CALLS     2032 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.3958        .12633E-02** at limit **
   2  Prefactor     13.657        12.496        .54193E-03   -.10741E-04
   3  norm          1.0778        2.4004        .18319E-02    .60106E-03
   4  norm          .36459        7.3360        .20165E-02    .16825E-03
   5  norm          .10000E-03    4.3412        .14210E-02** at limit **
   6  norm          .10000E-03    12.195        .18142E-02** at limit **
   7  Prefactor     .10003E-03    116.84        .44793E-02** at limit **
   8  norm          1.1814        17.929        .21019E-02   -.59591E-03
   9  Prefactor     .10001E-03    20.679        .10859    ** at limit **
  10  norm          27.013        14.456        .77094E-04    .50138E-04
  11  Prefactor     .10000E-03    8.0995        .18142E-02** at limit **
  12  Prefactor     .10000E-03    11.509        .18142E-02** at limit **
  13  Prefactor     .10000E-03    56.536        .18142E-02** at limit **
  14  Prefactor     6.6728        4.5886        .11928E-03    .18280E-03
  15  Prefactor     8.9405        10.987        .67024E-03    .22458E-04
  16  Prefactor     .10000E-03    75.833        .36144E-02** at limit **
  17  Normalizat    1.1193        .21932        .22415E-03    .37116E-03
  18  Prefactor     .81442        .20433        .24949E-03    .46610E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 13.6569
  norm       = 1.07784
  norm       = 0.364587
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100032
  norm       = 1.1814
  Prefactor  = 0.000100008
  norm       = 27.013
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.67276
  Prefactor  = 8.94054
  Prefactor  = 0.0001
  Normalizat = 1.11928
  Prefactor  = 0.814424
 **********
 **   18 **HESSE 
 **********

 FCN=   4951.259     FROM HESSE     STATUS=OK           240 CALLS     2272 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.3961        .25265E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.657        12.495        .21677E-04   -1.4969    
   3  norm          1.0778        2.3976        .73277E-04   -1.5500    
   4  norm          .36459        7.2905        .80659E-04   -1.5587    
   5  norm          .10000E-03    4.3412        .28420E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    12.196        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10003E-03    119.57        .17917E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.1814        17.427        .84075E-04   -1.5491    
   9  Prefactor     .10001E-03    20.750        .10824       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          27.013        14.285        .30837E-05   -1.4668    
  11  Prefactor     .10000E-03    8.1007        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.510        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    56.545        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.6728        4.5879        .47713E-05   -1.5191    
  15  Prefactor     8.9405        10.986        .26810E-04   -1.5110    
  16  Prefactor     .10000E-03    77.028        .72287E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1193        .21878        .44829E-04   -.89135    
  18  Prefactor     .81442        .20437        .49899E-04   -.99199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.71813e-09
Minuit parameter uncertainties:
  1  2.6885e-05
  2  12.4971
  3  2.39786
  4  3.2607
  5  7.85406e-06
  6  3.03054e-05
  7  0.00393294
  8  9.07756
  9  0.00083513
  10  14.2871
  11  2.79266e-05
  12  5.12548e-05
  13  0.000317557
  14  4.5881
  15  10.9883
  16  0.00036146
  17  0.218959
  18  0.204565
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  2.701e+01  1.429e+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.144e-01  2.046e-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.119e+00  2.190e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.06
Ra Dec: 201.730 22.173
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 1.10e-07 +/- 5.80e-08
Energy Flux (Fixed Index): 3.44e-05 +/- 1.82e-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) = 4951.14414049
delta logL = 0.114791125831

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4951.14095181
delta logL = 0.117979801906

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    23.905       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7090       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0820       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83851       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=   4951.141     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      289 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          23.910        16.127        .81928E-04   -.23604E-02
   2  alpha         2.7100        .76412        .10902E-01   -.31772E-03
   3  Normalizat    1.0818        .22617        .22736E-03   -.58703E-04
   4  Prefactor     .83870        .20998        .24631E-03    .62436E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 23.9098
  alpha      = 2.70999
  Normalizat = 1.08177
  Prefactor  = 0.838696
 **********
 **   18 **HESSE 
 **********

 FCN=   4951.141     FROM HESSE     STATUS=OK            23 CALLS      312 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          23.910        15.055        .16386E-04   -1.4730    
   2  alpha         2.7100        .71362        .43607E-03    .84095E-01
   3  Normalizat    1.0818        .22523        .90946E-05   -.90339    
   4  Prefactor     .83870        .20929        .49263E-04   -.98317    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.39346e-09
Minuit parameter uncertainties:
  1  15.0576
  2  0.723758
  3  0.225429
  4  0.209487
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/588753': 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) = 4951.14094882
delta logL = 0.117982791553

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  8.387e-01  2.095e-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.082e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.38
Ra Dec: 201.730 22.173
Photon Index (Free Index): 2.71 +/- 0.72
Photon Flux (Free Index): 1.38e-07 +/- 7.90e-08
Energy Flux (Free Index): 3.36e-05 +/- 1.51e-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/588753/cmap_HighResolution_333158401_333417601_4FGL_J1326.9+2210_daily_bin362.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.10e-07', energy_flux2='3.36e-05', photon_flux_error='5.80e-08', dlogl='1.18e-01', energy_flux='3.44e-05', photon_flux2='1.38e-07', job_status='DONE', time_completed='2021-09-07 18:32:50.530938', photon_index_error2='0.72', photon_index2='2.71', ts='8.06', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='1.51e-05', EG='1.12', time_epoch_completed='1631064770.53', return_code='0', job_id='588753', GAL2='0.84', EG2='1.08', return_code2='0', energy_flux_error='1.82e-05', photon_flux_error2='7.90e-08', ts2='8.38', photon_index='2.38' WHERE bin_id='362' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:32:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 588753: <4FGL_J1326.9+2210_daily_bin362> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin362 201.73 22.1732 333158401 333417601 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 :                                   503.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             266.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   714 sec.
    Turnaround time :                            730 sec.

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

