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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin996
RA = 201.73, Dec = 22.1732
tmin = 497491201, tmax = 497750401
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='592895', job_status='RUN', time_executed='2021-09-07 18:40:05.610496', time_epoch_executed='1631065205.61' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='996'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592895

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592895/ft1_4FGL_J1326.9+2210_daily_bin996.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592895/ft2_4FGL_J1326.9+2210_daily_bin996.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592895/ft1_4FGL_J1326.9+2210_daily_bin996.fits outfile=/scratch/kocevski/592895/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin996.fits ra=201.73 dec=22.1732 rad=12.0 tmin=497491201.0 tmax=497750401.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.25
user 3.02
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/592895/ft2_4FGL_J1326.9+2210_daily_bin996.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/592895/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin996.fits evtable="EVENTS" outfile="/scratch/kocevski/592895/ft1_filtered_4FGL_J1326.9+2210_daily_bin996.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.46
user 0.30
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592895/ft1_filtered_4FGL_J1326.9+2210_daily_bin996.fits" evtable="EVENTS" scfile=/scratch/kocevski/592895/ft2_4FGL_J1326.9+2210_daily_bin996.fits sctable="SC_DATA" outfile=/scratch/kocevski/592895/ltcube_497491201_497750401_4FGL_J1326.9+2210_daily_bin996.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/592895/ft2_4FGL_J1326.9+2210_daily_bin996.fits
.....................!
real 15.27
user 14.89
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592895/ft1_filtered_4FGL_J1326.9+2210_daily_bin996.fits evtable="EVENTS" scfile=/scratch/kocevski/592895/ft2_4FGL_J1326.9+2210_daily_bin996.fits sctable="SC_DATA" expcube=/scratch/kocevski/592895/ltcube_497491201_497750401_4FGL_J1326.9+2210_daily_bin996.fits outfile=/scratch/kocevski/592895/expmap_497491201_497750401_4FGL_J1326.9+2210_daily_bin996.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/592895/ltcube_497491201_497750401_4FGL_J1326.9+2210_daily_bin996.fits
.....................!
real 158.21
user 153.00
sys 4.67

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/592895/ft1_filtered_4FGL_J1326.9+2210_daily_bin996.fits scfile=/scratch/kocevski/592895/ft2_4FGL_J1326.9+2210_daily_bin996.fits outfile=/scratch/kocevski/592895/cmap_497491201_497750401_4FGL_J1326.9+2210_daily_bin996.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.51
user 0.34
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592895/ft1_filtered_4FGL_J1326.9+2210_daily_bin996.fits scfile=/scratch/kocevski/592895/ft2_4FGL_J1326.9+2210_daily_bin996.fits outfile=/scratch/kocevski/592895/cmap_HighResolution_497491201_497750401_4FGL_J1326.9+2210_daily_bin996.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.52
user 0.35
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62170       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.1844       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    34.904       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.7578       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.629       1.0000         .10000E-03   10000.    
    10 'norm      '    7.9830       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.742       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.181       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12686E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.0278       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.4665       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .63363       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=   5176.051     FROM MIGRAD    STATUS=CONVERGED    372 CALLS     1562 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .63269        6.2148        .41054E-05   -.10766E-02
   2  Prefactor     .10000E-03    3.8990        .19218E-06** at limit **
   3  norm          6.1841        3.8893       -.26278E-06   -.37665E-03
   4  norm          .10000E-03    1.9532        .21401E-06** at limit **
   5  norm          .10000E-03    2.3345        .15493E-06** at limit **
   6  norm          34.919        25.874        .10731E-04   -.35973E-04
   7  Prefactor     .10000E-03    11.288        .11927E-05** at limit **
   8  norm          3.7546        11.703       -.35020E-05   -.40917E-03
   9  Prefactor     13.716        52.880        .19414E-03    .20915E-04
  10  norm          7.9838        14.009        .26428E-05   -.11270E-03
  11  Prefactor     16.744        14.721        .17456E-05   -.88296E-04
  12  Prefactor     .10000E-03    16.216       -.17595E-05** at limit **
  13  Prefactor     14.157        74.416       -.59119E-04   -.39792E-04
  14  Prefactor     .10005E-03    1.7117        .10815E-05** at limit **
  15  Prefactor     8.0248        16.695        .26126E-05   -.73222E-04
  16  Prefactor     .10000E-03    4.3095        .61704E-07** at limit **
  17  Normalizat    1.4665        .18943       -.39743E-05   -.50538E-03
  18  Prefactor     .63357        .17917       -.10255E-04   -.36744E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.632691
  Prefactor  = 0.0001
  norm       = 6.18414
  norm       = 0.0001
  norm       = 0.0001
  norm       = 34.9186
  Prefactor  = 0.0001
  norm       = 3.75461
  Prefactor  = 13.7161
  norm       = 7.9838
  Prefactor  = 16.744
  Prefactor  = 0.0001
  Prefactor  = 14.1569
  Prefactor  = 0.000100048
  Prefactor  = 8.02482
  Prefactor  = 0.0001
  Normalizat = 1.46652
  Prefactor  = 0.633574
 **********
 **   18 **HESSE 
 **********

 FCN=   5176.051     FROM HESSE     STATUS=OK           256 CALLS     1818 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .63269        13.429        .34040E-02   -1.5549    
   2  Prefactor     .10000E-03    3.9050        .13874E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.1841        3.8834        .10823E-03   -1.5211    
   4  norm          .10000E-03    1.9867        .98161E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.3429        .10735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          34.919        25.794        .67831E-04   -1.4525    
   7  Prefactor     .10000E-03    11.418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.7546        11.239        .20827E-03   -1.5320    
   9  Prefactor     13.716        52.740        .10850E-03   -1.4967    
  10  norm          7.9838        13.510        .14191E-03   -1.5143    
  11  Prefactor     16.744        14.760        .97884E-04   -1.4889    
  12  Prefactor     .10000E-03    16.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.157        74.778        .10636E-03   -1.4955    
  14  Prefactor     .10005E-03    3.1005        .33855E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.0248        16.685        .14151E-03   -1.5141    
  16  Prefactor     .10000E-03    4.3280        .14584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.4665        .22176        .20913E-03   -.78724    
  18  Prefactor     .63357        .20802        .29091E-03   -1.0619    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.55878e-09
Minuit parameter uncertainties:
  1  5.83083
  2  6.24461e-06
  3  3.88353
  4  2.65727e-05
  5  1.1137e-05
  6  25.8021
  7  0.000106443
  8  11.245
  9  52.9201
  10  13.5152
  11  14.7628
  12  9.05546e-05
  13  65.2006
  14  0.000772953
  15  16.6944
  16  4.05044e-05
  17  0.221909
  18  0.208272
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  7.984e+00  1.352e+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:  6.336e-01  2.083e-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.467e+00  2.219e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/592895/likelihoodResults_497491201_497750401_4FGL_J1326.9+2210_daily_bin996.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) = 5175.41418625
delta logL = 0.636363125589

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5175.41285356
delta logL = 0.637695815146

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3387       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4042       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4172       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66191       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=   5175.413     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      269 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3323        102.14        .43484E-02    .31076E-03
   2  alpha         3.4028        4.0547        .37264        .40117E-04
   3  Normalizat    1.4178        .66305E-01    .47925E-01    .45933E-05
   4  Prefactor     .66178        .63581E-01    .64429E-01    .24214E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.33226
  alpha      = 3.40282
  Normalizat = 1.41775
  Prefactor  = 0.661775
 **********
 **   18 **HESSE 
 **********

 FCN=   5175.413     FROM HESSE     STATUS=OK            33 CALLS      302 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3323        8.8065        .12593E-03   -1.5246    
   2  alpha         3.4028        1.1104        .15099E-01    .36948    
   3  Normalizat    1.4178        .21988        .21186E-03   -.80117    
   4  Prefactor     .66178        .20595        .28505E-03   -1.0504    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07162e-11
Minuit parameter uncertainties:
  1  8.80859
  2  1.15738
  3  0.220023
  4  0.206184
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592895': 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) = 5175.41284281
delta logL = 0.637706570309

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  5.332e+00  8.809e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  3.403e+00  1.157e+00  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:  6.618e-01  2.062e-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.418e+00  2.200e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.02
Ra Dec: 201.730 22.173
Photon Index (Free Index): 3.40 +/- 1.16
Photon Flux (Free Index): 7.21e-08 +/- 5.92e-08
Energy Flux (Free Index): 1.29e-05 +/- 1.12e-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/592895/cmap_HighResolution_497491201_497750401_4FGL_J1326.9+2210_daily_bin996.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.87e-05', comment='SUCCESS', energy_flux2='1.29e-05', dlogl='6.38e-01', photon_flux2='7.21e-08', job_status='DONE', time_completed='2021-09-07 18:47:22.844184', photon_index_error2='1.16', photon_index2='3.40', ts='0.68', fit_tolerance='1e-08', GAL='0.63', photon_index_error='0.00', photon_flux_upper_limit='1.24e-07', energy_flux_error2='1.12e-05', EG='1.47', time_epoch_completed='1631065642.84', return_code='0', job_id='592895', GAL2='0.66', EG2='1.42', return_code2='0', photon_flux_error2='5.92e-08', ts2='2.02', photon_index='2.38' WHERE bin_id='996' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:47:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0175>
Subject: Job 592895: <4FGL_J1326.9+2210_daily_bin996> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin996 201.73 22.1732 497491201 497750401 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 :                                   433.43 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             250.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   650 sec.
    Turnaround time :                            714 sec.

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

