/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 145 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 = 7422
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1326.9+2210_daily_bin188
RA = 201.73, Dec = 22.1732
tmin = 288057601, tmax = 288316801
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='585740', job_status='RUN', time_executed='2021-09-07 18:14:24.698094', time_epoch_executed='1631063664.7' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='188'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/585740

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/585740/ft1_4FGL_J1326.9+2210_daily_bin188.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/585740/ft2_4FGL_J1326.9+2210_daily_bin188.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/585740/ft1_4FGL_J1326.9+2210_daily_bin188.fits outfile=/scratch/kocevski/585740/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin188.fits ra=201.73 dec=22.1732 rad=12.0 tmin=288057601.0 tmax=288316801.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.61
user 3.39
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/585740/ft1_filtered_4FGL_J1326.9+2210_daily_bin188.fits evtable="EVENTS" scfile=/scratch/kocevski/585740/ft2_4FGL_J1326.9+2210_daily_bin188.fits sctable="SC_DATA" expcube=/scratch/kocevski/585740/ltcube_288057601_288316801_4FGL_J1326.9+2210_daily_bin188.fits outfile=/scratch/kocevski/585740/expmap_288057601_288316801_4FGL_J1326.9+2210_daily_bin188.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/585740/ltcube_288057601_288316801_4FGL_J1326.9+2210_daily_bin188.fits
.....................!
real 193.61
user 187.84
sys 4.46

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/585740/ft1_filtered_4FGL_J1326.9+2210_daily_bin188.fits scfile=/scratch/kocevski/585740/ft2_4FGL_J1326.9+2210_daily_bin188.fits outfile=/scratch/kocevski/585740/cmap_288057601_288316801_4FGL_J1326.9+2210_daily_bin188.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/585740/ft1_filtered_4FGL_J1326.9+2210_daily_bin188.fits scfile=/scratch/kocevski/585740/ft2_4FGL_J1326.9+2210_daily_bin188.fits outfile=/scratch/kocevski/585740/cmap_HighResolution_288057601_288316801_4FGL_J1326.9+2210_daily_bin188.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.2052       1.0000         .10000E-03   10000.    
     3 'norm      '    9.2285       1.0000         .10000E-03   10000.    
     4 'norm      '    6.2544       1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .84761E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    14.537       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.4912       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.338       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.867       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1493       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0966       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=   6436.959     FROM MIGRAD    STATUS=CONVERGED    345 CALLS     1468 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.6286       -.10169E-05** at limit **
   2  Prefactor     5.2058        16.051        .51520E-06   -.45195E-04
   3  norm          9.2293        5.1367        .30824E-06    .98670E-04
   4  norm          6.2561        4.2887       -.38355E-06   -.37267E-03
   5  norm          .10000E-03    5.3242        .74938E-06** at limit **
   6  norm          .10000E-03    22.367        .85573E-05** at limit **
   7  Prefactor     .10000E-03    13.052        .54000E-05** at limit **
   8  norm          .10046E-03    6.1015       -.29184E-05** at limit **
   9  Prefactor     .10000E-03    16.976       -.10299E-04** at limit **
  10  norm          14.557        11.261        .36111E-06    .10217E-02
  11  Prefactor     .10000E-03    13.934       -.29952E-05** at limit **
  12  Prefactor     .10000E-03    7.0785        .24364E-06** at limit **
  13  Prefactor     .10000E-03    26.174        .11857E-04** at limit **
  14  Prefactor     3.4904        4.5187       -.34547E-05   -.45240E-03
  15  Prefactor     15.338        11.157        .91308E-08   -.37380E-06
  16  Prefactor     12.867        12.105       -.23657E-08   -.33824E-05
  17  Normalizat    1.1492        .19041        .12776E-05    .28768E-03
  18  Prefactor     1.0967        .17563       -.10349E-06    .32961E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.20579
  norm       = 9.22934
  norm       = 6.25614
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100464
  Prefactor  = 0.0001
  norm       = 14.5566
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.49045
  Prefactor  = 15.3384
  Prefactor  = 12.867
  Normalizat = 1.14916
  Prefactor  = 1.09673
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.6767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.2058        16.039        .17619E-03   -1.5252    
   3  norm          9.2293        5.1419        .12958E-03   -1.5100    
   4  norm          6.2561        4.2834        .13205E-03   -1.5208    
   5  norm          .10000E-03    5.3534        .17981E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    22.446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10046E-03    32.867        .34165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    16.920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          14.557        10.402        .10505E-03   -1.4945    
  11  Prefactor     .10000E-03    14.012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.0831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    26.051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.4904        4.6203        .18955E-03   -1.5334    
  15  Prefactor     15.338        11.163        .10227E-03   -1.4924    
  16  Prefactor     12.867        12.112        .11167E-03   -1.4990    
  17  Normalizat    1.1492        .22787        .26394E-03   -.88189    
  18  Prefactor     1.0967        .20998        .25490E-03   -.89571    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.399e-08
Minuit parameter uncertainties:
  1  9.96108e-06
  2  16.0524
  3  5.14217
  4  4.28363
  5  1.93963e-05
  6  3.53612e-05
  7  6.02383e-07
  8  0.00781749
  9  1.54172e-06
  10  10.403
  11  3.38015e-05
  12  5.20213e-06
  13  1.55307e-05
  14  4.62074
  15  11.1649
  16  12.1139
  17  0.228062
  18  0.210138
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.456e+01  1.040e+01  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.383e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
311         beta:  1.183e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
312           Eb:  5.855e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  1.097e+00  2.101e-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.149e+00  2.281e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.28
Ra Dec: 201.730 22.173
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 5.91e-08 +/- 4.23e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.32e-05

TS (Fixed Index): 3.28
Ra Dec: 201.730 22.173
Photon Flux Upper Limit: 1.47e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.59e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/585740/likelihoodResults_288057601_288316801_4FGL_J1326.9+2210_daily_bin188.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) = 6436.89812197
delta logL = 0.0612300690418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6436.89296742
delta logL = 0.066384617633

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.264       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0114       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0832       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=   6436.893     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      252 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.260        11.300        .10252E-03    .58996E-04
   2  alpha         2.0107        .91647        .18827E-01   -.74806E-05
   3  Normalizat    1.1694        .22450        .26193E-03   -.69706E-04
   4  Prefactor     1.0834        .20913        .25621E-03   -.10414E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 15.2599
  alpha      = 2.01071
  Normalizat = 1.16945
  Prefactor  = 1.08342
 **********
 **   18 **HESSE 
 **********

 FCN=   6436.893     FROM HESSE     STATUS=OK            25 CALLS      277 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.260        11.455        .41007E-05   -1.4926    
   2  alpha         2.0107        .92841        .75307E-03   -.19699    
   3  Normalizat    1.1694        .22489        .10477E-04   -.87552    
   4  Prefactor     1.0834        .20931        .10248E-04   -.89998    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87074e-11
Minuit parameter uncertainties:
  1  11.4562
  2  0.952165
  3  0.225075
  4  0.209464
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/585740': 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) = 6436.89296643
delta logL = 0.0663856057963

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.526e+01  1.146e+01  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.011e+00  9.522e-01  0.000e+00  5.000e+00 ( 1.000e+00)
311         beta:  1.183e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
312           Eb:  5.855e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  1.083e+00  2.095e-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.169e+00  2.251e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.39
Ra Dec: 201.730 22.173
Photon Index (Free Index): 2.01 +/- 0.95
Photon Flux (Free Index): 4.45e-08 +/- 5.24e-08
Energy Flux (Free Index): 2.14e-05 +/- 1.79e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/585740/cmap_HighResolution_288057601_288316801_4FGL_J1326.9+2210_daily_bin188.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.59e-05', comment='SUCCESS', photon_flux='5.91e-08', energy_flux2='2.14e-05', photon_flux_error='4.23e-08', dlogl='6.64e-02', energy_flux='1.85e-05', photon_flux2='4.45e-08', job_status='DONE', time_completed='2021-09-07 18:23:29.804132', photon_index_error2='0.95', photon_index2='2.01', ts='3.28', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='1.47e-07', energy_flux_error2='1.79e-05', EG='1.15', time_epoch_completed='1631064209.8', return_code='0', job_id='585740', GAL2='1.08', EG2='1.17', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='5.24e-08', ts2='3.39', photon_index='2.38' WHERE bin_id='188' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:23:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 585740: <4FGL_J1326.9+2210_daily_bin188> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin188> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep  7 18:10:31 2021
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:11:51 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:51 2021
Terminated at Tue Sep  7 18:23:30 2021
Results reported at Tue Sep  7 18:23:30 2021

Your job looked like:

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

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

