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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin918
RA = 201.73, Dec = 22.1732
tmin = 477273601, tmax = 477532801
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='592769', job_status='RUN', time_executed='2021-09-07 18:39:35.327071', time_epoch_executed='1631065175.33' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='918'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592769

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592769/ft1_4FGL_J1326.9+2210_daily_bin918.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592769/ft2_4FGL_J1326.9+2210_daily_bin918.fits


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

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

Done.
real 4.11
user 3.35
sys 0.29

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592769/ft1_filtered_4FGL_J1326.9+2210_daily_bin918.fits" evtable="EVENTS" scfile=/scratch/kocevski/592769/ft2_4FGL_J1326.9+2210_daily_bin918.fits sctable="SC_DATA" outfile=/scratch/kocevski/592769/ltcube_477273601_477532801_4FGL_J1326.9+2210_daily_bin918.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/592769/ft2_4FGL_J1326.9+2210_daily_bin918.fits
.....................!
real 14.73
user 14.32
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592769/ft1_filtered_4FGL_J1326.9+2210_daily_bin918.fits evtable="EVENTS" scfile=/scratch/kocevski/592769/ft2_4FGL_J1326.9+2210_daily_bin918.fits sctable="SC_DATA" expcube=/scratch/kocevski/592769/ltcube_477273601_477532801_4FGL_J1326.9+2210_daily_bin918.fits outfile=/scratch/kocevski/592769/expmap_477273601_477532801_4FGL_J1326.9+2210_daily_bin918.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/592769/ltcube_477273601_477532801_4FGL_J1326.9+2210_daily_bin918.fits
.....................!
real 191.62
user 186.41
sys 4.64

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/592769/ft1_filtered_4FGL_J1326.9+2210_daily_bin918.fits scfile=/scratch/kocevski/592769/ft2_4FGL_J1326.9+2210_daily_bin918.fits outfile=/scratch/kocevski/592769/cmap_477273601_477532801_4FGL_J1326.9+2210_daily_bin918.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592769/ft1_filtered_4FGL_J1326.9+2210_daily_bin918.fits scfile=/scratch/kocevski/592769/ft2_4FGL_J1326.9+2210_daily_bin918.fits outfile=/scratch/kocevski/592769/cmap_HighResolution_477273601_477532801_4FGL_J1326.9+2210_daily_bin918.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/592769/ft1_filtered_4FGL_J1326.9+2210_daily_bin918.fits evtable="EVENTS" scfile=/scratch/kocevski/592769/ft2_4FGL_J1326.9+2210_daily_bin918.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/592769/Model_4FGL_J1326.9+2210_daily_bin918.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/592769/ft1_filtered_4FGL_J1326.9+2210_daily_bin918.fits.....................!
real 52.13
user 50.75
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5034       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.1043       1.0000         .10000E-03   10000.    
     3 'norm      '    1.1282       1.0000         .10000E-03   10000.    
     4 'norm      '    .22855E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.3483       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.7537       1.0000         .10000E-03   10000.    
     8 'norm      '    5.6837       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10409E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.0415       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.4833       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.9501       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.5918       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0264       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0102       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=   6511.998     FROM MIGRAD    STATUS=CONVERGED    356 CALLS     1496 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5033        8.2962        .54001E-02    .58797E-03
   2  Prefactor     8.1119        15.501        .35209E-02    .91227E-03
   3  norm          1.1239        3.3840        .11009E-01    .11349E-02
   4  norm          .10000E-03    2.1485        .37441E-01** at limit **
   5  norm          .10000E-03    2.0527        .90712E-02** at limit **
   6  norm          2.2874        31.935        .66876E-02    .18681E-03
   7  Prefactor     3.7371        9.1458        .52098E-02   -.88097E-03
   8  norm          5.6837        5.2659        .42122E-02    .31411E-03
   9  Prefactor     .10001E-03    22.514        .90712E-02** at limit **
  10  norm          .10000E-03    5.5269        .90712E-02** at limit **
  11  Prefactor     3.0263        20.638        .58164E-02   -.19220E-03
  12  Prefactor     .10000E-03    6.4653        .90712E-02** at limit **
  13  Prefactor     .10001E-03    21.390        .90712E-02** at limit **
  14  Prefactor     1.4828        3.3115        .88074E-02    .11420E-02
  15  Prefactor     4.9590        12.633        .45191E-02    .71125E-03
  16  Prefactor     4.5911        8.9711        .46960E-02    .43670E-03
  17  Normalizat    1.0266        .17552        .42538E-01    .10538E-03
  18  Prefactor     1.0100        .16340        .43294E-01    .86046E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.50332
  Prefactor  = 8.11191
  norm       = 1.12393
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.2874
  Prefactor  = 3.73707
  norm       = 5.68375
  Prefactor  = 0.000100013
  norm       = 0.0001
  Prefactor  = 3.02626
  Prefactor  = 0.0001
  Prefactor  = 0.000100013
  Prefactor  = 1.48282
  Prefactor  = 4.95903
  Prefactor  = 4.59113
  Normalizat = 1.02657
  Prefactor  = 1.01003
 **********
 **   18 **HESSE 
 **********

 FCN=   6511.998     FROM HESSE     STATUS=OK           252 CALLS     1748 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5033        8.2462        .21600E-03   -1.5334    
   2  Prefactor     8.1119        15.511        .14084E-03   -1.5138    
   3  norm          1.1239        3.3196        .23928E-03   -1.5496    
   4  norm          .10000E-03    5.5104        .22820E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.0589        .11283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.2874        31.461        .26751E-03   -1.5405    
   7  Prefactor     3.7371        9.0982        .20839E-03   -1.5321    
   8  norm          5.6837        5.2513        .16849E-03   -1.5231    
   9  Prefactor     .10001E-03    22.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    5.5802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.0263        20.694        .23265E-03   -1.5360    
  12  Prefactor     .10000E-03    6.4690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    21.408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.4828        3.2941        .20960E-03   -1.5464    
  15  Prefactor     4.9590        12.631        .18077E-03   -1.5263    
  16  Prefactor     4.5911        8.9571        .18784E-03   -1.5279    
  17  Normalizat    1.0266        .20432        .24187E-03   -.92146    
  18  Prefactor     1.0100        .19136        .23523E-03   -.92396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.75933e-09
Minuit parameter uncertainties:
  1  8.24886
  2  15.5184
  3  3.32017
  4  5.68606e-06
  5  5.93087e-06
  6  16.9769
  7  9.10156
  8  5.25174
  9  0.00109053
  10  2.11744e-05
  11  15.8348
  12  1.77532e-06
  13  0.00106541
  14  3.29451
  15  12.638
  16  8.95976
  17  0.204478
  18  0.191485
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.000e-04  2.117e-05  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.010e+00  1.915e-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.027e+00  2.045e-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.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.98e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/592769/likelihoodResults_477273601_477532801_4FGL_J1326.9+2210_daily_bin918.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) = 6511.99933476
delta logL = -0.000854154518493

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6511.99848084
delta logL = -2.28806129599e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10118E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3834       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0265       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0101       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=   6511.998     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      225 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    1149.7        .18142E-02** at limit **
   2  alpha         2.3940        3.7817        .16483       -.30851E-06
   3  Normalizat    1.0266        .10623        .24187E-03    .63925E-05
   4  Prefactor     1.0100        .10304        .23523E-03    .57030E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100007
  alpha      = 2.39398
  Normalizat = 1.02657
  Prefactor  = 1.01003
 **********
 **   18 **HESSE 
 **********

 FCN=   6511.998     FROM HESSE     STATUS=OK            23 CALLS      248 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    5.5837        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3940        3.1624        .65933E-02   -.42420E-01
   3  Normalizat    1.0266        .19277        .96747E-05   -.92146    
   4  Prefactor     1.0100        .18706        .94090E-05   -.92396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67552e-09
Minuit parameter uncertainties:
  1  0.000390969
  2  307.196
  3  0.192904
  4  0.187183
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592769': 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) = 6511.99848061
delta logL = 1.44154910231e-09

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.000e-04  3.910e-04  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.394e+00  3.072e+02  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.010e+00  1.872e-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.027e+00  1.929e-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/592769/cmap_HighResolution_477273601_477532801_4FGL_J1326.9+2210_daily_bin918.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.98e-05', job_status='DONE', photon_flux_upper_limit='6.34e-08', time_completed='2021-09-07 18:48:36.344632', job_id='592769', GAL2='1.01', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1631065716.34', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.44e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='918' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:48:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 592769: <4FGL_J1326.9+2210_daily_bin918> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin918> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Sep  7 18:35:17 2021
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:35:28 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:35:28 2021
Terminated at Tue Sep  7 18:48:36 2021
Results reported at Tue Sep  7 18:48:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin918 201.73 22.1732 477273601 477532801 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 :                                   539.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             250.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            799 sec.

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

