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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin290
RA = 201.73, Dec = 22.1732
tmin = 314496001, tmax = 314755201
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='587379', job_status='RUN', time_executed='2021-09-07 18:19:30.401895', time_epoch_executed='1631063970.4' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='290'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/587379

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/587379/ft1_4FGL_J1326.9+2210_daily_bin290.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/587379/ft2_4FGL_J1326.9+2210_daily_bin290.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/587379/ft1_4FGL_J1326.9+2210_daily_bin290.fits outfile=/scratch/kocevski/587379/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin290.fits ra=201.73 dec=22.1732 rad=12.0 tmin=314496001.0 tmax=314755201.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.43
user 3.20
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/587379/ft1_filtered_4FGL_J1326.9+2210_daily_bin290.fits evtable="EVENTS" scfile=/scratch/kocevski/587379/ft2_4FGL_J1326.9+2210_daily_bin290.fits sctable="SC_DATA" expcube=/scratch/kocevski/587379/ltcube_314496001_314755201_4FGL_J1326.9+2210_daily_bin290.fits outfile=/scratch/kocevski/587379/expmap_314496001_314755201_4FGL_J1326.9+2210_daily_bin290.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/587379/ltcube_314496001_314755201_4FGL_J1326.9+2210_daily_bin290.fits
.....................!
real 191.23
user 185.92
sys 4.92

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/587379/ft1_filtered_4FGL_J1326.9+2210_daily_bin290.fits scfile=/scratch/kocevski/587379/ft2_4FGL_J1326.9+2210_daily_bin290.fits outfile=/scratch/kocevski/587379/cmap_314496001_314755201_4FGL_J1326.9+2210_daily_bin290.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=201.73 yref=22.1732 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.38
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10556E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    30.200       1.0000         .10000E-03   10000.    
     3 'norm      '    1.2279       1.0000         .10000E-03   10000.    
     4 'norm      '    4.8137       1.0000         .10000E-03   10000.    
     5 'norm      '    .98628       1.0000         .10000E-03   10000.    
     6 'norm      '    .11606E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .38063E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .43194       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.7690       1.0000         .10000E-03   10000.    
    10 'norm      '    6.3440       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .16470E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.3631       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11453E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.8392       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10315E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10854E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .87190       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1547       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=   5657.065     FROM MIGRAD    STATUS=CONVERGED    372 CALLS     1796 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.197        .15481E-06** at limit **
   2  Prefactor     30.252        15.688        .62974E-07   -.40111E-04
   3  norm          1.2303        3.5458        .10623E-05   -.58822E-04
   4  norm          4.8270        4.3031       -.85407E-06   -.27755E-03
   5  norm          .96959        7.2878        .36630E-05    .45653E-04
   6  norm          .10000E-03    11.571        .14867E-08** at limit **
   7  Prefactor     .10000E-03    13.195        .17199E-06** at limit **
   8  norm          .44725        4.8354        .93879E-06   -.25956E-03
   9  Prefactor     4.7139        50.859       -.84399E-06   -.63135E-04
  10  norm          6.3215        6.9799       -.21734E-06   -.12224E-03
  11  Prefactor     .10000E-03    5.2630        .68604E-07** at limit **
  12  Prefactor     9.3629        14.622        .16169E-06   -.16937E-04
  13  Prefactor     .10000E-03    67.794        .26816E-06** at limit **
  14  Prefactor     3.8381        3.3719        .11755E-06   -.11152E-04
  15  Prefactor     .10000E-03    6.9014        .75862E-07** at limit **
  16  Prefactor     .10006E-03    7.2689       -.48029E-06** at limit **
  17  Normalizat    .87179        .18122       -.14832E-05   -.40300E-04
  18  Prefactor     1.1547        .17656        .36051E-06   -.10308E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 30.2523
  norm       = 1.23029
  norm       = 4.82696
  norm       = 0.969585
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.44725
  Prefactor  = 4.71387
  norm       = 6.32146
  Prefactor  = 0.0001
  Prefactor  = 9.36287
  Prefactor  = 0.0001
  Prefactor  = 3.83808
  Prefactor  = 0.0001
  Prefactor  = 0.000100059
  Normalizat = 0.871787
  Prefactor  = 1.1547
 **********
 **   18 **HESSE 
 **********

 FCN=   5657.065     FROM HESSE     STATUS=OK           250 CALLS     2046 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.574        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     30.252        15.681        .72908E-04   -1.4607    
   3  norm          1.2303        3.5080        .22731E-03   -1.5486    
   4  norm          4.8270        4.2729        .11033E-03   -1.5269    
   5  norm          .96959        7.2736        .31153E-03   -1.5511    
   6  norm          .10000E-03    11.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.536        .42572E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .44725        9.8557        .29248E-02   -1.5574    
   9  Prefactor     4.7139        51.348        .18424E-03   -1.5274    
  10  norm          6.3215        6.9266        .15936E-03   -1.5205    
  11  Prefactor     .10000E-03    5.2736        .16852E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.3629        14.630        .13097E-03   -1.5096    
  13  Prefactor     .10000E-03    68.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.8381        3.3700        .12459E-03   -1.5316    
  15  Prefactor     .10000E-03    6.9225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10006E-03    42.316        .38293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .87179        .20346        .25248E-03   -.97459    
  18  Prefactor     1.1547        .20178        .22573E-03   -.87737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57458e-09
Minuit parameter uncertainties:
  1  7.35758e-06
  2  15.6832
  3  3.50856
  4  4.27321
  5  5.31188
  6  4.43498e-06
  7  1.125e-05
  8  4.19935
  9  31.1495
  10  6.92746
  11  4.60361e-06
  12  14.6352
  13  0.000244008
  14  3.3702
  15  5.68623e-06
  16  0.00316191
  17  0.203638
  18  0.201919
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  6.321e+00  6.927e+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

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  1.155e+00  2.019e-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.718e-01  2.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.58
Ra Dec: 201.730 22.173
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 2.57e-08 +/- 2.81e-08
Energy Flux (Fixed Index): 8.04e-06 +/- 8.81e-06

TS (Fixed Index): 1.58
Ra Dec: 201.730 22.173
Photon Flux Upper Limit: 9.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.92e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/587379/likelihoodResults_314496001_314755201_4FGL_J1326.9+2210_daily_bin290.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) = 5656.85964116
delta logL = 0.20575773079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5656.85789968
delta logL = 0.207499208878

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.5678       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8453       1.0000          .0000       5.0000    
     3 'Normalizat'    .88293       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1480       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=   5656.858     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      202 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.5678        7.6103        .39148E-02    .27013E-02
   2  alpha         1.8451        .74087        .43094       -.16550E-04
   3  Normalizat    .88294        .17149        .44683E-01    .13683E-04
   4  Prefactor     1.1480        .17434        .35994E-01    .34672E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.56782
  alpha      = 1.84515
  Normalizat = 0.882938
  Prefactor  = 1.148
 **********
 **   18 **HESSE 
 **********

 FCN=   5656.858     FROM HESSE     STATUS=OK            31 CALLS      233 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.5678        6.9859        .15659E-03   -1.5195    
   2  alpha         1.8451        .78795        .20040E-01   -.26503    
   3  Normalizat    .88294        .19588        .25099E-03   -.97062    
   4  Prefactor     1.1480        .19920        .22624E-03   -.87947    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.18444e-09
Minuit parameter uncertainties:
  1  6.98677
  2  0.802676
  3  0.196037
  4  0.199334
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/587379': 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) = 5656.85789966
delta logL = 0.207499227937

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  6.568e+00  6.987e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  1.845e+00  8.027e-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.148e+00  1.993e-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.829e-01  1.960e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.00
Ra Dec: 201.730 22.173
Photon Index (Free Index): 1.85 +/- 0.80
Photon Flux (Free Index): 1.70e-08 +/- 2.22e-08
Energy Flux (Free Index): 1.06e-05 +/- 1.21e-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/587379/cmap_HighResolution_314496001_314755201_4FGL_J1326.9+2210_daily_bin290.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.92e-05', comment='SUCCESS', photon_flux='2.57e-08', energy_flux2='1.06e-05', photon_flux_error='2.81e-08', dlogl='2.07e-01', energy_flux='8.04e-06', photon_flux2='1.70e-08', job_status='DONE', time_completed='2021-09-07 18:28:27.918091', photon_index_error2='0.80', photon_index2='1.85', ts='1.58', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='9.31e-08', energy_flux_error2='1.21e-05', EG='0.87', time_epoch_completed='1631064507.92', return_code='0', job_id='587379', GAL2='1.15', EG2='0.88', return_code2='0', energy_flux_error='8.81e-06', photon_flux_error2='2.22e-08', ts2='2.00', photon_index='2.38' WHERE bin_id='290' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:28:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 587379: <4FGL_J1326.9+2210_daily_bin290> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin290> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep  7 18:15:27 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:15:49 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:15:49 2021
Terminated at Tue Sep  7 18:28:28 2021
Results reported at Tue Sep  7 18:28:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin290 201.73 22.1732 314496001 314755201 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 :                                   533.32 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             212.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            781 sec.

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

