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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin922
RA = 201.73, Dec = 22.1732
tmin = 478310401, tmax = 478569601
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='592775', job_status='RUN', time_executed='2021-09-07 18:37:28.411805', time_epoch_executed='1631065048.41' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='922'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592775

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592775/ft1_4FGL_J1326.9+2210_daily_bin922.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592775/ft2_4FGL_J1326.9+2210_daily_bin922.fits


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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592775/ft1_filtered_4FGL_J1326.9+2210_daily_bin922.fits evtable="EVENTS" scfile=/scratch/kocevski/592775/ft2_4FGL_J1326.9+2210_daily_bin922.fits sctable="SC_DATA" expcube=/scratch/kocevski/592775/ltcube_478310401_478569601_4FGL_J1326.9+2210_daily_bin922.fits outfile=/scratch/kocevski/592775/expmap_478310401_478569601_4FGL_J1326.9+2210_daily_bin922.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/592775/ltcube_478310401_478569601_4FGL_J1326.9+2210_daily_bin922.fits
.....................!
real 194.52
user 189.02
sys 4.77

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/592775/ft1_filtered_4FGL_J1326.9+2210_daily_bin922.fits scfile=/scratch/kocevski/592775/ft2_4FGL_J1326.9+2210_daily_bin922.fits outfile=/scratch/kocevski/592775/cmap_478310401_478569601_4FGL_J1326.9+2210_daily_bin922.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592775/ft1_filtered_4FGL_J1326.9+2210_daily_bin922.fits scfile=/scratch/kocevski/592775/ft2_4FGL_J1326.9+2210_daily_bin922.fits outfile=/scratch/kocevski/592775/cmap_HighResolution_478310401_478569601_4FGL_J1326.9+2210_daily_bin922.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.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5614       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.4994       1.0000         .10000E-03   10000.    
     4 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    17.488       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.261       1.0000         .10000E-03   10000.    
    10 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.0532       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11055E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    34.676       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .41062       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.589       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .86033       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .98200       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=   5255.456     FROM MIGRAD    STATUS=CONVERGED    338 CALLS     1778 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5604        6.2597       -.36149E-06   -.22451E-03
   2  Prefactor     .10000E-03    4.6264       -.16806E-05** at limit **
   3  norm          1.4984        3.8442       -.18965E-05   -.60459E-03
   4  norm          .10000E-03    1.8171       -.10120E-05** at limit **
   5  norm          .10000E-03    2.2495       -.16199E-06** at limit **
   6  norm          .10000E-03    9.3416       -.12859E-05** at limit **
   7  Prefactor     .10000E-03    4.6916       -.25269E-05** at limit **
   8  norm          17.486        8.1705       -.10653E-06    .11527E-03
   9  Prefactor     14.260        21.922       -.22277E-05    .56824E-04
  10  norm          .10000E-03    6.6097        .20115E-05** at limit **
  11  Prefactor     6.0595        12.247        .86097E-05    .36129E-04
  12  Prefactor     .10981E-01    21.948       -.54628E-05    .20980E-03
  13  Prefactor     34.673        45.237       -.39230E-05    .55949E-04
  14  Prefactor     .40861        2.9218       -.15060E-05   -.29182E-03
  15  Prefactor     .10000E-03    4.0310        .48810E-05** at limit **
  16  Prefactor     16.586        11.801       -.27731E-05    .28113E-03
  17  Normalizat    .86066        .16706        .74655E-06    .76603E-03
  18  Prefactor     .98179        .16118        .29889E-06    .59782E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.56039
  Prefactor  = 0.0001
  norm       = 1.49842
  norm       = 0.000100002
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 17.4855
  Prefactor  = 14.2596
  norm       = 0.0001
  Prefactor  = 6.05946
  Prefactor  = 0.0109808
  Prefactor  = 34.6733
  Prefactor  = 0.408607
  Prefactor  = 0.0001
  Prefactor  = 16.5861
  Normalizat = 0.86066
  Prefactor  = 0.981788
 **********
 **   18 **HESSE 
 **********

 FCN=   5255.456     FROM HESSE     STATUS=OK           254 CALLS     2032 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5604        6.2418        .21416E-03   -1.5331    
   2  Prefactor     .10000E-03    4.6289        .15219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4984        3.9159        .21934E-03   -1.5463    
   4  norm          .10000E-03    3.6580        .18843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.2606        .10611E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    9.3440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.6957        .15317E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          17.486        8.1752        .95774E-04   -1.4871    
   9  Prefactor     14.260        21.934        .10606E-03   -1.4953    
  10  norm          .10000E-03    6.6696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0595        12.292        .16319E-03   -1.5216    
  12  Prefactor     .10981E-01    29.140        .88035E-01   -1.5687    
  13  Prefactor     34.673        45.328        .68053E-04   -1.4530    
  14  Prefactor     .40861        6.0639        .23469E-02   -1.5580    
  15  Prefactor     .10000E-03    3.9720        .14100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.586        11.858        .98335E-04   -1.4893    
  17  Normalizat    .86066        .19210        .23384E-03   -.97857    
  18  Prefactor     .98179        .18578        .22306E-03   -.93339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76624e-09
Minuit parameter uncertainties:
  1  6.24293
  2  3.1793e-05
  3  3.91661
  4  0.000181392
  5  7.24263e-06
  6  4.66568e-05
  7  4.44326e-05
  8  8.17574
  9  21.9467
  10  4.96086e-05
  11  12.2974
  12  1.12672
  13  45.3728
  14  3.14817
  15  8.57363e-05
  16  11.8596
  17  0.192251
  18  0.185899
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.000e-04  4.961e-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:  9.818e-01  1.859e-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:  8.607e-01  1.923e-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.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.18e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/592775/likelihoodResults_478310401_478569601_4FGL_J1326.9+2210_daily_bin922.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): 102
logL (Free Index) = 5255.45699925
delta logL = -0.000714708277883

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5255.45628449
delta logL = 5.11172402184e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10261E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4119       1.0000          .0000       5.0000    
     3 'Normalizat'    .86067       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98180       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=   5255.456     FROM MIGRAD    STATUS=CONVERGED    187 CALLS      325 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49223E-01    8.6177        .47716E-01    .35599E-03
   2  alpha         3.9064        2.9517        .16474        .82303E-06
   3  Normalizat    .85933        .12644E-01    .23385E-03    .19014E-03
   4  Prefactor     .98244        .12850E-01    .22306E-03    .16005E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0492225
  alpha      = 3.90641
  Normalizat = 0.859327
  Prefactor  = 0.98244
 **********
 **   18 **HESSE 
 **********

 FCN=   5255.456     FROM HESSE     STATUS=OK            29 CALLS      354 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49223E-01    47.066        .13693E-02   -1.5664    
   2  alpha         3.9064        4.4525        .65894E-02    .59748    
   3  Normalizat    .85933        .19296        .93538E-05   -.97904    
   4  Prefactor     .98244        .18558        .44612E-04   -.93317    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42403e-10
Minuit parameter uncertainties:
  1  3.04347
  2  17.5386
  3  0.193118
  4  0.185697
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592775': 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) = 5255.45595773
delta logL = 0.000326808941281

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  4.922e-02  3.043e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  3.906e+00  1.754e+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:  9.824e-01  1.857e-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:  8.593e-01  1.931e-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/592775/cmap_HighResolution_478310401_478569601_4FGL_J1326.9+2210_daily_bin922.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.18e-05', job_status='DONE', photon_flux_upper_limit='6.95e-08', time_completed='2021-09-07 18:46:25.559029', job_id='592775', GAL2='0.98', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1631065585.56', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='3.27e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='922' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:46:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 592775: <4FGL_J1326.9+2210_daily_bin922> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin922 201.73 22.1732 478310401 478569601 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 :                                   532.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   656 sec.
    Turnaround time :                            668 sec.

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

