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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin291
RA = 351.575, Dec = 1.2216
tmin = 314755201, tmax = 315014401
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='890062', job_status='RUN', time_executed='2021-09-29 18:49:25.026139', time_epoch_executed='1632966565.03' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='291'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/890062

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/890062/ft1_4FGL_J2326.2+0113_daily_bin291.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/890062/ft2_4FGL_J2326.2+0113_daily_bin291.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/890062/ft1_4FGL_J2326.2+0113_daily_bin291.fits outfile=/scratch/kocevski/890062/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin291.fits ra=351.575 dec=1.2216 rad=12.0 tmin=314755201.0 tmax=315014401.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.44
user 3.23
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/890062/ft2_4FGL_J2326.2+0113_daily_bin291.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/890062/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin291.fits evtable="EVENTS" outfile="/scratch/kocevski/890062/ft1_filtered_4FGL_J2326.2+0113_daily_bin291.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.49
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/890062/ft1_filtered_4FGL_J2326.2+0113_daily_bin291.fits" evtable="EVENTS" scfile=/scratch/kocevski/890062/ft2_4FGL_J2326.2+0113_daily_bin291.fits sctable="SC_DATA" outfile=/scratch/kocevski/890062/ltcube_314755201_315014401_4FGL_J2326.2+0113_daily_bin291.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/890062/ft2_4FGL_J2326.2+0113_daily_bin291.fits
.....................!
real 11.87
user 11.53
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/890062/ft1_filtered_4FGL_J2326.2+0113_daily_bin291.fits evtable="EVENTS" scfile=/scratch/kocevski/890062/ft2_4FGL_J2326.2+0113_daily_bin291.fits sctable="SC_DATA" expcube=/scratch/kocevski/890062/ltcube_314755201_315014401_4FGL_J2326.2+0113_daily_bin291.fits outfile=/scratch/kocevski/890062/expmap_314755201_315014401_4FGL_J2326.2+0113_daily_bin291.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/890062/ltcube_314755201_315014401_4FGL_J2326.2+0113_daily_bin291.fits
.....................!
real 190.16
user 184.91
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 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/890062/ft1_filtered_4FGL_J2326.2+0113_daily_bin291.fits scfile=/scratch/kocevski/890062/ft2_4FGL_J2326.2+0113_daily_bin291.fits outfile=/scratch/kocevski/890062/cmap_314755201_315014401_4FGL_J2326.2+0113_daily_bin291.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/890062/ft1_filtered_4FGL_J2326.2+0113_daily_bin291.fits scfile=/scratch/kocevski/890062/ft2_4FGL_J2326.2+0113_daily_bin291.fits outfile=/scratch/kocevski/890062/cmap_HighResolution_314755201_315014401_4FGL_J2326.2+0113_daily_bin291.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/890062/ft1_filtered_4FGL_J2326.2+0113_daily_bin291.fits evtable="EVENTS" scfile=/scratch/kocevski/890062/ft2_4FGL_J2326.2+0113_daily_bin291.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/890062/Model_4FGL_J2326.2+0113_daily_bin291.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/890062/ft1_filtered_4FGL_J2326.2+0113_daily_bin291.fits.....................!
real 79.62
user 78.27
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.711       1.0000         .10000E-03   10000.    
     2 'norm      '    7.8478       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.2373       1.0000         .10000E-03   10000.    
     4 'Prefactor '    32.817       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.9715       1.0000         .10000E-03   10000.    
     6 'Prefactor '    28.658       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10624E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .33987       1.0000         .10000E-03   10000.    
     9 'norm      '    1.8869       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.319       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    13.472       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.2315       1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.999       1.0000         .10000E-03   10000.    
    17 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.8537       1.0000         .10000E-03   10000.    
    20 'Prefactor '    28.931       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .56563E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .80257       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0576       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=   7804.499     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2724 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.704        14.476        .29210E-05   -.10610E-03
   2  norm          7.8484        7.1468        .93378E-06   -.38126E-05
   3  Prefactor     9.2394        29.340        .34409E-08   -.12615E-04
   4  Prefactor     32.812        18.864        .98112E-06   -.11666E-04
   5  Prefactor     9.9724        13.102       -.45341E-06   -.32980E-04
   6  Prefactor     28.643        36.023       -.11196E-04   -.84814E-05
   7  Prefactor     .10000E-03    4.7366        .52458E-06** at limit **
   8  norm          .33837        .63123       -.98257E-07   -.17704E-02
   9  norm          1.8864        3.7609        .14908E-06   -.78080E-03
  10  Prefactor     14.319        8.9469       -.50735E-06   -.11255E-04
  11  Prefactor     .10000E-03    18.536       -.89835E-05** at limit **
  12  norm          13.469        8.6964       -.79562E-06   -.91691E-04
  13  Prefactor     .10000E-03    6.9939        .15613E-06** at limit **
  14  Prefactor     .10000E-03    124.35       -.11774E-04** at limit **
  15  Prefactor     3.2404        11.267       -.16785E-05   -.29147E-03
  16  Prefactor     27.001        21.476       -.96164E-06   -.43416E-04
  17  norm          .10000E-03    23.703        .37916E-05** at limit **
  18  Prefactor     .10000E-03    14.262       -.73623E-05** at limit **
  19  Prefactor     5.8530        4.7472        .20148E-06   -.49883E-03
  20  Prefactor     28.924        35.050       -.62561E-05   -.54920E-04
  21  Prefactor     .10000E-03    15.140        .12796E-04** at limit **
  22  Prefactor     .10449E-03    10.044        .24606E-05** at limit **
  23  Normalizat    .80319        .19215        .16027E-05   -.34374E-03
  24  Prefactor     1.0572        .12629        .11054E-07   -.34397E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.7035
  norm       = 7.84841
  Prefactor  = 9.2394
  Prefactor  = 32.8118
  Prefactor  = 9.97243
  Prefactor  = 28.6428
  Prefactor  = 0.000100001
  norm       = 0.338374
  norm       = 1.88644
  Prefactor  = 14.3195
  Prefactor  = 0.0001
  norm       = 13.4689
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.24043
  Prefactor  = 27.0012
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.853
  Prefactor  = 28.9238
  Prefactor  = 0.0001
  Prefactor  = 0.000104491
  Normalizat = 0.803186
  Prefactor  = 1.05718
 **********
 **   18 **HESSE 
 **********

 FCN=   7804.499     FROM HESSE     STATUS=OK           409 CALLS     3133 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.704        14.472        .90215E-04   -1.4820    
   2  norm          7.8484        7.1438        .14314E-03   -1.5148    
   3  Prefactor     9.2394        29.301        .13187E-03   -1.5100    
   4  Prefactor     32.812        18.835        .69948E-04   -1.4562    
   5  Prefactor     9.9724        13.096        .12690E-03   -1.5076    
   6  Prefactor     28.643        35.793        .74838E-04   -1.4637    
   7  Prefactor     .10000E-03    4.7656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .33837        .54111        .89143E-03   -1.5592    
   9  norm          1.8864        3.7169        .22926E-03   -1.5433    
  10  Prefactor     14.319        8.9398        .10585E-03   -1.4951    
  11  Prefactor     .10000E-03    18.514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          13.469        8.6786        .10913E-03   -1.4974    
  13  Prefactor     .10000E-03    7.1335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    124.27        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.2404        10.921        .22534E-03   -1.5348    
  16  Prefactor     27.001        21.465        .77100E-04   -1.4668    
  17  norm          .10000E-03    23.802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    14.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.8530        4.6541        .14104E-03   -1.5224    
  20  Prefactor     28.924        35.073        .74485E-04   -1.4632    
  21  Prefactor     .10000E-03    15.191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10449E-03    128.63        .52703E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .80319        .21863        .32026E-03   -.99951    
  24  Prefactor     1.0572        .14619        .19931E-03   -.90847    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.26254e-08
Minuit parameter uncertainties:
  1  14.4746
  2  7.14459
  3  29.3469
  4  18.8383
  5  13.1001
  6  35.8193
  7  0.0001152
  8  0.541113
  9  3.71738
  10  8.94059
  11  1.92919e-05
  12  8.67939
  13  2.18944e-05
  14  8.15429e-05
  15  10.9273
  16  21.4715
  17  0.000114817
  18  1.05083e-05
  19  4.65442
  20  35.0981
  21  2.88638e-05
  22  0.0481729
  23  0.218873
  24  0.146242
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  1.929e-05  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.057e+00  1.462e-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:  8.032e-01  2.189e-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.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/890062/likelihoodResults_314755201_315014401_4FGL_J2326.2+0113_daily_bin291.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) = 7804.49908657
delta logL = -0.000257209780102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7804.49883069
delta logL = -1.33757839649e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3343       1.0000          .0000       10.000    
     3 'Normalizat'    .80319       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0572       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=   7804.499     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      278 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10384E-03    3.1616        .18142E-01** at limit **
   2  Index         2.2428        6.0374        .50000        .27765E-04
   3  Normalizat    .80319        .20704E-02    .32025E-03    .11005E-05
   4  Prefactor     1.0572        .14695E-02    .19931E-03   -.60029E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103838
  Index      = 2.24283
  Normalizat = 0.803189
  Prefactor  = 1.05718
 **********
 **   18 **HESSE 
 **********

 FCN=   7804.499     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      307 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10384E-03    38.916        .33134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2428        7.3023        .50000       -.58408    
   3  Normalizat    .80319        .72617E-02    .12810E-04   -.99950    
   4  Prefactor     1.0572        .51539E-02    .39862E-04   -.90847    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.88699e-09
Minuit parameter uncertainties:
  1  0.0244576
  2  127.024
  3  0.00726175
  4  0.00515391
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/890062': 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) = 7804.49883015
delta logL = -7.97033862909e-07

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.038e-04  2.446e-02  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.243e+00  1.270e+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:  1.057e+00  5.154e-03  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:  8.032e-01  7.262e-03  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/890062/cmap_HighResolution_314755201_315014401_4FGL_J2326.2+0113_daily_bin291.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.35e-03', job_status='DONE', photon_flux_upper_limit='4.42e-08', time_completed='2021-09-29 19:01:50.906119', job_id='890062', GAL2='1.06', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1632967310.91', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='-7.97e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='291' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:01:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 890062: <4FGL_J2326.2+0113_daily_bin291> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin291> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 18:45:27 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:45:28 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:28 2021
Terminated at Wed Sep 29 19:01:51 2021
Results reported at Wed Sep 29 19:01:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin291 351.575 1.2216 314755201 315014401 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 :                                   744.39 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             242.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              6
    Max Threads :                                22
    Run time :                                   983 sec.
    Turnaround time :                            984 sec.

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

