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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin740
RA = 201.73, Dec = 22.1732
tmin = 431136001, tmax = 431395201
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='591312', job_status='RUN', time_executed='2021-09-07 18:33:59.663049', time_epoch_executed='1631064839.66' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/591312

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/591312/ft1_4FGL_J1326.9+2210_daily_bin740.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/591312/ft2_4FGL_J1326.9+2210_daily_bin740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/591312/ft1_4FGL_J1326.9+2210_daily_bin740.fits outfile=/scratch/kocevski/591312/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin740.fits ra=201.73 dec=22.1732 rad=12.0 tmin=431136001.0 tmax=431395201.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 5.65
user 5.36
sys 0.25

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/591312/ft1_filtered_4FGL_J1326.9+2210_daily_bin740.fits evtable="EVENTS" scfile=/scratch/kocevski/591312/ft2_4FGL_J1326.9+2210_daily_bin740.fits sctable="SC_DATA" expcube=/scratch/kocevski/591312/ltcube_431136001_431395201_4FGL_J1326.9+2210_daily_bin740.fits outfile=/scratch/kocevski/591312/expmap_431136001_431395201_4FGL_J1326.9+2210_daily_bin740.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/591312/ltcube_431136001_431395201_4FGL_J1326.9+2210_daily_bin740.fits
.....................!
real 193.34
user 187.99
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/591312/ft1_filtered_4FGL_J1326.9+2210_daily_bin740.fits scfile=/scratch/kocevski/591312/ft2_4FGL_J1326.9+2210_daily_bin740.fits outfile=/scratch/kocevski/591312/cmap_431136001_431395201_4FGL_J1326.9+2210_daily_bin740.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.57
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/591312/ft1_filtered_4FGL_J1326.9+2210_daily_bin740.fits scfile=/scratch/kocevski/591312/ft2_4FGL_J1326.9+2210_daily_bin740.fits outfile=/scratch/kocevski/591312/cmap_HighResolution_431136001_431395201_4FGL_J1326.9+2210_daily_bin740.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.43
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7213       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.8322       1.0000         .10000E-03   10000.    
     3 'norm      '    2.6104       1.0000         .10000E-03   10000.    
     4 'norm      '    4.1872       1.0000         .10000E-03   10000.    
     5 'norm      '    7.6002       1.0000         .10000E-03   10000.    
     6 'norm      '    10.279       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .24912E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    19.642       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.218       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12128E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.295       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0777       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1873       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=   4687.784     FROM MIGRAD    STATUS=CONVERGED    368 CALLS     1737 TOTAL
                     EDM=   .72E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7208        15.847        .53813E-06    .90569E-05
   2  Prefactor     2.8213        26.903       -.11997E-05    .67496E-05
   3  norm          2.6094        4.4070        .19069E-05    .39599E-04
   4  norm          4.1832        7.9687        .42259E-05    .40299E-04
   5  norm          7.6039        11.826       -.29282E-05   -.46329E-05
   6  norm          10.279        15.768       -.33461E-07   -.21265E-05
   7  Prefactor     .10000E-03    16.470        .33756E-06** at limit **
   8  norm          .10000E-03    2.5284       -.27463E-08** at limit **
   9  Prefactor     .10000E-03    112.15       -.97263E-05** at limit **
  10  norm          19.638        11.358       -.71289E-07   -.79100E-05
  11  Prefactor     .10000E-03    7.4852       -.27899E-06** at limit **
  12  Prefactor     20.149        35.336        .43574E-05    .13187E-04
  13  Prefactor     .10000E-03    19.945       -.84599E-06** at limit **
  14  Prefactor     .10000E-03    3.9715       -.19308E-06** at limit **
  15  Prefactor     .10000E-03    23.407        .70585E-06** at limit **
  16  Prefactor     18.295        18.377        .85706E-06   -.20764E-05
  17  Normalizat    1.0787        .23611       -.53896E-06    .15563E-03
  18  Prefactor     1.1863        .20965       -.71992E-06    .43083E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.72077
  Prefactor  = 2.82126
  norm       = 2.60937
  norm       = 4.18321
  norm       = 7.60391
  norm       = 10.2792
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100003
  norm       = 19.6385
  Prefactor  = 0.0001
  Prefactor  = 20.1486
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.2949
  Normalizat = 1.07873
  Prefactor  = 1.18635
 **********
 **   18 **HESSE 
 **********

 FCN=   4687.784     FROM HESSE     STATUS=OK           248 CALLS     1985 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7208        15.772        .32017E-03   -1.5446    
   2  Prefactor     2.8213        26.964        .24164E-03   -1.5372    
   3  norm          2.6094        4.3940        .89595E-03   -1.5385    
   4  norm          4.1832        8.0137        .96653E-03   -1.5299    
   5  norm          7.6039        11.858        .14547E-03   -1.5156    
   6  norm          10.279        15.764        .12498E-03   -1.5067    
   7  Prefactor     .10000E-03    16.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.5304        .10630E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    113.22        .42933E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          19.638        11.371        .90372E-04   -1.4821    
  11  Prefactor     .10000E-03    7.4933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.149        35.607        .89076E-04   -1.4810    
  13  Prefactor     .10000E-03    19.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.0191        .13320E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    23.943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.295        18.380        .93640E-04   -1.4852    
  17  Normalizat    1.0787        .28827        .27535E-03   -.90438    
  18  Prefactor     1.1863        .25561        .24675E-03   -.86752    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58948e-10
Minuit parameter uncertainties:
  1  10.4226
  2  17.454
  3  4.39453
  4  8.01576
  5  11.8616
  6  15.7702
  7  1.36067e-05
  8  6.80104e-07
  9  0.00108395
  10  11.3718
  11  3.43736e-05
  12  35.6443
  13  4.21866e-06
  14  1.81462e-05
  15  8.77485e-06
  16  18.3859
  17  0.288695
  18  0.255872
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.964e+01  1.137e+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:  1.186e+00  2.559e-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.079e+00  2.887e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.47
Ra Dec: 201.730 22.173
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 7.98e-08 +/- 4.62e-08
Energy Flux (Fixed Index): 2.50e-05 +/- 1.45e-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) = 4687.74552367
delta logL = 0.0387327702101

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4687.74457465
delta logL = 0.0396817947194

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    20.006       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2211       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0887       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1810       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=   4687.745     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      245 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.010        11.858        .89547E-04   -.10164E-03
   2  alpha         2.2210        .56990        .13730E-01   -.15134E-04
   3  Normalizat    1.0888        .27128        .27426E-03   -.37473E-03
   4  Prefactor     1.1808        .25227        .24726E-03   -.45510E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 20.0104
  alpha      = 2.22101
  Normalizat = 1.08883
  Prefactor  = 1.18084
 **********
 **   18 **HESSE 
 **********

 FCN=   4687.745     FROM HESSE     STATUS=OK            23 CALLS      268 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.010        11.854        .17909E-04   -1.4813    
   2  alpha         2.2210        .56957        .54921E-03   -.11183    
   3  Normalizat    1.0888        .27152        .54852E-04   -.90111    
   4  Prefactor     1.1808        .25248        .49453E-04   -.86923    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.88096e-10
Minuit parameter uncertainties:
  1  11.8553
  2  0.574677
  3  0.271873
  4  0.252743
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/591312': 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) = 4687.74457442
delta logL = 0.0396820211072

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  2.001e+01  1.186e+01  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.221e+00  5.747e-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:  1.181e+00  2.527e-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.089e+00  2.719e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.54
Ra Dec: 201.730 22.173
Photon Index (Free Index): 2.22 +/- 0.57
Photon Flux (Free Index): 6.97e-08 +/- 5.50e-08
Energy Flux (Free Index): 2.57e-05 +/- 1.55e-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/591312/cmap_HighResolution_431136001_431395201_4FGL_J1326.9+2210_daily_bin740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.98e-08', energy_flux2='2.57e-05', photon_flux_error='4.62e-08', dlogl='3.97e-02', energy_flux='2.50e-05', photon_flux2='6.97e-08', job_status='DONE', time_completed='2021-09-07 18:41:56.332763', photon_index_error2='0.57', photon_index2='2.22', ts='8.47', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='1.08', time_epoch_completed='1631065316.33', return_code='0', job_id='591312', GAL2='1.18', EG2='1.09', return_code2='0', energy_flux_error='1.45e-05', photon_flux_error2='5.50e-08', ts2='8.54', photon_index='2.38' WHERE bin_id='740' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:41:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 591312: <4FGL_J1326.9+2210_daily_bin740> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin740> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 18:30:18 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:30:36 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:30:36 2021
Terminated at Tue Sep  7 18:41:57 2021
Results reported at Tue Sep  7 18:41:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin740 201.73 22.1732 431136001 431395201 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 :                                   475.59 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             218.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   680 sec.
    Turnaround time :                            699 sec.

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

