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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin275
RA = 351.575, Dec = 1.2216
tmin = 310608001, tmax = 310867201
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='890038', job_status='RUN', time_executed='2021-09-29 18:47:17.705708', time_epoch_executed='1632966437.71' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='275'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/890038

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/890038/ft1_4FGL_J2326.2+0113_daily_bin275.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/890038/ft2_4FGL_J2326.2+0113_daily_bin275.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/890038/ft1_4FGL_J2326.2+0113_daily_bin275.fits outfile=/scratch/kocevski/890038/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin275.fits ra=351.575 dec=1.2216 rad=12.0 tmin=310608001.0 tmax=310867201.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.48
user 3.26
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/890038/ft1_filtered_4FGL_J2326.2+0113_daily_bin275.fits" evtable="EVENTS" scfile=/scratch/kocevski/890038/ft2_4FGL_J2326.2+0113_daily_bin275.fits sctable="SC_DATA" outfile=/scratch/kocevski/890038/ltcube_310608001_310867201_4FGL_J2326.2+0113_daily_bin275.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/890038/ft2_4FGL_J2326.2+0113_daily_bin275.fits
.....................!
real 11.67
user 11.37
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/890038/ft1_filtered_4FGL_J2326.2+0113_daily_bin275.fits evtable="EVENTS" scfile=/scratch/kocevski/890038/ft2_4FGL_J2326.2+0113_daily_bin275.fits sctable="SC_DATA" expcube=/scratch/kocevski/890038/ltcube_310608001_310867201_4FGL_J2326.2+0113_daily_bin275.fits outfile=/scratch/kocevski/890038/expmap_310608001_310867201_4FGL_J2326.2+0113_daily_bin275.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/890038/ltcube_310608001_310867201_4FGL_J2326.2+0113_daily_bin275.fits
.....................!
real 190.58
user 185.46
sys 4.81

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

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.705       1.0000         .10000E-03   10000.    
     2 'norm      '    .10250E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.171       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .87399       1.0000         .10000E-03   10000.    
     9 'norm      '    7.4670       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12289E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.406       1.0000         .10000E-03   10000.    
    12 'norm      '    29.191       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.857       1.0000         .10000E-03   10000.    
    14 'Prefactor '    140.84       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.657       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10156E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .28376E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    39.011       1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.9539       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .99886       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90282       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=   6847.572     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2751 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.705        13.641        .15239E-06    .82655E-06
   2  norm          .10000E-03    15.408        .24527E-05** at limit **
   3  Prefactor     .10000E-03    9.1383       -.23187E-06** at limit **
   4  Prefactor     12.174        12.166       -.42520E-08   -.64266E-06
   5  Prefactor     .10000E-03    13.282       -.84459E-05** at limit **
   6  Prefactor     .10000E-03    31.605        .70243E-05** at limit **
   7  Prefactor     .10000E-03    4.6252        .64727E-09** at limit **
   8  norm          .87383        .86699       -.75645E-06   -.11341E-02
   9  norm          7.4658        7.0035       -.66742E-06    .12392E-04
  10  Prefactor     .10000E-03    9.8021       -.68739E-06** at limit **
  11  Prefactor     19.400        35.506       -.52697E-05    .30950E-04
  12  norm          29.197        17.724        .13255E-05    .20209E-03
  13  Prefactor     11.858        13.190       -.11704E-05   -.14696E-04
  14  Prefactor     140.99        170.50        .12049E-03    .67445E-04
  15  Prefactor     15.646        11.832       -.48702E-05    .67924E-03
  16  Prefactor     .10000E-03    19.162        .35155E-05** at limit **
  17  norm          .10000E-03    16.539        .48168E-05** at limit **
  18  Prefactor     .10000E-03    23.208       -.11499E-04** at limit **
  19  Prefactor     .10001E-03    1.9921       -.15415E-05** at limit **
  20  Prefactor     .10000E-03    11.913        .40425E-05** at limit **
  21  Prefactor     38.996        23.060       -.13604E-05    .20130E-04
  22  Prefactor     6.9525        8.3601        .22435E-07    .50927E-04
  23  Normalizat    .99885        .19550        .84275E-06    .29594E-03
  24  Prefactor     .90285        .12872       -.12860E-05    .45747E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.7047
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.1737
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.873833
  norm       = 7.46583
  Prefactor  = 0.000100001
  Prefactor  = 19.4005
  norm       = 29.1975
  Prefactor  = 11.8585
  Prefactor  = 140.991
  Prefactor  = 15.6463
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 38.9963
  Prefactor  = 6.95249
  Normalizat = 0.998847
  Prefactor  = 0.902848
 **********
 **   18 **HESSE 
 **********

 FCN=   6847.572     FROM HESSE     STATUS=OK           403 CALLS     3154 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.705        13.646        .12246E-03   -1.5053    
   2  norm          .10000E-03    15.942        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.1411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.174        12.161        .11482E-03   -1.5010    
   5  Prefactor     .10000E-03    13.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    31.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.6356        .17362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .87383        .82477        .71048E-03   -1.5521    
   9  norm          7.4658        6.9607        .14677E-03   -1.5161    
  10  Prefactor     .10000E-03    88.943        .44844E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.400        35.510        .90920E-04   -1.4827    
  12  norm          29.197        16.272        .74153E-04   -1.4627    
  13  Prefactor     11.858        12.997        .11634E-03   -1.5019    
  14  Prefactor     140.99        170.58        .16972E-03   -1.3328    
  15  Prefactor     15.646        11.271        .10122E-03   -1.4917    
  16  Prefactor     .10000E-03    19.238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    16.576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    23.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    10.131        .21298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    11.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     38.996        23.071        .64173E-04   -1.4458    
  22  Prefactor     6.9525        8.3590        .15214E-03   -1.5181    
  23  Normalizat    .99885        .22794        .29585E-03   -.93069    
  24  Prefactor     .90285        .15057        .20991E-03   -.96042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46315e-09
Minuit parameter uncertainties:
  1  13.65
  2  2.19685e-06
  3  3.78015e-06
  4  12.1638
  5  4.2785e-05
  6  4.26833e-06
  7  3.78876e-06
  8  0.824778
  9  6.96144
  10  0.000677103
  11  35.5489
  12  16.2741
  13  13.0005
  14  171.178
  15  11.2721
  16  1.13614e-05
  17  8.2129e-06
  18  8.21995e-06
  19  0.000561482
  20  1.51306e-05
  21  23.0763
  22  8.36045
  23  0.228158
  24  0.150639
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.940e+01  3.555e+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.028e-01  1.506e-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:  9.988e-01  2.282e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/890038/likelihoodResults_310608001_310867201_4FGL_J2326.2+0113_daily_bin275.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) = 6847.55811182
delta logL = 0.0140716228188

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6847.55091511
delta logL = 0.0212683281898

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.861       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9277       1.0000          .0000       10.000    
     3 'Normalizat'    1.0012       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90169       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=   6847.551     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      243 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.865        49.533        .80339E-04   -.77547E-04
   2  Index         1.9272        .91250        .98764E-02   -.64756E-04
   3  Normalizat    1.0012        .21968        .29553E-03    .18592E-03
   4  Prefactor     .90168        .15006        .21003E-03    .32164E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.8649
  Index      = 1.92725
  Normalizat = 1.00124
  Prefactor  = 0.901682
 **********
 **   18 **HESSE 
 **********

 FCN=   6847.551     FROM HESSE     STATUS=OK            25 CALLS      268 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.865        47.953        .16068E-04   -1.4710    
   2  Index         1.9272        .88409        .39506E-03   -.66182    
   3  Normalizat    1.0012        .21981        .11821E-04   -.92989    
   4  Prefactor     .90168        .15016        .42005E-04   -.96082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.06613e-10
Minuit parameter uncertainties:
  1  48.0275
  2  0.89166
  3  0.220012
  4  0.150229
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/890038': 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) = 6847.55091499
delta logL = 0.0212684484359

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  2.486e+01  4.803e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  1.927e+00  8.917e-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:  9.017e-01  1.502e-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.001e+00  2.200e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.39
Ra Dec: 351.575 1.222

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/890038/cmap_HighResolution_310608001_310867201_4FGL_J2326.2+0113_daily_bin275.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.41e-03', job_status='DONE', photon_flux_upper_limit='7.14e-08', time_completed='2021-09-29 18:58:37.666225', job_id='890038', GAL2='0.90', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1632967117.67', return_code2='0', ts='0.39', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='2.13e-02', ts2='0.44', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='275' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:58:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 890038: <4FGL_J2326.2+0113_daily_bin275> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin275 351.575 1.2216 310608001 310867201 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 :                                   677.20 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             273.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            792 sec.

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

