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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin696
RA = 201.73, Dec = 22.1732
tmin = 419731201, tmax = 419990401
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='590296', job_status='RUN', time_executed='2021-09-07 18:27:18.349794', time_epoch_executed='1631064438.35' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='696'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590296

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590296/ft1_4FGL_J1326.9+2210_daily_bin696.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590296/ft2_4FGL_J1326.9+2210_daily_bin696.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590296/ft1_4FGL_J1326.9+2210_daily_bin696.fits outfile=/scratch/kocevski/590296/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin696.fits ra=201.73 dec=22.1732 rad=12.0 tmin=419731201.0 tmax=419990401.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 6.04
user 5.72
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/590296/ft2_4FGL_J1326.9+2210_daily_bin696.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/590296/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin696.fits evtable="EVENTS" outfile="/scratch/kocevski/590296/ft1_filtered_4FGL_J1326.9+2210_daily_bin696.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.35
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590296/ft1_filtered_4FGL_J1326.9+2210_daily_bin696.fits evtable="EVENTS" scfile=/scratch/kocevski/590296/ft2_4FGL_J1326.9+2210_daily_bin696.fits sctable="SC_DATA" expcube=/scratch/kocevski/590296/ltcube_419731201_419990401_4FGL_J1326.9+2210_daily_bin696.fits outfile=/scratch/kocevski/590296/expmap_419731201_419990401_4FGL_J1326.9+2210_daily_bin696.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/590296/ltcube_419731201_419990401_4FGL_J1326.9+2210_daily_bin696.fits
.....................!
real 193.13
user 187.54
sys 4.88

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/590296/ft1_filtered_4FGL_J1326.9+2210_daily_bin696.fits scfile=/scratch/kocevski/590296/ft2_4FGL_J1326.9+2210_daily_bin696.fits outfile=/scratch/kocevski/590296/cmap_419731201_419990401_4FGL_J1326.9+2210_daily_bin696.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.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/590296/ft1_filtered_4FGL_J1326.9+2210_daily_bin696.fits scfile=/scratch/kocevski/590296/ft2_4FGL_J1326.9+2210_daily_bin696.fits outfile=/scratch/kocevski/590296/cmap_HighResolution_419731201_419990401_4FGL_J1326.9+2210_daily_bin696.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.57
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .47776E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    21.392       1.0000         .10000E-03   10000.    
     5 'norm      '    24.962       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    21.612       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    38.782       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.4083       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.927       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1592       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .78864       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=   6008.211     FROM MIGRAD    STATUS=CONVERGED    349 CALLS     1689 TOTAL
                     EDM=   .54E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.4769        .11213E-06** at limit **
   2  Prefactor     .10003E-03    12.506       -.32158E-06** at limit **
   3  norm          .10000E-03    .93268       -.70171E-08** at limit **
   4  norm          21.393        12.416        .49105E-06   -.42186E-04
   5  norm          24.960        19.680       -.76481E-06    .68765E-05
   6  norm          .10000E-03    10.661       -.97294E-06** at limit **
   7  Prefactor     .10000E-03    6.0994       -.70516E-05** at limit **
   8  norm          21.613        8.5437        .26464E-06   -.10870E-03
   9  Prefactor     .10000E-03    21.245       -.17374E-05** at limit **
  10  norm          .10000E-03    4.7800        .15299E-05** at limit **
  11  Prefactor     .10000E-03    6.4556        .66268E-05** at limit **
  12  Prefactor     .10000E-03    21.415        .27363E-05** at limit **
  13  Prefactor     38.784        43.584        .17473E-05   -.12872E-05
  14  Prefactor     4.4086        4.0203        .16120E-05   -.28894E-03
  15  Prefactor     15.928        10.915       -.52293E-07   -.22372E-04
  16  Prefactor     .10000E-03    4.2418       -.74024E-06** at limit **
  17  Normalizat    1.1591        .17615       -.67920E-06    .27255E-05
  18  Prefactor     .78862        .15782        .80880E-08   -.41816E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100026
  norm       = 0.0001
  norm       = 21.3933
  norm       = 24.9599
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 21.6133
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.7841
  Prefactor  = 4.40862
  Prefactor  = 15.9281
  Prefactor  = 0.0001
  Normalizat = 1.15914
  Prefactor  = 0.788617
 **********
 **   18 **HESSE 
 **********

 FCN=   6008.211     FROM HESSE     STATUS=OK           244 CALLS     1933 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.4921        .14115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10003E-03    67.816        .52038E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .93360        .73104E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          21.393        12.645        .86600E-04   -1.4783    
   5  norm          24.960        20.002        .80178E-04   -1.4708    
   6  norm          .10000E-03    10.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.1366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          21.613        8.5510        .86158E-04   -1.4778    
   9  Prefactor     .10000E-03    21.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    4.8027        .16532E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.4731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    21.489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     38.784        43.595        .64361E-04   -1.4462    
  14  Prefactor     4.4086        3.9848        .14158E-03   -1.5288    
  15  Prefactor     15.928        10.911        .10036E-03   -1.4910    
  16  Prefactor     .10000E-03    4.2677        .15584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1591        .20737        .23222E-03   -.87875    
  18  Prefactor     .78862        .18667        .25236E-03   -1.0015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.18714e-10
Minuit parameter uncertainties:
  1  1.44614e-06
  2  0.00265667
  3  7.40366e-08
  4  12.647
  5  20.0074
  6  2.27009e-06
  7  1.64816e-06
  8  8.55143
  9  7.10532e-06
  10  5.20734e-06
  11  7.39735e-06
  12  2.73498e-05
  13  43.6306
  14  3.98507
  15  10.9122
  16  4.16554e-06
  17  0.20752
  18  0.186822
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.000e-04  5.207e-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:  7.886e-01  1.868e-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.159e+00  2.075e-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.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.16e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/590296/likelihoodResults_419731201_419990401_4FGL_J1326.9+2210_daily_bin696.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) = 6008.21195981
delta logL = -0.000991536430774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6008.21096829
delta logL = -1.7953425413e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3920       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1591       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78865       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=   6008.211     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      235 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    122.00        .16584E-01** at limit **
   2  alpha         2.6781        3.1829        .16480       -.16694E-07
   3  Normalizat    1.1591        .22499E-01    .23222E-03   -.25071E-03
   4  Prefactor     .78862        .20656E-01    .25236E-03   -.23804E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.67811
  Normalizat = 1.15914
  Prefactor  = 0.788617
 **********
 **   18 **HESSE 
 **********

 FCN=   6008.211     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.0810        .33465E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6781        3.5365        .65920E-02    .71305E-01
   3  Normalizat    1.1591        .20106        .46444E-04   -.87875    
   4  Prefactor     .78862        .18474        .10094E-04   -1.0015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.95487e-11
Minuit parameter uncertainties:
  1  8.86478e-06
  2  277.164
  3  0.201191
  4  0.184883
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590296': 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) = 6008.21096771
delta logL = 5.67551978747e-07

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.000e-04  8.865e-06  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.678e+00  2.772e+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:  7.886e-01  1.849e-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.159e+00  2.012e-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/590296/cmap_HighResolution_419731201_419990401_4FGL_J1326.9+2210_daily_bin696.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.16e-05', job_status='DONE', photon_flux_upper_limit='6.89e-08', time_completed='2021-09-07 18:36:28.461351', job_id='590296', GAL2='0.79', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1631064988.46', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='5.68e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='696' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:36:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0303>
Subject: Job 590296: <4FGL_J1326.9+2210_daily_bin696> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin696> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Sep  7 18:25:39 2021
Job was executed on host(s) <bullet0303>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:27:01 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:27:01 2021
Terminated at Tue Sep  7 18:36:29 2021
Results reported at Tue Sep  7 18:36:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin696 201.73 22.1732 419731201 419990401 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 :                                   547.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             359.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   567 sec.
    Turnaround time :                            650 sec.

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

