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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin715
RA = 351.575, Dec = 1.2216
tmin = 424656001, tmax = 424915201
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='891765', job_status='RUN', time_executed='2021-09-29 18:51:20.443181', time_epoch_executed='1632966680.44' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891765

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891765/ft1_4FGL_J2326.2+0113_daily_bin715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891765/ft2_4FGL_J2326.2+0113_daily_bin715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891765/ft1_4FGL_J2326.2+0113_daily_bin715.fits outfile=/scratch/kocevski/891765/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin715.fits ra=351.575 dec=1.2216 rad=12.0 tmin=424656001.0 tmax=424915201.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 4.54
user 4.29
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/891765/ft2_4FGL_J2326.2+0113_daily_bin715.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/891765/ft2_4FGL_J2326.2+0113_daily_bin715.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/891765/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin715.fits evtable="EVENTS" outfile="/scratch/kocevski/891765/ft1_filtered_4FGL_J2326.2+0113_daily_bin715.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.48
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/891765/ft1_filtered_4FGL_J2326.2+0113_daily_bin715.fits" evtable="EVENTS" scfile=/scratch/kocevski/891765/ft2_4FGL_J2326.2+0113_daily_bin715.fits sctable="SC_DATA" outfile=/scratch/kocevski/891765/ltcube_424656001_424915201_4FGL_J2326.2+0113_daily_bin715.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/891765/ft2_4FGL_J2326.2+0113_daily_bin715.fits
.....................!
real 11.69
user 11.32
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891765/ft1_filtered_4FGL_J2326.2+0113_daily_bin715.fits evtable="EVENTS" scfile=/scratch/kocevski/891765/ft2_4FGL_J2326.2+0113_daily_bin715.fits sctable="SC_DATA" expcube=/scratch/kocevski/891765/ltcube_424656001_424915201_4FGL_J2326.2+0113_daily_bin715.fits outfile=/scratch/kocevski/891765/expmap_424656001_424915201_4FGL_J2326.2+0113_daily_bin715.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/891765/ltcube_424656001_424915201_4FGL_J2326.2+0113_daily_bin715.fits
.....................!
real 191.21
user 186.04
sys 4.85

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 160 point sources and 0 extended sources

Setting source of interest to:
4FGL J2326.2+0113 @ 351.575 1.2216

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/891765/ft1_filtered_4FGL_J2326.2+0113_daily_bin715.fits scfile=/scratch/kocevski/891765/ft2_4FGL_J2326.2+0113_daily_bin715.fits outfile=/scratch/kocevski/891765/cmap_424656001_424915201_4FGL_J2326.2+0113_daily_bin715.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=351.575 yref=1.2216 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.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891765/ft1_filtered_4FGL_J2326.2+0113_daily_bin715.fits scfile=/scratch/kocevski/891765/ft2_4FGL_J2326.2+0113_daily_bin715.fits outfile=/scratch/kocevski/891765/cmap_HighResolution_424656001_424915201_4FGL_J2326.2+0113_daily_bin715.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=351.575 yref=1.2216 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/891765/ft1_filtered_4FGL_J2326.2+0113_daily_bin715.fits evtable="EVENTS" scfile=/scratch/kocevski/891765/ft2_4FGL_J2326.2+0113_daily_bin715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/891765/Model_4FGL_J2326.2+0113_daily_bin715.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/891765/ft1_filtered_4FGL_J2326.2+0113_daily_bin715.fits.....................!
real 78.42
user 77.13
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/891765/ft1_filtered_4FGL_J2326.2+0113_daily_bin715.fits', '/scratch/kocevski/891765/ft2_4FGL_J2326.2+0113_daily_bin715.fits', expMap='/scratch/kocevski/891765/expmap_424656001_424915201_4FGL_J2326.2+0113_daily_bin715.fits', expCube='/scratch/kocevski/891765/ltcube_424656001_424915201_4FGL_J2326.2+0113_daily_bin715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/891765/Model_4FGL_J2326.2+0113_daily_bin715.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2326.2+0113'

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  4.628e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.119e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
408        Scale:  2.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/891765/ft1_filtered_4FGL_J2326.2+0113_daily_bin715.fits
Spacecraft file(s): /scratch/kocevski/891765/ft2_4FGL_J2326.2+0113_daily_bin715.fits
Exposure map: /scratch/kocevski/891765/expmap_424656001_424915201_4FGL_J2326.2+0113_daily_bin715.fits
Exposure cube: /scratch/kocevski/891765/ltcube_424656001_424915201_4FGL_J2326.2+0113_daily_bin715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/891765/Model_4FGL_J2326.2+0113_daily_bin715.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) = 7848.84212568

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.657       1.0000         .10000E-03   10000.    
     2 'norm      '    3.3350       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.136       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.017       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.209       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11054E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.0301       1.0000         .10000E-03   10000.    
     9 'norm      '    1.7492       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .33790E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    13.871       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.8518       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .23544E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.4793       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10821E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .11112E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .21948E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.103       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10543E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.9357       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1323       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0056       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7848.815     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2724 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.764        14.875        .28008E-06    .12195E-05
   2  norm          3.3405        6.6417        .16465E-05   -.71221E-05
   3  Prefactor     15.174        35.981       -.45511E-05   -.74465E-07
   4  Prefactor     9.9889        12.846        .52543E-06    .61139E-05
   5  Prefactor     10.167        13.441        .46063E-06    .41996E-05
   6  Prefactor     .10000E-03    17.755       -.12716E-06** at limit **
   7  Prefactor     .10000E-03    3.3541       -.74905E-08** at limit **
   8  norm          2.0305        1.1472       -.22326E-08   -.26690E-04
   9  norm          1.7486        4.0699        .13576E-06   -.52766E-05
  10  Prefactor     .10000E-03    2.3026        .12380E-07** at limit **
  11  Prefactor     .10000E-03    16.190        .70488E-06** at limit **
  12  norm          13.880        9.0350       -.15317E-07    .81192E-05
  13  Prefactor     6.8608        8.0168       -.19469E-07    .42654E-05
  14  Prefactor     .10000E-03    81.794       -.27298E-06** at limit **
  15  Prefactor     5.4762        9.9317       -.21354E-06   -.47332E-04
  16  Prefactor     .10000E-03    8.5559       -.96528E-07** at limit **
  17  norm          .10000E-03    26.581        .15052E-05** at limit **
  18  Prefactor     .10000E-03    17.648       -.35971E-06** at limit **
  19  Prefactor     .10000E-03    2.4218       -.71788E-07** at limit **
  20  Prefactor     12.089        23.413        .34610E-06   -.53354E-06
  21  Prefactor     .10000E-03    8.1319       -.10889E-07** at limit **
  22  Prefactor     4.9394        9.9744       -.56275E-07   -.11839E-05
  23  Normalizat    1.1321        .18879       -.85000E-07   -.10784E-04
  24  Prefactor     1.0057        .12743        .12256E-06   -.33028E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.7637
  norm       = 3.34054
  Prefactor  = 15.1737
  Prefactor  = 9.98894
  Prefactor  = 10.167
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.03054
  norm       = 1.74864
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.88
  Prefactor  = 6.86081
  Prefactor  = 0.0001
  Prefactor  = 5.47616
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.0886
  Prefactor  = 0.0001
  Prefactor  = 4.93938
  Normalizat = 1.13212
  Prefactor  = 1.00569
 **********
 **   18 **HESSE 
 **********

 FCN=   7848.815     FROM HESSE     STATUS=OK           401 CALLS     3125 TOTAL
                     EDM=   .81E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.764        14.897        .84151E-04   -1.4753    
   2  norm          3.3405        6.6465        .11082E-02   -1.5342    
   3  Prefactor     15.174        36.007        .10295E-03   -1.4929    
   4  Prefactor     9.9889        12.848        .12660E-03   -1.5076    
   5  Prefactor     10.167        13.445        .12541E-03   -1.5070    
   6  Prefactor     .10000E-03    17.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.4040        .15832E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0305        1.1342        .64881E-04   -1.5423    
   9  norm          1.7486        4.0272        .25937E-03   -1.5443    
  10  Prefactor     .10000E-03    2.3052        .13127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    16.195        .21339E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          13.880        9.0028        .10755E-03   -1.4963    
  13  Prefactor     6.8608        7.9838        .15328E-03   -1.5184    
  14  Prefactor     .10000E-03    81.804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.4762        9.8707        .17165E-03   -1.5240    
  16  Prefactor     .10000E-03    8.5708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    26.869        .20692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    17.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.4657        .26800E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.089        23.418        .11515E-03   -1.5012    
  21  Prefactor     .10000E-03    8.1496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.9394        9.9735        .18103E-03   -1.5263    
  23  Normalizat    1.1321        .22026        .28843E-03   -.88727    
  24  Prefactor     1.0057        .14880        .21404E-03   -.92540    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.14059e-11
Minuit parameter uncertainties:
  1  14.8999
  2  6.64795
  3  36.0581
  4  12.8511
  5  13.4495
  6  4.02468e-06
  7  1.29994e-06
  8  1.13424
  9  4.02779
  10  1.05317e-06
  11  3.03944e-06
  12  9.00363
  13  7.98502
  14  4.90107e-07
  15  9.87366
  16  3.30512e-08
  17  1.8337e-05
  18  2.34025e-06
  19  1.26735e-06
  20  23.4361
  21  3.63374e-06
  22  9.97681
  23  0.220435
  24  0.148859
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  3.039e-06  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.119e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
408        Scale:  2.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.006e+00  1.489e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.132e+00  2.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.575 1.222
Photon Flux Upper Limit: 4.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/891765/likelihoodResults_424656001_424915201_4FGL_J2326.2+0113_daily_bin715.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) = 7848.81560184
delta logL = -0.000294054694677

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7848.81530819
delta logL = -4.00043973059e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10568E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2218       1.0000          .0000       10.000    
     3 'Normalizat'    1.1321       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0057       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+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=   7848.815     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      264 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.424        .18142E-02** at limit **
   2  Index         2.2049        6.1014        .50000        .91183E-05
   3  Normalizat    1.1321        .20763        .28843E-03    .51911E-04
   4  Prefactor     1.0057        .14711        .21404E-03   -.65332E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.20487
  Normalizat = 1.13212
  Prefactor  = 1.00568
 **********
 **   18 **HESSE 
 **********

 FCN=   7848.815     FROM HESSE     STATUS=OK            29 CALLS      293 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.265        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2049        6.1018        .50000       -.59321    
   3  Normalizat    1.1321        .20782        .11537E-04   -.88727    
   4  Prefactor     1.0057        .14724        .85615E-05   -.92540    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1361e-10
Minuit parameter uncertainties:
  1  0.000279503
  2  4.14904
  3  0.207968
  4  0.1473
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891765': 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) = 7848.81530796
delta logL = -1.73418811755e-07

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  2.795e-04  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.205e+00  4.149e+00  0.000e+00  1.000e+01 (-1.000e+00)
408        Scale:  2.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.006e+00  1.473e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.132e+00  2.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.575 1.222

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/891765/cmap_HighResolution_424656001_424915201_4FGL_J2326.2+0113_daily_bin715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.61e-03', job_status='DONE', photon_flux_upper_limit='4.77e-08', time_completed='2021-09-29 19:03:54.280796', job_id='891765', GAL2='1.01', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1632967434.28', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='-1.73e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='715' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:03:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 891765: <4FGL_J2326.2+0113_daily_bin715> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin715> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 18:51:04 2021
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:51:06 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 18:51:06 2021
Terminated at Wed Sep 29 19:03:55 2021
Results reported at Wed Sep 29 19:03:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin715 351.575 1.2216 424656001 424915201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2326.2+0113 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   745.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             307.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   768 sec.
    Turnaround time :                            771 sec.

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

