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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin896
RA = 201.73, Dec = 22.1732
tmin = 471571201, tmax = 471830401
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='591547', job_status='RUN', time_executed='2021-09-07 18:35:39.186966', time_epoch_executed='1631064939.19' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='896'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/591547

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/591547/ft1_4FGL_J1326.9+2210_daily_bin896.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/591547/ft2_4FGL_J1326.9+2210_daily_bin896.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/591547/ft1_4FGL_J1326.9+2210_daily_bin896.fits outfile=/scratch/kocevski/591547/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin896.fits ra=201.73 dec=22.1732 rad=12.0 tmin=471571201.0 tmax=471830401.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.03
user 4.76
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/591547/ft2_4FGL_J1326.9+2210_daily_bin896.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/591547/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin896.fits evtable="EVENTS" outfile="/scratch/kocevski/591547/ft1_filtered_4FGL_J1326.9+2210_daily_bin896.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.53
user 0.37
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/591547/ft1_filtered_4FGL_J1326.9+2210_daily_bin896.fits" evtable="EVENTS" scfile=/scratch/kocevski/591547/ft2_4FGL_J1326.9+2210_daily_bin896.fits sctable="SC_DATA" outfile=/scratch/kocevski/591547/ltcube_471571201_471830401_4FGL_J1326.9+2210_daily_bin896.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/591547/ft2_4FGL_J1326.9+2210_daily_bin896.fits
.....................!
real 13.57
user 13.23
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/591547/ft1_filtered_4FGL_J1326.9+2210_daily_bin896.fits evtable="EVENTS" scfile=/scratch/kocevski/591547/ft2_4FGL_J1326.9+2210_daily_bin896.fits sctable="SC_DATA" expcube=/scratch/kocevski/591547/ltcube_471571201_471830401_4FGL_J1326.9+2210_daily_bin896.fits outfile=/scratch/kocevski/591547/expmap_471571201_471830401_4FGL_J1326.9+2210_daily_bin896.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/591547/ltcube_471571201_471830401_4FGL_J1326.9+2210_daily_bin896.fits
.....................!
real 192.54
user 187.96
sys 4.06

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/591547/ft1_filtered_4FGL_J1326.9+2210_daily_bin896.fits scfile=/scratch/kocevski/591547/ft2_4FGL_J1326.9+2210_daily_bin896.fits outfile=/scratch/kocevski/591547/cmap_471571201_471830401_4FGL_J1326.9+2210_daily_bin896.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/591547/ft1_filtered_4FGL_J1326.9+2210_daily_bin896.fits scfile=/scratch/kocevski/591547/ft2_4FGL_J1326.9+2210_daily_bin896.fits outfile=/scratch/kocevski/591547/cmap_HighResolution_471571201_471830401_4FGL_J1326.9+2210_daily_bin896.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.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.465       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.0630       1.0000         .10000E-03   10000.    
     3 'norm      '    .10718E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.5034       1.0000         .10000E-03   10000.    
     5 'norm      '    .10354E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    6.8371       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.384       1.0000         .10000E-03   10000.    
     8 'norm      '    3.3975       1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.818       1.0000         .10000E-03   10000.    
    10 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .21584E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12340E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0444       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0199       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=   5697.624     FROM MIGRAD    STATUS=CONVERGED    368 CALLS     1514 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.464        7.4179       -.14189E-05    .25912E-03
   2  Prefactor     7.0678        15.223       -.21432E-05   -.45005E-04
   3  norm          .10022E-03    2.3676       -.13923E-05** at limit **
   4  norm          1.5014        3.5457       -.35582E-06   -.60729E-03
   5  norm          .10000E-03    6.0205       -.14641E-05** at limit **
   6  norm          6.8344        13.717        .42404E-07    .54008E-04
   7  Prefactor     12.387        14.956       -.13438E-05   -.29701E-04
   8  norm          3.3985        3.9738        .22847E-06    .61851E-04
   9  Prefactor     23.817        22.604        .27206E-06    .11060E-04
  10  norm          .10000E-03    4.5789       -.81332E-08** at limit **
  11  Prefactor     .10000E-03    13.755        .20170E-04** at limit **
  12  Prefactor     .10000E-03    12.788       -.10996E-04** at limit **
  13  Prefactor     .10000E-03    197.87       -.22577E-04** at limit **
  14  Prefactor     .10000E-03    1.6599       -.32129E-07** at limit **
  15  Prefactor     .10000E-03    34.313        .21812E-05** at limit **
  16  Prefactor     .10000E-03    6.0588        .15577E-05** at limit **
  17  Normalizat    1.0442        .18813        .78660E-06    .15733E-03
  18  Prefactor     1.0199        .17799        .14410E-06    .21572E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4643
  Prefactor  = 7.06781
  norm       = 0.000100219
  norm       = 1.50139
  norm       = 0.0001
  norm       = 6.83435
  Prefactor  = 12.3872
  norm       = 3.39849
  Prefactor  = 23.8173
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.04421
  Prefactor  = 1.01994
 **********
 **   18 **HESSE 
 **********

 FCN=   5697.624     FROM HESSE     STATUS=OK           242 CALLS     1756 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.464        7.3834        .11831E-03   -1.5031    
   2  Prefactor     7.0678        15.235        .15094E-03   -1.5176    
   3  norm          .10022E-03    15.509        .21749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.5014        3.4746        .20223E-03   -1.5463    
   5  norm          .10000E-03    6.0350        .17893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          6.8344        13.656        .15344E-03   -1.5185    
   7  Prefactor     12.387        14.855        .11383E-03   -1.5004    
   8  norm          3.3985        3.9690        .15766E-03   -1.5339    
   9  Prefactor     23.817        22.609        .82077E-04   -1.4732    
  10  norm          .10000E-03    4.5985        .15768E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    202.27        .20159E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.6719        .94951E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    35.772        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.0798        .18139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0442        .21982        .24432E-03   -.91564    
  18  Prefactor     1.0199        .20890        .23786E-03   -.92068    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41957e-08
Minuit parameter uncertainties:
  1  7.38394
  2  15.2432
  3  0.00368465
  4  3.47511
  5  4.03171e-05
  6  13.662
  7  14.8597
  8  3.96931
  9  22.6169
  10  4.57867e-06
  11  3.84874e-05
  12  7.07868e-06
  13  0.000507577
  14  2.24476e-06
  15  0.000122278
  16  8.42295e-06
  17  0.220008
  18  0.209062
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.000e-04  4.579e-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.020e+00  2.091e-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.044e+00  2.200e-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: 7.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.22e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/591547/likelihoodResults_471571201_471830401_4FGL_J1326.9+2210_daily_bin896.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) = 5697.62513348
delta logL = -0.00103577276241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5697.6240977
delta logL = 3.53065843228e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3919       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0442       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0200       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=   5697.624     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      237 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    123.81        .15817E-01** at limit **
   2  alpha         2.7271        2.8457        .16480        .74503E-08
   3  Normalizat    1.0442        .23740E-01    .24432E-03   -.18359E-03
   4  Prefactor     1.0199        .22961E-01    .23786E-03   -.19449E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.72709
  Normalizat = 1.04421
  Prefactor  = 1.01994
 **********
 **   18 **HESSE 
 **********

 FCN=   5697.624     FROM HESSE     STATUS=OK            23 CALLS      260 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.9091        .32158E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.7271        2.7744        .65921E-02    .90961E-01
   3  Normalizat    1.0442        .21513        .48864E-04   -.91564    
   4  Prefactor     1.0199        .20828        .47572E-04   -.92068    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.1453e-11
Minuit parameter uncertainties:
  1  5.10639e-07
  2  290.408
  3  0.215312
  4  0.208448
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/591547': 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) = 5697.62409702
delta logL = 6.85393388267e-07

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.000e-04  5.106e-07  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.727e+00  2.904e+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.020e+00  2.084e-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.044e+00  2.153e-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/591547/cmap_HighResolution_471571201_471830401_4FGL_J1326.9+2210_daily_bin896.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.22e-05', job_status='DONE', photon_flux_upper_limit='7.08e-08', time_completed='2021-09-07 18:44:22.284031', job_id='591547', GAL2='1.02', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1631065462.28', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='6.85e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='896' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:44:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0009>
Subject: Job 591547: <4FGL_J1326.9+2210_daily_bin896> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin896> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 18:30:34 2021
Job was executed on host(s) <bullet0009>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:32:20 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:32:20 2021
Terminated at Tue Sep  7 18:44:23 2021
Results reported at Tue Sep  7 18:44:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin896 201.73 22.1732 471571201 471830401 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 :                                   521.03 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             252.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   722 sec.
    Turnaround time :                            829 sec.

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

