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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin544
RA = 201.73, Dec = 22.1732
tmin = 380332801, tmax = 380592001
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='590078', job_status='RUN', time_executed='2021-09-07 18:29:32.856573', time_epoch_executed='1631064572.86' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='544'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590078

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590078/ft1_4FGL_J1326.9+2210_daily_bin544.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590078/ft2_4FGL_J1326.9+2210_daily_bin544.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590078/ft1_4FGL_J1326.9+2210_daily_bin544.fits outfile=/scratch/kocevski/590078/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin544.fits ra=201.73 dec=22.1732 rad=12.0 tmin=380332801.0 tmax=380592001.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.49
user 3.24
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/590078/ft2_4FGL_J1326.9+2210_daily_bin544.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/590078/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin544.fits evtable="EVENTS" outfile="/scratch/kocevski/590078/ft1_filtered_4FGL_J1326.9+2210_daily_bin544.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/590078/ft1_filtered_4FGL_J1326.9+2210_daily_bin544.fits" evtable="EVENTS" scfile=/scratch/kocevski/590078/ft2_4FGL_J1326.9+2210_daily_bin544.fits sctable="SC_DATA" outfile=/scratch/kocevski/590078/ltcube_380332801_380592001_4FGL_J1326.9+2210_daily_bin544.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/590078/ft2_4FGL_J1326.9+2210_daily_bin544.fits
.....................!
real 13.46
user 12.96
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590078/ft1_filtered_4FGL_J1326.9+2210_daily_bin544.fits evtable="EVENTS" scfile=/scratch/kocevski/590078/ft2_4FGL_J1326.9+2210_daily_bin544.fits sctable="SC_DATA" expcube=/scratch/kocevski/590078/ltcube_380332801_380592001_4FGL_J1326.9+2210_daily_bin544.fits outfile=/scratch/kocevski/590078/expmap_380332801_380592001_4FGL_J1326.9+2210_daily_bin544.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/590078/ltcube_380332801_380592001_4FGL_J1326.9+2210_daily_bin544.fits
.....................!
real 190.05
user 185.26
sys 4.21

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/590078/ft1_filtered_4FGL_J1326.9+2210_daily_bin544.fits scfile=/scratch/kocevski/590078/ft2_4FGL_J1326.9+2210_daily_bin544.fits outfile=/scratch/kocevski/590078/cmap_380332801_380592001_4FGL_J1326.9+2210_daily_bin544.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/590078/ft1_filtered_4FGL_J1326.9+2210_daily_bin544.fits scfile=/scratch/kocevski/590078/ft2_4FGL_J1326.9+2210_daily_bin544.fits outfile=/scratch/kocevski/590078/cmap_HighResolution_380332801_380592001_4FGL_J1326.9+2210_daily_bin544.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.186       1.0000         .10000E-03   10000.    
     3 'norm      '    6.2763       1.0000         .10000E-03   10000.    
     4 'norm      '    6.5470       1.0000         .10000E-03   10000.    
     5 'norm      '    .10077E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    33.014       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.899       1.0000         .10000E-03   10000.    
     8 'norm      '    10.592       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.656       1.0000         .10000E-03   10000.    
    13 'Prefactor '    42.602       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .21697E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.178       1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.851       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .96292       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0841       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=   7047.155     FROM MIGRAD    STATUS=CONVERGED    334 CALLS     1455 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.7457       -.14894E-05** at limit **
   2  Prefactor     19.187        16.152       -.29989E-06   -.11681E-04
   3  norm          6.2764        3.6225       -.68989E-06   -.12019E-04
   4  norm          6.5466        4.6016       -.14960E-05   -.47473E-03
   5  norm          .10000E-03    3.7654        .16403E-05** at limit **
   6  norm          33.015        19.854        .28842E-06    .79525E-05
   7  Prefactor     11.897        14.429       -.16784E-05   -.22058E-04
   8  norm          10.592        6.4375       -.27094E-07   -.31914E-04
   9  Prefactor     .10000E-03    14.836       -.98937E-06** at limit **
  10  norm          .10000E-03    3.4421        .17561E-06** at limit **
  11  Prefactor     .10000E-03    9.3159        .50981E-05** at limit **
  12  Prefactor     23.653        18.963       -.35263E-05    .11184E-04
  13  Prefactor     42.604        35.084        .28491E-05    .13994E-05
  14  Prefactor     .10003E-03    1.8348       -.93616E-06** at limit **
  15  Prefactor     20.178        16.637        .37950E-07   -.12329E-04
  16  Prefactor     15.850        14.267       -.15200E-05   -.18796E-04
  17  Normalizat    .96304        .18087        .24354E-05    .49729E-04
  18  Prefactor     1.0840        .16397       -.60837E-06    .21096E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 19.187
  norm       = 6.27639
  norm       = 6.54664
  norm       = 0.0001
  norm       = 33.0148
  Prefactor  = 11.8971
  norm       = 10.5921
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.6526
  Prefactor  = 42.6043
  Prefactor  = 0.00010003
  Prefactor  = 20.1784
  Prefactor  = 15.8503
  Normalizat = 0.963038
  Prefactor  = 1.08396
 **********
 **   18 **HESSE 
 **********

 FCN=   7047.155     FROM HESSE     STATUS=OK           246 CALLS     1701 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.8035        .15850E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.187        16.161        .91438E-04   -1.4832    
   3  norm          6.2764        3.6206        .11684E-03   -1.5207    
   4  norm          6.5466        4.6726        .14151E-03   -1.5196    
   5  norm          .10000E-03    3.8331        .15992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          33.015        19.851        .34870E-03   -1.4558    
   7  Prefactor     11.897        14.401        .11613E-03   -1.5018    
   8  norm          10.592        6.4401        .12311E-03   -1.5057    
   9  Prefactor     .10000E-03    14.856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.4577        .15201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.3508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.653        18.951        .82358E-04   -1.4735    
  13  Prefactor     42.604        35.038        .61419E-04   -1.4402    
  14  Prefactor     .10003E-03    8.5839        .21540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     20.178        16.633        .89165E-04   -1.4809    
  16  Prefactor     15.850        14.290        .10060E-03   -1.4912    
  17  Normalizat    .96304        .20960        .26735E-03   -.94279    
  18  Prefactor     1.0840        .19244        .24381E-03   -.89981    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.62569e-09
Minuit parameter uncertainties:
  1  1.79537e-06
  2  16.1651
  3  3.62075
  4  4.67287
  5  4.81971e-05
  6  19.8552
  7  14.4048
  8  6.44056
  9  1.20494e-05
  10  2.80156e-06
  11  2.58575e-05
  12  18.956
  13  35.0545
  14  0.00101202
  15  16.6371
  16  14.2928
  17  0.209779
  18  0.192564
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.000e-04  2.802e-06  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.084e+00  1.926e-01  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
540   Normalization:  9.630e-01  2.098e-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: 5.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.79e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/590078/likelihoodResults_380332801_380592001_4FGL_J1326.9+2210_daily_bin544.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) = 7047.15590225
delta logL = -0.00137635321425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7047.15452621
delta logL = -3.18368620356e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3879       1.0000          .0000       5.0000    
     3 'Normalizat'    .96320       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0838       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=   7047.150     FROM MIGRAD    STATUS=CONVERGED    190 CALLS      334 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .46567E-01    7.5906        .21956E-01    .13316E-02
   2  alpha         5.0000        4.0361        .50000    ** at limit **
   3  Normalizat    .95592        .27502E-01    .26735E-03   -.54005E-04
   4  Prefactor     1.0881        .25594E-01    .24381E-03   -.89947E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0465674
  alpha      = 5
  Normalizat = 0.955919
  Prefactor  = 1.0881
 **********
 **   18 **HESSE 
 **********

 FCN=   7047.150     FROM HESSE     STATUS=OK            33 CALLS      367 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .46567E-01    1.3938        .77092E-03   -1.5665    
   2  alpha         5.0000        2.7738        .50000        1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .95592        .21519        .10694E-04   -.94522    
   4  Prefactor     1.0881        .19712        .97525E-05   -.89848    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91903e-08
Minuit parameter uncertainties:
  1  0.509006
  2  0.00128386
  3  0.215383
  4  0.197252
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590078': 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) = 7047.15004685
delta logL = 0.00447904366411

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  4.657e-02  5.090e-01  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  5.000e+00  1.284e-03  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.088e+00  1.973e-01  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
540   Normalization:  9.559e-01  2.154e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/590078/cmap_HighResolution_380332801_380592001_4FGL_J1326.9+2210_daily_bin544.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.79e-05', job_status='DONE', photon_flux_upper_limit='5.72e-08', time_completed='2021-09-07 18:39:01.858268', job_id='590078', GAL2='1.09', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1631065141.86', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.48e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='544' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:39:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 590078: <4FGL_J1326.9+2210_daily_bin544> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin544> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Sep  7 18:25:24 2021
Job was executed on host(s) <bullet0287>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:25:52 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:25:52 2021
Terminated at Tue Sep  7 18:39:02 2021
Results reported at Tue Sep  7 18:39:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin544 201.73 22.1732 380332801 380592001 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 :                                   557.47 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             256.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            818 sec.

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

