/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 61 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 = 7417
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1326.9+2210_daily_bin89
RA = 201.73, Dec = 22.1732
tmin = 262396801, tmax = 262656001
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='584382', job_status='RUN', time_executed='2021-09-07 18:12:14.998753', time_epoch_executed='1631063535.0' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='89'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/584382

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/584382/ft1_4FGL_J1326.9+2210_daily_bin89.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/584382/ft2_4FGL_J1326.9+2210_daily_bin89.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/584382/ft1_4FGL_J1326.9+2210_daily_bin89.fits outfile=/scratch/kocevski/584382/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin89.fits ra=201.73 dec=22.1732 rad=12.0 tmin=262396801.0 tmax=262656001.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 1.47
user 1.24
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/584382/ft1_filtered_4FGL_J1326.9+2210_daily_bin89.fits" evtable="EVENTS" scfile=/scratch/kocevski/584382/ft2_4FGL_J1326.9+2210_daily_bin89.fits sctable="SC_DATA" outfile=/scratch/kocevski/584382/ltcube_262396801_262656001_4FGL_J1326.9+2210_daily_bin89.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/584382/ft2_4FGL_J1326.9+2210_daily_bin89.fits
.....................!
real 16.91
user 16.45
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/584382/ft1_filtered_4FGL_J1326.9+2210_daily_bin89.fits evtable="EVENTS" scfile=/scratch/kocevski/584382/ft2_4FGL_J1326.9+2210_daily_bin89.fits sctable="SC_DATA" expcube=/scratch/kocevski/584382/ltcube_262396801_262656001_4FGL_J1326.9+2210_daily_bin89.fits outfile=/scratch/kocevski/584382/expmap_262396801_262656001_4FGL_J1326.9+2210_daily_bin89.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/584382/ltcube_262396801_262656001_4FGL_J1326.9+2210_daily_bin89.fits
.....................!
real 191.62
user 185.05
sys 5.95

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/584382/ft1_filtered_4FGL_J1326.9+2210_daily_bin89.fits scfile=/scratch/kocevski/584382/ft2_4FGL_J1326.9+2210_daily_bin89.fits outfile=/scratch/kocevski/584382/cmap_262396801_262656001_4FGL_J1326.9+2210_daily_bin89.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/584382/ft1_filtered_4FGL_J1326.9+2210_daily_bin89.fits scfile=/scratch/kocevski/584382/ft2_4FGL_J1326.9+2210_daily_bin89.fits outfile=/scratch/kocevski/584382/cmap_HighResolution_262396801_262656001_4FGL_J1326.9+2210_daily_bin89.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/584382/ft1_filtered_4FGL_J1326.9+2210_daily_bin89.fits evtable="EVENTS" scfile=/scratch/kocevski/584382/ft2_4FGL_J1326.9+2210_daily_bin89.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/584382/Model_4FGL_J1326.9+2210_daily_bin89.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/584382/ft1_filtered_4FGL_J1326.9+2210_daily_bin89.fits.....................!
real 45.77
user 44.31
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10433E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.1088       1.0000         .10000E-03   10000.    
     3 'norm      '    7.7984       1.0000         .10000E-03   10000.    
     4 'norm      '    1.2288       1.0000         .10000E-03   10000.    
     5 'norm      '    17.793       1.0000         .10000E-03   10000.    
     6 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.1561       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .94830E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10526E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .63818E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.8196       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .95319       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1741       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5379.776     FROM MIGRAD    STATUS=CONVERGED    395 CALLS     1552 TOTAL
                     EDM=   .24E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.5090         .0000    ** at limit **
   2  Prefactor     4.1343        13.692         .0000        .45736E-02
   3  norm          7.7979        4.2686         .0000        .22685E-02
   4  norm          1.2450        26.845         .0000        .24216E-01
   5  norm          17.764        19.579         .0000        .69875E-02
   6  norm          .10000E-03    8.2393         .0000    ** at limit **
   7  Prefactor     1.1673        96.581         .0000        .62170E-03
   8  norm          .10000E-03    6.7391         .0000    ** at limit **
   9  Prefactor     .10000E-03    16.160         .0000    ** at limit **
  10  norm          .10806E-03    5.5596         .0000    ** at limit **
  11  Prefactor     .10000E-03    8.6812         .0000    ** at limit **
  12  Prefactor     .10000E-03    24.257         .0000    ** at limit **
  13  Prefactor     .10380E-03    131.80         .0000    ** at limit **
  14  Prefactor     .10000E-03    .78051         .0000    ** at limit **
  15  Prefactor     5.8243        11.115         .0000        .59855E-03
  16  Prefactor     .10000E-03    3.3150         .0000    ** at limit **
  17  Normalizat    .95304        .18774         .0000        .20870E-03
  18  Prefactor     1.1745        .17972         .0000        .15667E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.13426
  norm       = 7.79789
  norm       = 1.245
  norm       = 17.7643
  norm       = 0.0001
  Prefactor  = 1.16727
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000108056
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000103803
  Prefactor  = 0.0001
  Prefactor  = 5.82429
  Prefactor  = 0.0001
  Normalizat = 0.95304
  Prefactor  = 1.17446
 **********
 **   18 **HESSE 
 **********

 FCN=   5379.776     FROM HESSE     STATUS=OK           246 CALLS     1798 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.6049        .16807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.1343        13.697        .19888E-03   -1.5301    
   3  norm          7.7979        4.2684        .54129E-03   -1.5149    
   4  norm          1.2450        14.997        .15040E-02   -1.5485    
   5  norm          17.764        15.283        .94949E-04   -1.4865    
   6  norm          .10000E-03    8.2456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.1673        77.371        .42938E-03   -1.5492    
   8  norm          .10000E-03    6.9239        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    16.179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10806E-03    13.126        .51684E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.7254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    24.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10380E-03    133.33        .21031E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    .78085        .63282E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.8243        11.115        .16648E-03   -1.5225    
  16  Prefactor     .10000E-03    3.3211        .13041E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .95304        .22112        .24895E-03   -.94621    
  18  Prefactor     1.1745        .21341        .22860E-03   -.87121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16533e-07
Minuit parameter uncertainties:
  1  1.01674e-05
  2  13.707
  3  4.26859
  4  8.64433
  5  15.2859
  6  9.80203e-05
  7  19.0315
  8  5.25268e-06
  9  6.06646e-05
  10  0.0205707
  11  6.37762e-05
  12  0.000220226
  13  0.0451378
  14  3.93652e-06
  15  11.119
  16  8.66069e-06
  17  0.22133
  18  0.213569
Done.

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

Extracting fit parameters...

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

EG_v02
   Spectrum: FileFunction
540   Normalization:  9.530e-01  2.213e-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: 8.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.76e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/584382/likelihoodResults_262396801_262656001_4FGL_J1326.9+2210_daily_bin89.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) = 5379.77641737
delta logL = -6.21597700956e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5379.58758112
delta logL = 0.188830030215

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22796       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .91341       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1977       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=   5379.588     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      321 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22798        20.443        .10105E-01   -.57812E-03
   2  alpha         5.0000        4.7115        .46268    ** at limit **
   3  Normalizat    .91337        .70979E-01    .45073E-01   -.15850E-03
   4  Prefactor     1.1978        .64269E-01    .51276E-01   -.12898E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.22798
  alpha      = 5
  Normalizat = 0.913365
  Prefactor  = 1.19775
 **********
 **   18 **HESSE 
 **********

 FCN=   5379.588     FROM HESSE     STATUS=OK            33 CALLS      354 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22798        .47924        .58585E-04   -1.5612    
   2  alpha         5.0000        4.7272        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .91337        .21832        .25384E-03   -.95992    
   4  Prefactor     1.1978        .21368        .22669E-03   -.86401    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.15068e-10
Minuit parameter uncertainties:
  1  0.479246
  2  1.39256e-05
  3  0.218532
  4  0.213832
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/584382': 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) = 5379.58758055
delta logL = 0.18883059867

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  2.280e-01  4.792e-01  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  5.000e+00  1.393e-05  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.198e+00  2.138e-01  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
540   Normalization:  9.134e-01  2.185e-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/584382/cmap_HighResolution_262396801_262656001_4FGL_J1326.9+2210_daily_bin89.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.76e-05', job_status='DONE', photon_flux_upper_limit='8.80e-08', time_completed='2021-09-07 18:20:46.501002', job_id='584382', GAL2='1.20', fit_tolerance='1e-08', EG2='0.91', EG='0.95', time_epoch_completed='1631064046.5', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='1.89e-01', ts2='0.41', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='89' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:20:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 584382: <4FGL_J1326.9+2210_daily_bin89> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin89> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep  7 18:05:40 2021
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:11:05 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:11:05 2021
Terminated at Tue Sep  7 18:20:47 2021
Results reported at Tue Sep  7 18:20:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin89 201.73 22.1732 262396801 262656001 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 :                                   509.28 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             342.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   581 sec.
    Turnaround time :                            907 sec.

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

