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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin187
RA = 351.575, Dec = 1.2216
tmin = 287798401, tmax = 288057601
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='889908', job_status='RUN', time_executed='2021-09-29 18:45:34.855138', time_epoch_executed='1632966334.86' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='187'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/889908

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/889908/ft1_4FGL_J2326.2+0113_daily_bin187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/889908/ft2_4FGL_J2326.2+0113_daily_bin187.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/889908/ft1_4FGL_J2326.2+0113_daily_bin187.fits outfile=/scratch/kocevski/889908/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin187.fits ra=351.575 dec=1.2216 rad=12.0 tmin=287798401.0 tmax=288057601.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.70
user 3.47
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/889908/ft2_4FGL_J2326.2+0113_daily_bin187.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/889908/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin187.fits evtable="EVENTS" outfile="/scratch/kocevski/889908/ft1_filtered_4FGL_J2326.2+0113_daily_bin187.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/889908/ft1_filtered_4FGL_J2326.2+0113_daily_bin187.fits" evtable="EVENTS" scfile=/scratch/kocevski/889908/ft2_4FGL_J2326.2+0113_daily_bin187.fits sctable="SC_DATA" outfile=/scratch/kocevski/889908/ltcube_287798401_288057601_4FGL_J2326.2+0113_daily_bin187.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/889908/ft2_4FGL_J2326.2+0113_daily_bin187.fits
.....................!
real 11.80
user 11.48
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/889908/ft1_filtered_4FGL_J2326.2+0113_daily_bin187.fits evtable="EVENTS" scfile=/scratch/kocevski/889908/ft2_4FGL_J2326.2+0113_daily_bin187.fits sctable="SC_DATA" expcube=/scratch/kocevski/889908/ltcube_287798401_288057601_4FGL_J2326.2+0113_daily_bin187.fits outfile=/scratch/kocevski/889908/expmap_287798401_288057601_4FGL_J2326.2+0113_daily_bin187.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/889908/ltcube_287798401_288057601_4FGL_J2326.2+0113_daily_bin187.fits
.....................!
real 191.75
user 187.24
sys 4.11

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/889908/ft1_filtered_4FGL_J2326.2+0113_daily_bin187.fits scfile=/scratch/kocevski/889908/ft2_4FGL_J2326.2+0113_daily_bin187.fits outfile=/scratch/kocevski/889908/cmap_287798401_288057601_4FGL_J2326.2+0113_daily_bin187.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.56
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/889908/ft1_filtered_4FGL_J2326.2+0113_daily_bin187.fits scfile=/scratch/kocevski/889908/ft2_4FGL_J2326.2+0113_daily_bin187.fits outfile=/scratch/kocevski/889908/cmap_HighResolution_287798401_288057601_4FGL_J2326.2+0113_daily_bin187.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.41
sys 0.12

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/889908/ft1_filtered_4FGL_J2326.2+0113_daily_bin187.fits', '/scratch/kocevski/889908/ft2_4FGL_J2326.2+0113_daily_bin187.fits', expMap='/scratch/kocevski/889908/expmap_287798401_288057601_4FGL_J2326.2+0113_daily_bin187.fits', expCube='/scratch/kocevski/889908/ltcube_287798401_288057601_4FGL_J2326.2+0113_daily_bin187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/889908/Model_4FGL_J2326.2+0113_daily_bin187.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/889908/ft1_filtered_4FGL_J2326.2+0113_daily_bin187.fits
Spacecraft file(s): /scratch/kocevski/889908/ft2_4FGL_J2326.2+0113_daily_bin187.fits
Exposure map: /scratch/kocevski/889908/expmap_287798401_288057601_4FGL_J2326.2+0113_daily_bin187.fits
Exposure cube: /scratch/kocevski/889908/ltcube_287798401_288057601_4FGL_J2326.2+0113_daily_bin187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/889908/Model_4FGL_J2326.2+0113_daily_bin187.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) = 6095.18749951

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45447       1.0000         .10000E-03   10000.    
     2 'norm      '    14.774       1.0000         .10000E-03   10000.    
     3 'Prefactor '    45.547       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.3777       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.7407       1.0000         .10000E-03   10000.    
     9 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.944       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14881E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.685       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.5133       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .23085E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.4253       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.6305       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.7247       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .71295       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=   6095.181     FROM MIGRAD    STATUS=CONVERGED    567 CALLS     2726 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18912        19.441       -.27298E-05    .13122E-03
   2  norm          14.766        17.284       -.10508E-05   -.10397E-04
   3  Prefactor     45.538        40.456       -.73637E-05    .11434E-04
   4  Prefactor     5.3795        12.683       -.41333E-06   -.54557E-04
   5  Prefactor     .10000E-03    11.732        .93928E-07** at limit **
   6  Prefactor     .10000E-03    30.685        .18921E-05** at limit **
   7  Prefactor     .10000E-03    7.8563       -.13135E-07** at limit **
   8  norm          1.7401        1.2312       -.15173E-06   -.48958E-03
   9  norm          .10000E-03    4.1120       -.12245E-06** at limit **
  10  Prefactor     15.948        11.913       -.42157E-06    .64494E-04
  11  Prefactor     .10000E-03    152.87        .38993E-04** at limit **
  12  norm          .10001E-03    17.539       -.34742E-05** at limit **
  13  Prefactor     12.694        8.8710       -.34556E-05    .11497E-03
  14  Prefactor     .10000E-03    58.985       -.22990E-06** at limit **
  15  Prefactor     .10000E-03    3.3271        .56123E-07** at limit **
  16  Prefactor     .10000E-03    18.941        .58017E-05** at limit **
  17  norm          .10000E-03    9.3120        .96681E-07** at limit **
  18  Prefactor     .10000E-03    23.965       -.33007E-05** at limit **
  19  Prefactor     2.5106        3.6125       -.36885E-06   -.32037E-03
  20  Prefactor     .10000E-03    126.88       -.20291E-04** at limit **
  21  Prefactor     5.3872        34.732        .21432E-05    .10161E-04
  22  Prefactor     5.6333        20.277       -.15030E-05    .13927E-04
  23  Normalizat    1.7254        .24460        .24031E-05    .11473E-03
  24  Prefactor     .71254        .14908        .20858E-06    .17189E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.18912
  norm       = 14.7663
  Prefactor  = 45.5384
  Prefactor  = 5.37951
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.74007
  norm       = 0.0001
  Prefactor  = 15.9479
  Prefactor  = 0.000100001
  norm       = 0.000100005
  Prefactor  = 12.6935
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.51064
  Prefactor  = 0.0001
  Prefactor  = 5.38724
  Prefactor  = 5.63326
  Normalizat = 1.72536
  Prefactor  = 0.712537
 **********
 **   18 **HESSE 
 **********

 FCN=   6095.181     FROM HESSE     STATUS=OK           403 CALLS     3129 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18912        23.319        .98274E-01   -1.5621    
   2  norm          14.766        17.385        .10420E-03   -1.4939    
   3  Prefactor     45.538        40.566        .59408E-04   -1.4357    
   4  Prefactor     5.3795        12.678        .17329E-03   -1.5244    
   5  Prefactor     .10000E-03    11.759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    30.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.9126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.7401        1.2223        .69084E-04   -1.5444    
   9  norm          .10000E-03    4.1719        .15455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.948        11.901        .10031E-03   -1.4909    
  11  Prefactor     .10000E-03    153.28        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10001E-03    17.736        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.694        8.8522        .11247E-03   -1.4995    
  14  Prefactor     .10000E-03    58.985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.3299        .13906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    19.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    9.3360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    23.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.5106        3.6096        .17106E-03   -1.5391    
  20  Prefactor     .10000E-03    128.34        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.3872        34.888        .17252E-03   -1.5244    
  22  Prefactor     5.6333        20.345        .16930E-03   -1.5233    
  23  Normalizat    1.7254        .29033        .26708E-03   -.71628    
  24  Prefactor     .71254        .17401        .25531E-03   -1.0304    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10592e-09
Minuit parameter uncertainties:
  1  4.20064
  2  17.3906
  3  40.5901
  4  12.6843
  5  6.13526e-08
  6  2.76661e-05
  7  1.89346e-05
  8  1.22233
  9  7.65346e-06
  10  11.9023
  11  0.000602894
  12  0.000611153
  13  8.85309
  14  1.27869e-06
  15  1.60603e-06
  16  4.81898e-05
  17  3.66602e-06
  18  1.14593e-05
  19  3.60988
  20  0.000258366
  21  27.4422
  22  20.3704
  23  0.290621
  24  0.174144
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  6.029e-04  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:  7.125e-01  1.741e-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.725e+00  2.906e-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: 8.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/889908/likelihoodResults_287798401_288057601_4FGL_J2326.2+0113_daily_bin187.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): 102
logL (Free Index) = 6095.18066925
delta logL = -3.09508859573e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6095.18066925
delta logL = -3.09496599584e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96360E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1195       1.0000          .0000       10.000    
     3 'Normalizat'    1.7254       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71254       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.

 FCN=   6095.181     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      200 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    51.867        .90713E-02** at limit **
   2  Index         2.1262        8.6971        .50000       -.30843E-06
   3  Normalizat    1.7254        .34384E-02    .60398E-01    .79509E-03
   4  Prefactor     .71254        .22443E-02    .42568E-01    .94295E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100032
  Index      = 2.12623
  Normalizat = 1.72536
  Prefactor  = 0.712538
 **********
 **   18 **HESSE 
 **********

 FCN=   6095.181     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      229 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    1067.8        .18143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1262        7.9548        .50000       -.61230    
   3  Normalizat    1.7254        .15907E-01    .26708E-03   -.71628    
   4  Prefactor     .71254        .10382E-01    .25531E-03   -1.0304    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.15909e-08
Minuit parameter uncertainties:
  1  0.0119612
  2  912.816
  3  0.0159071
  4  0.010382
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/889908': 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): 102
logL (Free Index) = 6095.1806383
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  1.196e-02  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.126e+00  9.128e+02  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:  7.125e-01  1.038e-02  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.725e+00  1.591e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/889908/cmap_HighResolution_287798401_288057601_4FGL_J2326.2+0113_daily_bin187.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.76e-03', job_status='DONE', photon_flux_upper_limit='8.93e-08', time_completed='2021-09-29 18:56:24.471615', job_id='889908', GAL2='0.71', fit_tolerance='1e-08', EG2='1.73', EG='1.73', time_epoch_completed='1632966984.47', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='-3.64e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='187' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:56:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 889908: <4FGL_J2326.2+0113_daily_bin187> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin187> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 18:45:15 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:45:17 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:45:17 2021
Terminated at Wed Sep 29 18:56:25 2021
Results reported at Wed Sep 29 18:56:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin187 351.575 1.2216 287798401 288057601 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 :                                   645.00 sec.
    Max Memory :                                 1027 MB
    Average Memory :                             350.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   667 sec.
    Turnaround time :                            670 sec.

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

