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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin921
RA = 351.575, Dec = 1.2216
tmin = 478051201, tmax = 478310401
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='893107', job_status='RUN', time_executed='2021-09-29 18:57:43.776700', time_epoch_executed='1632967063.78' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='921'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/893107

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/893107/ft1_4FGL_J2326.2+0113_daily_bin921.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/893107/ft2_4FGL_J2326.2+0113_daily_bin921.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/893107/ft1_4FGL_J2326.2+0113_daily_bin921.fits outfile=/scratch/kocevski/893107/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin921.fits ra=351.575 dec=1.2216 rad=12.0 tmin=478051201.0 tmax=478310401.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.52
user 3.31
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/893107/ft1_filtered_4FGL_J2326.2+0113_daily_bin921.fits" evtable="EVENTS" scfile=/scratch/kocevski/893107/ft2_4FGL_J2326.2+0113_daily_bin921.fits sctable="SC_DATA" outfile=/scratch/kocevski/893107/ltcube_478051201_478310401_4FGL_J2326.2+0113_daily_bin921.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/893107/ft2_4FGL_J2326.2+0113_daily_bin921.fits
.....................!
real 11.75
user 11.40
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/893107/ft1_filtered_4FGL_J2326.2+0113_daily_bin921.fits evtable="EVENTS" scfile=/scratch/kocevski/893107/ft2_4FGL_J2326.2+0113_daily_bin921.fits sctable="SC_DATA" expcube=/scratch/kocevski/893107/ltcube_478051201_478310401_4FGL_J2326.2+0113_daily_bin921.fits outfile=/scratch/kocevski/893107/expmap_478051201_478310401_4FGL_J2326.2+0113_daily_bin921.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/893107/ltcube_478051201_478310401_4FGL_J2326.2+0113_daily_bin921.fits
.....................!
real 191.90
user 185.32
sys 6.10

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/893107/ft1_filtered_4FGL_J2326.2+0113_daily_bin921.fits scfile=/scratch/kocevski/893107/ft2_4FGL_J2326.2+0113_daily_bin921.fits outfile=/scratch/kocevski/893107/cmap_478051201_478310401_4FGL_J2326.2+0113_daily_bin921.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/893107/ft1_filtered_4FGL_J2326.2+0113_daily_bin921.fits scfile=/scratch/kocevski/893107/ft2_4FGL_J2326.2+0113_daily_bin921.fits outfile=/scratch/kocevski/893107/cmap_HighResolution_478051201_478310401_4FGL_J2326.2+0113_daily_bin921.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .68663E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    42.185       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.2687       1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.8476       1.0000         .10000E-03   10000.    
    12 'norm      '    3.6840       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    69.270       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    27.185       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .19150E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    67.973       1.0000         .10000E-03   10000.    
    21 'Prefactor '    36.587       1.0000         .10000E-03   10000.    
    22 'Prefactor '    47.412       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .75042       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91004       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=   5237.066     FROM MIGRAD    STATUS=CONVERGED    567 CALLS     2772 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.9199       -.61748E-07** at limit **
   2  norm          .10001E-03    11.972       -.26138E-06** at limit **
   3  Prefactor     42.156        42.366       -.85339E-05    .11387E-04
   4  Prefactor     .10000E-03    4.2576       -.90101E-08** at limit **
   5  Prefactor     .10000E-03    13.001       -.13530E-06** at limit **
   6  Prefactor     .10000E-03    143.14       -.34997E-06** at limit **
   7  Prefactor     .10000E-03    5.1788       -.64226E-07** at limit **
   8  norm          3.2698        1.4356       -.49653E-06    .13803E-02
   9  norm          .10000E-03    3.2381       -.72519E-07** at limit **
  10  Prefactor     .10000E-03    5.9396       -.29540E-07** at limit **
  11  Prefactor     8.8324        46.454       -.51661E-05    .19645E-04
  12  norm          3.6791        6.9280       -.70921E-06   -.26797E-03
  13  Prefactor     .10000E-03    2.8021       -.21718E-07** at limit **
  14  Prefactor     69.332        168.47        .66492E-04    .36660E-04
  15  Prefactor     .10000E-03    10.584       -.44037E-06** at limit **
  16  Prefactor     .10000E-03    22.551       -.10714E-06** at limit **
  17  norm          .10000E-03    8.1589       -.92152E-07** at limit **
  18  Prefactor     27.170        52.875       -.14219E-04    .37471E-04
  19  Prefactor     .10001E-03    3.4987       -.14573E-05** at limit **
  20  Prefactor     67.968        48.794       -.48004E-05    .11536E-03
  21  Prefactor     36.572        24.949        .10482E-05    .36331E-04
  22  Prefactor     47.405        26.437        .22491E-05    .18109E-03
  23  Normalizat    .75059        .21636        .28119E-05    .25186E-03
  24  Prefactor     .91027        .13561       -.30873E-06    .40260E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.000100013
  Prefactor  = 42.1555
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.26976
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.83236
  norm       = 3.67906
  Prefactor  = 0.0001
  Prefactor  = 69.3318
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 27.1703
  Prefactor  = 0.000100006
  Prefactor  = 67.9683
  Prefactor  = 36.5718
  Prefactor  = 47.4049
  Normalizat = 0.750588
  Prefactor  = 0.910268
 **********
 **   18 **HESSE 
 **********

 FCN=   5237.066     FROM HESSE     STATUS=OK           399 CALLS     3171 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.9228        .17197E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10001E-03    18.164        .70992E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     42.156        42.485        .61721E-04   -1.4409    
   4  Prefactor     .10000E-03    4.2615        .14583E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    145.92        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.1990        .16079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.2698        1.4254        .52038E-04   -1.5346    
   9  norm          .10000E-03    3.2504        .12712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.9741        .17212E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.8324        46.370        .13475E-03   -1.5113    
  12  norm          3.6791        6.9232        .21043E-03   -1.5324    
  13  Prefactor     .10000E-03    2.8147        .11821E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     69.332        168.45        .24114E-03   -1.4041    
  15  Prefactor     .10000E-03    10.629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    22.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    8.1614        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     27.170        52.730        .76835E-04   -1.4665    
  19  Prefactor     .10001E-03    10.942        .24747E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     67.968        48.613        .48684E-04   -1.4057    
  21  Prefactor     36.572        24.942        .66258E-04   -1.4498    
  22  Prefactor     47.405        26.534        .58234E-04   -1.4330    
  23  Normalizat    .75059        .24526        .31075E-03   -1.0193    
  24  Prefactor     .91027        .15622        .19375E-03   -.95783    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.6531e-10
Minuit parameter uncertainties:
  1  8.74949e-06
  2  0.000969915
  3  42.5157
  4  4.33306e-06
  5  2.15272e-05
  6  3.28395e-05
  7  4.2378e-06
  8  1.42537
  9  1.34509e-06
  10  1.46542e-05
  11  40.5241
  12  6.92467
  13  2.42453e-06
  14  169.626
  15  5.09111e-05
  16  1.53343e-05
  17  1.58195e-05
  18  52.8203
  19  0.000510899
  20  48.6419
  21  24.9491
  22  26.541
  23  0.245622
  24  0.156298
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  8.832e+00  4.052e+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:  9.103e-01  1.563e-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.506e-01  2.456e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/893107/likelihoodResults_478051201_478310401_4FGL_J2326.2+0113_daily_bin921.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) = 5235.73482812
delta logL = 1.33102170696

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5235.41905641
delta logL = 1.64679341961

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    7.3601       1.0000          .0000       10.000    
     3 'Normalizat'    .62946       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96661       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=   5235.419     FROM MIGRAD    STATUS=CONVERGED    293 CALLS      673 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .31731E-02    .29743E-03** at limit **
   2  Index         7.3599        1.9586        .81486E-01    .68255E-04
   3  Normalizat    .62888        .59274E-01    .76023E-01    .16068E-03
   4  Prefactor     .96691        .39842E-01    .45848E-01    .49377E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 7.35993
  Normalizat = 0.62888
  Prefactor  = 0.966913
 **********
 **   18 **HESSE 
 **********

 FCN=   5235.419     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      712 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .21497E-01    .13517E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.3599        2.9372        .32944E-02    .49154    
   3  Normalizat    .62888        .13677        .33658E-03   -1.0677    
   4  Prefactor     .96691        .92887E-01    .18855E-03   -.93841    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.73906e-09
Minuit parameter uncertainties:
  1  3.98009e-07
  2  3.21466
  3  0.136844
  4  0.0929025
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/893107': 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) = 5235.41905035
delta logL = 1.64679947506

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  3.980e-07  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  7.360e+00  3.215e+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:  9.669e-01  9.290e-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:  6.289e-01  1.368e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.64
Ra Dec: 351.575 1.222
Photon Index (Free Index): 7.36 +/- 3.21
Photon Flux (Free Index): 1.10e-07 +/- 1.01e-06
Energy Flux (Free Index): 1.30e-05 +/- 1.19e-04

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/893107/cmap_HighResolution_478051201_478310401_4FGL_J2326.2+0113_daily_bin921.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.18e-03', comment='SUCCESS', energy_flux2='1.30e-05', dlogl='1.65e+00', photon_flux2='1.10e-07', job_status='DONE', time_completed='2021-09-29 19:08:02.754115', photon_index_error2='3.21', photon_index2='7.36', ts='0.06', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='8.17e-08', energy_flux_error2='1.19e-04', EG='0.75', time_epoch_completed='1632967682.75', return_code='0', job_id='893107', GAL2='0.97', EG2='0.63', return_code2='102', photon_flux_error2='1.01e-06', ts2='3.64', photon_index='2.12' WHERE bin_id='921' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:08:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 893107: <4FGL_J2326.2+0113_daily_bin921> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin921 351.575 1.2216 478051201 478310401 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 :                                   615.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             262.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            741 sec.

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

