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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin1068
RA = 201.73, Dec = 22.1732
tmin = 516153601, tmax = 516412801
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='593012', job_status='RUN', time_executed='2021-09-07 18:37:53.909225', time_epoch_executed='1631065073.91' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='1068'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/593012

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/593012/ft1_4FGL_J1326.9+2210_daily_bin1068.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/593012/ft2_4FGL_J1326.9+2210_daily_bin1068.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/593012/ft1_4FGL_J1326.9+2210_daily_bin1068.fits outfile=/scratch/kocevski/593012/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin1068.fits ra=201.73 dec=22.1732 rad=12.0 tmin=516153601.0 tmax=516412801.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.57
user 3.30
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/593012/ft2_4FGL_J1326.9+2210_daily_bin1068.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/593012/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin1068.fits evtable="EVENTS" outfile="/scratch/kocevski/593012/ft1_filtered_4FGL_J1326.9+2210_daily_bin1068.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/593012/ft1_filtered_4FGL_J1326.9+2210_daily_bin1068.fits evtable="EVENTS" scfile=/scratch/kocevski/593012/ft2_4FGL_J1326.9+2210_daily_bin1068.fits sctable="SC_DATA" expcube=/scratch/kocevski/593012/ltcube_516153601_516412801_4FGL_J1326.9+2210_daily_bin1068.fits outfile=/scratch/kocevski/593012/expmap_516153601_516412801_4FGL_J1326.9+2210_daily_bin1068.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/593012/ltcube_516153601_516412801_4FGL_J1326.9+2210_daily_bin1068.fits
.....................!
real 192.92
user 186.79
sys 5.47

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/593012/ft1_filtered_4FGL_J1326.9+2210_daily_bin1068.fits scfile=/scratch/kocevski/593012/ft2_4FGL_J1326.9+2210_daily_bin1068.fits outfile=/scratch/kocevski/593012/cmap_516153601_516412801_4FGL_J1326.9+2210_daily_bin1068.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.58
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/593012/ft1_filtered_4FGL_J1326.9+2210_daily_bin1068.fits scfile=/scratch/kocevski/593012/ft2_4FGL_J1326.9+2210_daily_bin1068.fits outfile=/scratch/kocevski/593012/cmap_HighResolution_516153601_516412801_4FGL_J1326.9+2210_daily_bin1068.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.58
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    33.553       1.0000         .10000E-03   10000.    
     3 'norm      '    3.4206       1.0000         .10000E-03   10000.    
     4 'norm      '    1.1222       1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    7.3060       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.0059       1.0000         .10000E-03   10000.    
     9 'Prefactor '    128.93       1.0000         .10000E-03   10000.    
    10 'norm      '    .85419E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.4337       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.665       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.9205       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.355       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1688       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .84141       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=   5701.707     FROM MIGRAD    STATUS=CONVERGED    366 CALLS     1848 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.4110       -.28136E-06** at limit **
   2  Prefactor     33.550        15.954       -.96960E-06    .15822E-03
   3  norm          3.4205        3.0312       -.11610E-06   -.11089E-03
   4  norm          1.1210        2.6577       -.71457E-06   -.81044E-03
   5  norm          .10000E-03    5.0747        .13158E-06** at limit **
   6  norm          7.3053        14.345       -.10082E-05    .57733E-04
   7  Prefactor     .10000E-03    7.3286        .19636E-06** at limit **
   8  norm          1.0141        4.8529       -.21180E-05   -.95775E-03
   9  Prefactor     128.93        54.972       -.44861E-05    .28738E-03
  10  norm          .56955E-01    5.9901       -.53021E-07   -.25349E-04
  11  Prefactor     5.4321        7.8509        .74685E-07   -.83228E-04
  12  Prefactor     .10000E-03    9.0525       -.14304E-06** at limit **
  13  Prefactor     22.655        59.268       -.18142E-04    .18321E-03
  14  Prefactor     .10000E-03    3.1425       -.92862E-07** at limit **
  15  Prefactor     2.9145        32.710       -.87038E-05    .23553E-04
  16  Prefactor     17.353        12.280        .17785E-05   -.29072E-03
  17  Normalizat    1.1689        .18367        .58393E-06    .17692E-03
  18  Prefactor     .84137        .18202        .21584E-05    .74409E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 33.5505
  norm       = 3.42049
  norm       = 1.12103
  norm       = 0.0001
  norm       = 7.30526
  Prefactor  = 0.0001
  norm       = 1.01414
  Prefactor  = 128.925
  norm       = 0.0569553
  Prefactor  = 5.4321
  Prefactor  = 0.0001
  Prefactor  = 22.6552
  Prefactor  = 0.0001
  Prefactor  = 2.91449
  Prefactor  = 17.3526
  Normalizat = 1.16891
  Prefactor  = 0.841371
 **********
 **   18 **HESSE 
 **********

 FCN=   5701.707     FROM HESSE     STATUS=OK           254 CALLS     2102 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.5366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     33.550        15.975        .69179E-04   -1.4549    
   3  norm          3.4205        3.0272        .11947E-03   -1.5338    
   4  norm          1.1210        2.6345        .18363E-03   -1.5496    
   5  norm          .10000E-03    5.1632        .32946E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.3053        14.247        .14839E-03   -1.5167    
   7  Prefactor     .10000E-03    7.4053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.0141        5.3084        .31337E-03   -1.5507    
   9  Prefactor     128.93        54.561        .35457E-04   -1.3432    
  10  norm          .56955E-01    6.3210        .53132E-01   -1.5660    
  11  Prefactor     5.4321        7.8564        .17238E-03   -1.5242    
  12  Prefactor     .10000E-03    9.0731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.655        57.809        .84136E-04   -1.4756    
  14  Prefactor     .10000E-03    3.2869        .26122E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.9145        33.078        .23772E-03   -1.5367    
  16  Prefactor     17.353        12.190        .96140E-04   -1.4875    
  17  Normalizat    1.1689        .21142        .22536E-03   -.87569    
  18  Prefactor     .84137        .20813        .25941E-03   -.98221    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.8084e-09
Minuit parameter uncertainties:
  1  1.33799e-05
  2  15.9775
  3  3.02735
  4  2.63482
  5  2.44048e-05
  6  14.2534
  7  1.54591e-05
  8  4.64086
  9  54.5819
  10  1.1991
  11  7.8579
  12  7.66422e-06
  13  57.9524
  14  1.84026e-05
  15  19.6507
  16  12.1919
  17  0.211574
  18  0.208326
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  5.696e-02  1.199e+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:  8.414e-01  2.083e-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.169e+00  2.116e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/593012/likelihoodResults_516153601_516412801_4FGL_J1326.9+2210_daily_bin1068.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) = 5701.70358158
delta logL = 0.00368763798451

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5701.67891722
delta logL = 0.028351989743

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .89163       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6297       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1707       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83753       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=   5701.679     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      234 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .89619        6.2557        .12777E-01    .10434E-02
   2  alpha         1.6329        1.6968        .44856       -.10871E-04
   3  Normalizat    1.1705        .17336        .50963E-01    .83122E-04
   4  Prefactor     .83781        .17352        .44204E-01    .28034E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.896188
  alpha      = 1.63291
  Normalizat = 1.17049
  Prefactor  = 0.837809
 **********
 **   18 **HESSE 
 **********

 FCN=   5701.679     FROM HESSE     STATUS=OK            33 CALLS      267 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .89619        4.7295        .31920E-03   -1.5519    
   2  alpha         1.6329        1.8006        .51864E-01   -.35420    
   3  Normalizat    1.1705        .20373        .22532E-03   -.87520    
   4  Prefactor     .83781        .20367        .25990E-03   -.98349    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14717e-10
Minuit parameter uncertainties:
  1  4.11781
  2  2.05304
  3  0.203871
  4  0.203858
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/593012': 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) = 5701.67891468
delta logL = 0.0283545313032

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  8.962e-01  4.118e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  1.633e+00  2.053e+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:  8.378e-01  2.039e-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.170e+00  2.039e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/593012/cmap_HighResolution_516153601_516412801_4FGL_J1326.9+2210_daily_bin1068.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.00e-05', job_status='DONE', photon_flux_upper_limit='6.38e-08', time_completed='2021-09-07 18:47:14.505022', job_id='593012', GAL2='0.84', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1631065634.51', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='2.84e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='1068' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:47:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 593012: <4FGL_J1326.9+2210_daily_bin1068> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin1068 201.73 22.1732 516153601 516412801 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 :                                   554.58 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             350.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   574 sec.
    Turnaround time :                            697 sec.

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

