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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin741
RA = 351.575, Dec = 1.2216
tmin = 431395201, tmax = 431654401
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='892819', job_status='RUN', time_executed='2021-09-29 18:58:52.390921', time_epoch_executed='1632967132.39' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='741'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892819

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892819/ft1_4FGL_J2326.2+0113_daily_bin741.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892819/ft2_4FGL_J2326.2+0113_daily_bin741.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892819/ft1_4FGL_J2326.2+0113_daily_bin741.fits outfile=/scratch/kocevski/892819/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin741.fits ra=351.575 dec=1.2216 rad=12.0 tmin=431395201.0 tmax=431654401.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.60
user 5.33
sys 0.26

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892819/ft1_filtered_4FGL_J2326.2+0113_daily_bin741.fits evtable="EVENTS" scfile=/scratch/kocevski/892819/ft2_4FGL_J2326.2+0113_daily_bin741.fits sctable="SC_DATA" expcube=/scratch/kocevski/892819/ltcube_431395201_431654401_4FGL_J2326.2+0113_daily_bin741.fits outfile=/scratch/kocevski/892819/expmap_431395201_431654401_4FGL_J2326.2+0113_daily_bin741.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/892819/ltcube_431395201_431654401_4FGL_J2326.2+0113_daily_bin741.fits
.....................!
real 191.48
user 185.54
sys 5.55

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/892819/ft1_filtered_4FGL_J2326.2+0113_daily_bin741.fits scfile=/scratch/kocevski/892819/ft2_4FGL_J2326.2+0113_daily_bin741.fits outfile=/scratch/kocevski/892819/cmap_431395201_431654401_4FGL_J2326.2+0113_daily_bin741.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.57
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892819/ft1_filtered_4FGL_J2326.2+0113_daily_bin741.fits scfile=/scratch/kocevski/892819/ft2_4FGL_J2326.2+0113_daily_bin741.fits outfile=/scratch/kocevski/892819/cmap_HighResolution_431395201_431654401_4FGL_J2326.2+0113_daily_bin741.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9573       1.0000         .10000E-03   10000.    
     2 'norm      '    17.893       1.0000         .10000E-03   10000.    
     3 'Prefactor '    34.370       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10232E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11191E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.3742       1.0000         .10000E-03   10000.    
     9 'norm      '    1.9316       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    253.20       1.0000         .10000E-03   10000.    
    12 'norm      '    2.5560       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.566       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11568E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.4002       1.0000         .10000E-03   10000.    
    16 'Prefactor '    29.900       1.0000         .10000E-03   10000.    
    17 'norm      '    .10574E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.1182       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .25276E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3959       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=   2352.048     FROM MIGRAD    STATUS=CONVERGED    943 CALLS     3131 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9577        24.559        .10138E-02    .54234E-04
   2  norm          17.893        21.645        .94684E-04    .16975E-03
   3  Prefactor     34.375        55.740        .68354E-04    .92524E-04
   4  Prefactor     .10000E-03    7.6618        .13103E-02** at limit **
   5  Prefactor     .10000E-03    70.077        .18142E-02** at limit **
   6  Prefactor     .10000E-03    179.26        .18142E-02** at limit **
   7  Prefactor     .10000E-03    54.870        .18142E-02** at limit **
   8  norm          3.3706        2.9113        .65530E-04    .85981E-03
   9  norm          1.9201        28.720        .14942E-02    .10160E-03
  10  Prefactor     .10000E-03    8.1975        .13527E-02** at limit **
  11  Prefactor     253.21        142.65        .12731E-03    .10598E-03
  12  norm          2.5606        16.040        .25537E-03    .13402E-03
  13  Prefactor     11.559        13.489        .11780E-03    .36915E-03
  14  Prefactor     .10002E-03    332.77        .18142E-02** at limit **
  15  Prefactor     2.4277        113.72        .26430E-03    .26238E-04
  16  Prefactor     29.899        28.219        .73272E-04    .11651E-03
  17  norm          .10000E-03    38.639        .18142E-02** at limit **
  18  Prefactor     .10000E-03    58.259        .18142E-02** at limit **
  19  Prefactor     1.1050        20.624        .29393E-03    .20780E-03
  20  Prefactor     .10000E-03    36.612        .18142E-02** at limit **
  21  Prefactor     .10005E-03    144.50        .45235E-02** at limit **
  22  Prefactor     .10000E-03    14.376        .17914E-02** at limit **
  23  Normalizat    .10000E-01    .21794        .10840E-01** at limit **
  24  Prefactor     1.3959        .13797        .16494E-03    .77420E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.95769
  norm       = 17.8931
  Prefactor  = 34.3749
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  norm       = 3.37064
  norm       = 1.92012
  Prefactor  = 0.0001
  Prefactor  = 253.213
  norm       = 2.56059
  Prefactor  = 11.5594
  Prefactor  = 0.000100022
  Prefactor  = 2.4277
  Prefactor  = 29.8986
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.105
  Prefactor  = 0.0001
  Prefactor  = 0.000100052
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 1.39592
 **********
 **   18 **HESSE 
 **********

 FCN=   2352.048     FROM HESSE     STATUS=OK           375 CALLS     3506 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9577        24.552        .40554E-04   -1.5310    
   2  norm          17.893        21.644        .18937E-04   -1.4862    
   3  Prefactor     34.375        55.739        .13671E-04   -1.4535    
   4  Prefactor     .10000E-03    7.6621        .26207E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    70.094        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    179.27        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    54.894        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.3706        2.9010        .26212E-05   -1.5341    
   9  norm          1.9201        28.473        .59767E-04   -1.5431    
  10  Prefactor     .10000E-03    8.1982        .27054E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     253.21        142.57        .25463E-04   -1.2512    
  12  norm          2.5606        16.007        .10215E-04   -1.5388    
  13  Prefactor     11.559        13.477        .47119E-05   -1.5028    
  14  Prefactor     .10002E-03    332.77        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.4277        111.77        .10572E-04   -1.5396    
  16  Prefactor     29.899        28.217        .14654E-04   -1.4614    
  17  norm          .10000E-03    38.639        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    58.260        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.1050        20.279        .11757E-04   -1.5498    
  20  Prefactor     .10000E-03    36.614        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10005E-03    146.74        .90470E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    14.379        .35827E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .10000E-01    .21803        .21680E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.3959        .13779        .32987E-04   -.80498    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93514e-09
Minuit parameter uncertainties:
  1  19.7268
  2  21.6534
  3  55.8231
  4  6.24871e-07
  5  0.000124223
  6  0.0018455
  7  5.75312e-05
  8  2.90116
  9  14.7961
  10  3.96427e-05
  11  142.771
  12  12.809
  13  13.4801
  14  0.00539872
  15  33.0097
  16  28.2301
  17  0.000177582
  18  5.06509e-05
  19  9.47082
  20  0.000122362
  21  0.0055574
  22  8.85905e-06
  23  8.09243e-06
  24  0.137826
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  2.532e+02  1.428e+02  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.396e+00  1.378e-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.000e-02  8.092e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.63
Ra Dec: 351.575 1.222
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 1.54e-07 +/- 8.67e-08
Energy Flux (Fixed Index): 8.10e-05 +/- 4.57e-05

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) = 2351.96086833
delta logL = 0.0875010665245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2351.9573728
delta logL = 0.0909965922574

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    314.97       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9195       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4035       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=   2351.957     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      297 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     314.98        222.36        .11451E-03   -.16887E-03
   2  Index         1.9194        .47714        .38932E-02   -.24199E-03
   3  Normalizat    .10000E-01    .24689        .11182E-01** at limit **
   4  Prefactor     1.4035        .12439        .16476E-03   -.37108E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 314.982
  Index      = 1.91943
  Normalizat = 0.01
  Prefactor  = 1.40347
 **********
 **   18 **HESSE 
 **********

 FCN=   2351.957     FROM HESSE     STATUS=OK            23 CALLS      320 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     314.98        217.23        .22902E-04   -1.2140    
   2  Index         1.9194        .46595        .15573E-03   -.66380    
   3  Normalizat    .10000E-01    .24703        .22364E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.4035        .12425        .32952E-04   -.80280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.49043e-10
Minuit parameter uncertainties:
  1  217.792
  2  0.467046
  3  1.0026e-06
  4  0.124272
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892819': 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) = 2351.9573728
delta logL = 0.0909965954129

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  3.150e+02  2.178e+02  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  1.919e+00  4.670e-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.403e+00  1.243e-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.000e-02  1.003e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.81
Ra Dec: 351.575 1.222
Photon Index (Free Index): 1.92 +/- 0.47
Photon Flux (Free Index): 1.26e-07 +/- 9.96e-08
Energy Flux (Free Index): 1.07e-04 +/- 9.78e-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/892819/cmap_HighResolution_431395201_431654401_4FGL_J2326.2+0113_daily_bin741.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.54e-07', energy_flux2='1.07e-04', photon_flux_error='8.67e-08', dlogl='9.10e-02', energy_flux='8.10e-05', photon_flux2='1.26e-07', job_status='DONE', time_completed='2021-09-29 19:06:08.152830', photon_index_error2='0.47', photon_index2='1.92', ts='7.63', fit_tolerance='1e-08', GAL='1.40', photon_index_error='0.00', energy_flux_error2='9.78e-05', EG='0.01', time_epoch_completed='1632967568.15', return_code='0', job_id='892819', GAL2='1.40', EG2='0.01', return_code2='0', energy_flux_error='4.57e-05', photon_flux_error2='9.96e-08', ts2='7.81', photon_index='2.12' WHERE bin_id='741' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:06:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 892819: <4FGL_J2326.2+0113_daily_bin741> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin741 351.575 1.2216 431395201 431654401 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 :                                   432.01 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             259.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   651 sec.
    Turnaround time :                            653 sec.

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

