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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin965
RA = 351.575, Dec = 1.2216
tmin = 489456001, tmax = 489715201
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='893185', job_status='RUN', time_executed='2021-09-29 18:59:16.778898', time_epoch_executed='1632967156.78' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='965'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/893185

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/893185/ft1_4FGL_J2326.2+0113_daily_bin965.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/893185/ft2_4FGL_J2326.2+0113_daily_bin965.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/893185/ft1_4FGL_J2326.2+0113_daily_bin965.fits outfile=/scratch/kocevski/893185/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin965.fits ra=351.575 dec=1.2216 rad=12.0 tmin=489456001.0 tmax=489715201.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 5.17
user 4.93
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/893185/ft1_filtered_4FGL_J2326.2+0113_daily_bin965.fits" evtable="EVENTS" scfile=/scratch/kocevski/893185/ft2_4FGL_J2326.2+0113_daily_bin965.fits sctable="SC_DATA" outfile=/scratch/kocevski/893185/ltcube_489456001_489715201_4FGL_J2326.2+0113_daily_bin965.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/893185/ft2_4FGL_J2326.2+0113_daily_bin965.fits
.....................!
real 11.66
user 11.33
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/893185/ft1_filtered_4FGL_J2326.2+0113_daily_bin965.fits evtable="EVENTS" scfile=/scratch/kocevski/893185/ft2_4FGL_J2326.2+0113_daily_bin965.fits sctable="SC_DATA" expcube=/scratch/kocevski/893185/ltcube_489456001_489715201_4FGL_J2326.2+0113_daily_bin965.fits outfile=/scratch/kocevski/893185/expmap_489456001_489715201_4FGL_J2326.2+0113_daily_bin965.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/893185/ltcube_489456001_489715201_4FGL_J2326.2+0113_daily_bin965.fits
.....................!
real 190.23
user 186.09
sys 3.80

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/893185/ft1_filtered_4FGL_J2326.2+0113_daily_bin965.fits scfile=/scratch/kocevski/893185/ft2_4FGL_J2326.2+0113_daily_bin965.fits outfile=/scratch/kocevski/893185/cmap_489456001_489715201_4FGL_J2326.2+0113_daily_bin965.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/893185/ft1_filtered_4FGL_J2326.2+0113_daily_bin965.fits scfile=/scratch/kocevski/893185/ft2_4FGL_J2326.2+0113_daily_bin965.fits outfile=/scratch/kocevski/893185/cmap_HighResolution_489456001_489715201_4FGL_J2326.2+0113_daily_bin965.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.57
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.762       1.0000         .10000E-03   10000.    
     2 'norm      '    6.0776       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.1775       1.0000         .10000E-03   10000.    
     4 'Prefactor '    27.010       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.059       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.5460       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.146       1.0000         .10000E-03   10000.    
    12 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10356E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .17522E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .13339E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.9672       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10201E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    70.902       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10192E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .74157       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0136       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=   6151.444     FROM MIGRAD    STATUS=CONVERGED    557 CALLS     2366 TOTAL
                     EDM=   .22E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.762        16.724        .78143E-08   -.14898E-04
   2  norm          6.0774        6.3489       -.13117E-07    .33526E-05
   3  Prefactor     4.1705        113.02       -.13419E-05   -.40207E-05
   4  Prefactor     27.009        14.992        .29182E-07   -.17322E-04
   5  Prefactor     .10000E-03    8.9862       -.11922E-06** at limit **
   6  Prefactor     14.075        27.383        .39479E-06    .10648E-04
   7  Prefactor     .10000E-03    6.8670        .18898E-06** at limit **
   8  norm          .10000E-03    .28570        .31582E-07** at limit **
   9  norm          .10000E-03    3.4685        .85612E-07** at limit **
  10  Prefactor     3.5470        6.1941       -.54684E-06    .83743E-05
  11  Prefactor     13.141        25.762       -.26158E-06   -.25272E-05
  12  norm          .10000E-03    2.8092       -.46677E-07** at limit **
  13  Prefactor     .10000E-03    10.114        .30605E-06** at limit **
  14  Prefactor     .10000E-03    77.913       -.13008E-05** at limit **
  15  Prefactor     .10000E-03    13.317        .63479E-06** at limit **
  16  Prefactor     .10000E-03    62.126        .22151E-05** at limit **
  17  norm          .10000E-03    137.43       -.28871E-05** at limit **
  18  Prefactor     .10000E-03    25.132       -.72603E-06** at limit **
  19  Prefactor     1.9742        3.9212       -.14051E-05   -.32820E-04
  20  Prefactor     .10000E-03    11.748       -.33568E-06** at limit **
  21  Prefactor     70.896        29.836       -.67188E-07   -.63951E-04
  22  Prefactor     .10000E-03    18.019        .85229E-06** at limit **
  23  Normalizat    .74153        .19087        .25321E-06   -.87582E-04
  24  Prefactor     1.0137        .12735        .24887E-08   -.16070E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.7616
  norm       = 6.07743
  Prefactor  = 4.17046
  Prefactor  = 27.0094
  Prefactor  = 0.0001
  Prefactor  = 14.0745
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 3.54704
  Prefactor  = 13.1408
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.9742
  Prefactor  = 0.0001
  Prefactor  = 70.8963
  Prefactor  = 0.0001
  Normalizat = 0.741527
  Prefactor  = 1.01372
 **********
 **   18 **HESSE 
 **********

 FCN=   6151.444     FROM HESSE     STATUS=OK           395 CALLS     2761 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.762        16.735        .97827E-04   -1.4889    
   2  norm          6.0774        6.3507        .16286E-03   -1.5215    
   3  Prefactor     4.1705        112.26        .19719E-03   -1.5300    
   4  Prefactor     27.009        14.984        .77083E-04   -1.4668    
   5  Prefactor     .10000E-03    9.0050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.075        27.434        .10682E-03   -1.4957    
   7  Prefactor     .10000E-03    6.9541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .29669        .81783E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.5314        .14249E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.5470        6.1990        .10732E-02   -1.5331    
  11  Prefactor     13.141        25.755        .11048E-03   -1.4983    
  12  norm          .10000E-03    2.8168        .12837E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.517        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    77.979        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    13.709        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    62.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    134.20        .59461E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    25.188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.9742        3.9515        .20325E-03   -1.5427    
  20  Prefactor     .10000E-03    11.752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     70.896        29.875        .47675E-04   -1.4022    
  22  Prefactor     .10000E-03    18.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .74153        .21930        .30722E-03   -1.0228    
  24  Prefactor     1.0137        .14753        .18757E-03   -.92274    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61467e-11
Minuit parameter uncertainties:
  1  16.7394
  2  6.35136
  3  43.3644
  4  14.9863
  5  2.58865e-06
  6  27.4581
  7  4.18547e-05
  8  2.88685e-07
  9  1.21474e-05
  10  6.20016
  11  25.7764
  12  2.13186e-06
  13  2.97573e-05
  14  6.13636e-05
  15  1.24738e-05
  16  9.79131e-05
  17  0.00014847
  18  2.92215e-05
  19  3.95198
  20  2.45409e-06
  21  29.881
  22  1.44959e-05
  23  0.219565
  24  0.147593
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.314e+01  2.578e+01  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.014e+00  1.476e-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:  7.415e-01  2.196e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/893185/likelihoodResults_489456001_489715201_4FGL_J2326.2+0113_daily_bin965.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) = 6150.59291952
delta logL = 0.851462041767

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6150.49130463
delta logL = 0.953076924316

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.767       1.0000         .10000E-03   10000.    
     2 'Index     '    1.0616       1.0000          .0000       10.000    
     3 'Normalizat'    .74492       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0120       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=   6150.491     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      236 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.795        35.608        .77432E-04   -.14553E-03
   2  Index         1.0622        .64917        .13107E-01    .16248E-04
   3  Normalizat    .74497        .20553        .30635E-03   -.80732E-03
   4  Prefactor     1.0120        .14589        .18760E-03   -.10625E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.795
  Index      = 1.06221
  Normalizat = 0.744965
  Prefactor  = 1.012
 **********
 **   18 **HESSE 
 **********

 FCN=   6150.491     FROM HESSE     STATUS=OK            25 CALLS      261 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.795        36.565        .15486E-04   -1.4672    
   2  Index         1.0622        .66646        .52426E-03   -.90684    
   3  Normalizat    .74497        .20567        .61269E-04   -1.0214    
   4  Prefactor     1.0120        .14598        .37520E-04   -.92331    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12128e-09
Minuit parameter uncertainties:
  1  36.5954
  2  0.671773
  3  0.205881
  4  0.146039
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/893185': 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) = 6150.4913041
delta logL = 0.953077462682

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  2.679e+01  3.660e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  1.062e+00  6.718e-01  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.012e+00  1.460e-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:  7.450e-01  2.059e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.30
Ra Dec: 351.575 1.222
Photon Index (Free Index): 1.06 +/- 0.67
Photon Flux (Free Index): 3.95e-09 +/- 5.22e-09
Energy Flux (Free Index): 4.88e-05 +/- 7.88e-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/893185/cmap_HighResolution_489456001_489715201_4FGL_J2326.2+0113_daily_bin965.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.73e-03', comment='SUCCESS', energy_flux2='4.88e-05', dlogl='9.53e-01', photon_flux2='3.95e-09', job_status='DONE', time_completed='2021-09-29 19:09:41.756172', photon_index_error2='0.67', photon_index2='1.06', ts='0.40', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='6.24e-08', energy_flux_error2='7.88e-05', EG='0.74', time_epoch_completed='1632967781.76', return_code='0', job_id='893185', GAL2='1.01', EG2='0.74', return_code2='0', photon_flux_error2='5.22e-09', ts2='2.30', photon_index='2.12' WHERE bin_id='965' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:09:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 893185: <4FGL_J2326.2+0113_daily_bin965> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin965> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 18:55:49 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:55:50 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:55:50 2021
Terminated at Wed Sep 29 19:09:44 2021
Results reported at Wed Sep 29 19:09:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin965 351.575 1.2216 489456001 489715201 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 :                                   616.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             239.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            835 sec.

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

