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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin593
RA = 351.575, Dec = 1.2216
tmin = 393033601, tmax = 393292801
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='891577', job_status='RUN', time_executed='2021-09-29 18:54:00.350568', time_epoch_executed='1632966840.35' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='593'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891577

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891577/ft1_4FGL_J2326.2+0113_daily_bin593.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891577/ft2_4FGL_J2326.2+0113_daily_bin593.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891577/ft1_4FGL_J2326.2+0113_daily_bin593.fits outfile=/scratch/kocevski/891577/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin593.fits ra=351.575 dec=1.2216 rad=12.0 tmin=393033601.0 tmax=393292801.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.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/891577/ft2_4FGL_J2326.2+0113_daily_bin593.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/891577/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin593.fits evtable="EVENTS" outfile="/scratch/kocevski/891577/ft1_filtered_4FGL_J2326.2+0113_daily_bin593.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/891577/ft1_filtered_4FGL_J2326.2+0113_daily_bin593.fits" evtable="EVENTS" scfile=/scratch/kocevski/891577/ft2_4FGL_J2326.2+0113_daily_bin593.fits sctable="SC_DATA" outfile=/scratch/kocevski/891577/ltcube_393033601_393292801_4FGL_J2326.2+0113_daily_bin593.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/891577/ft2_4FGL_J2326.2+0113_daily_bin593.fits
.....................!
real 11.88
user 11.54
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891577/ft1_filtered_4FGL_J2326.2+0113_daily_bin593.fits evtable="EVENTS" scfile=/scratch/kocevski/891577/ft2_4FGL_J2326.2+0113_daily_bin593.fits sctable="SC_DATA" expcube=/scratch/kocevski/891577/ltcube_393033601_393292801_4FGL_J2326.2+0113_daily_bin593.fits outfile=/scratch/kocevski/891577/expmap_393033601_393292801_4FGL_J2326.2+0113_daily_bin593.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/891577/ltcube_393033601_393292801_4FGL_J2326.2+0113_daily_bin593.fits
.....................!
real 189.76
user 185.34
sys 4.09

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/891577/ft1_filtered_4FGL_J2326.2+0113_daily_bin593.fits scfile=/scratch/kocevski/891577/ft2_4FGL_J2326.2+0113_daily_bin593.fits outfile=/scratch/kocevski/891577/cmap_393033601_393292801_4FGL_J2326.2+0113_daily_bin593.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891577/ft1_filtered_4FGL_J2326.2+0113_daily_bin593.fits scfile=/scratch/kocevski/891577/ft2_4FGL_J2326.2+0113_daily_bin593.fits outfile=/scratch/kocevski/891577/cmap_HighResolution_393033601_393292801_4FGL_J2326.2+0113_daily_bin593.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.55
user 0.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.088       1.0000         .10000E-03   10000.    
     2 'norm      '    3.4085       1.0000         .10000E-03   10000.    
     3 'Prefactor '    22.625       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10238E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .70130E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.880       1.0000         .10000E-03   10000.    
     8 'norm      '    3.0117       1.0000         .10000E-03   10000.    
     9 'norm      '    .13137E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.763       1.0000         .10000E-03   10000.    
    12 'norm      '    20.555       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.8084       1.0000         .10000E-03   10000.    
    14 'Prefactor '    259.64       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.2543       1.0000         .10000E-03   10000.    
    16 'Prefactor '    57.452       1.0000         .10000E-03   10000.    
    17 'norm      '    .10560E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.6080       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10671E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.908       1.0000         .10000E-03   10000.    
    22 'Prefactor '    25.841       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .39160       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1574       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=   6628.076     FROM MIGRAD    STATUS=CONVERGED    550 CALLS     2755 TOTAL
                     EDM=   .26E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.098        24.550        .14839E-06    .71318E-06
   2  norm          3.3958        11.368        .59433E-07    .11620E-05
   3  Prefactor     22.627        30.993        .80846E-07    .61893E-06
   4  Prefactor     .10000E-03    4.2543       -.47162E-08** at limit **
   5  Prefactor     .10000E-03    4.2858       -.31264E-08** at limit **
   6  Prefactor     .10000E-03    435.51       -.24998E-06** at limit **
   7  Prefactor     12.849        10.412       -.90094E-07    .11776E-04
   8  norm          3.0120        1.0622       -.95490E-07    .23157E-04
   9  norm          .10000E-03    3.9949       -.90473E-07** at limit **
  10  Prefactor     .10000E-03    3.8045        .14682E-07** at limit **
  11  Prefactor     14.755        44.758       -.14004E-06    .27822E-06
  12  norm          20.549        13.330        .35069E-06    .65309E-05
  13  Prefactor     8.8107        11.847       -.60488E-06    .71585E-06
  14  Prefactor     259.02        259.18        .12083E-04   -.85827E-06
  15  Prefactor     3.2581        23.086       -.11437E-05   -.24882E-04
  16  Prefactor     57.425        32.280       -.35636E-06    .31179E-05
  17  norm          .10000E-03    8.0095       -.10489E-06** at limit **
  18  Prefactor     .10000E-03    98.335       -.13877E-06** at limit **
  19  Prefactor     4.6122        6.8975        .35282E-06   -.53434E-04
  20  Prefactor     .10000E-03    11.566        .12326E-07** at limit **
  21  Prefactor     13.890        22.298        .15515E-06    .14082E-05
  22  Prefactor     25.838        19.330       -.10700E-06    .10322E-05
  23  Normalizat    .39180        .25102       -.38793E-06   -.16315E-05
  24  Prefactor     1.1573        .14961       -.13297E-07    .74236E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.0982
  norm       = 3.39579
  Prefactor  = 22.6275
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.8485
  norm       = 3.01204
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.755
  norm       = 20.5493
  Prefactor  = 8.81069
  Prefactor  = 259.018
  Prefactor  = 3.25813
  Prefactor  = 57.4251
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.61218
  Prefactor  = 0.0001
  Prefactor  = 13.8903
  Prefactor  = 25.8383
  Normalizat = 0.391803
  Prefactor  = 1.15729
 **********
 **   18 **HESSE 
 **********

 FCN=   6628.076     FROM HESSE     STATUS=OK           405 CALLS     3160 TOTAL
                     EDM=   .51E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.098        24.403        .67654E-04   -1.4522    
   2  norm          3.3958        11.250        .21912E-03   -1.5339    
   3  Prefactor     22.627        30.908        .84210E-04   -1.4756    
   4  Prefactor     .10000E-03    4.2632        .16399E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.2878        .16460E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    438.43        .37393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.849        10.140        .11161E-03   -1.4991    
   8  norm          3.0120        1.0593        .23387E-04   -1.5361    
   9  norm          .10000E-03    4.0347        .15827E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.8123        .15503E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.755        44.662        .10424E-03   -1.4940    
  12  norm          20.549        13.273        .88344E-04   -1.4801    
  13  Prefactor     8.8107        11.736        .13505E-03   -1.5114    
  14  Prefactor     259.02        258.66        .12576E-03   -1.2475    
  15  Prefactor     3.2581        22.860        .22450E-03   -1.5347    
  16  Prefactor     57.425        32.196        .52927E-04   -1.4191    
  17  norm          .10000E-03    8.0138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    98.702        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.6122        6.9273        .89617E-03   -1.5278    
  20  Prefactor     .10000E-03    11.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     13.890        22.218        .10740E-03   -1.4962    
  22  Prefactor     25.838        19.212        .78805E-04   -1.4691    
  23  Normalizat    .39180        .24427        .43355E-03   -1.1773    
  24  Prefactor     1.1573        .15257        .18384E-03   -.87656    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.10035e-12
Minuit parameter uncertainties:
  1  24.4098
  2  11.2567
  3  30.93
  4  6.73141e-07
  5  2.78955e-07
  6  0.00061516
  7  10.1414
  8  1.05934
  9  5.33888e-07
  10  1.08483e-06
  11  44.7636
  12  13.2746
  13  11.7388
  14  259.821
  15  17.2697
  16  32.2057
  17  1.40117e-05
  18  2.72318e-05
  19  6.92855
  20  1.53297e-07
  21  22.2308
  22  19.2164
  23  0.244932
  24  0.152623
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.476e+01  4.476e+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.157e+00  1.526e-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:  3.918e-01  2.449e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/891577/likelihoodResults_393033601_393292801_4FGL_J2326.2+0113_daily_bin593.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) = 6627.90480013
delta logL = 0.170835179986

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6627.8930222
delta logL = 0.182613113316

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.8758       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8998       1.0000          .0000       10.000    
     3 'Normalizat'    .37051       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1634       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=   6627.893     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      293 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8758        430.27        .35720E-02    .17658E-03
   2  Index         2.8999        3.8064        .11627        .15460E-03
   3  Normalizat    .37032        .59931E-01    .10056        .48522E-04
   4  Prefactor     1.1635        .38378E-01    .35559E-01   -.81247E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.87578
  Index      = 2.89986
  Normalizat = 0.37032
  Prefactor  = 1.16354
 **********
 **   18 **HESSE 
 **********

 FCN=   6627.893     FROM HESSE     STATUS=OK            33 CALLS      326 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8758        151.68        .14288E-03   -1.5147    
   2  Index         2.8999        3.3243        .79216E-02   -.43348    
   3  Normalizat    .37032        .22110        .44550E-03   -1.1886    
   4  Prefactor     1.1635        .15338        .18336E-03   -.87461    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.38953e-07
Minuit parameter uncertainties:
  1  69.329
  2  3.73063
  3  0.221622
  4  0.153437
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891577': 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) = 6627.89302178
delta logL = 0.182613531151

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  7.876e+00  6.933e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.900e+00  3.731e+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:  1.164e+00  1.534e-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:  3.703e-01  2.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/891577/cmap_HighResolution_393033601_393292801_4FGL_J2326.2+0113_daily_bin593.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.21e-03', job_status='DONE', photon_flux_upper_limit='8.20e-08', time_completed='2021-09-29 19:05:05.057603', job_id='891577', GAL2='1.16', fit_tolerance='1e-08', EG2='0.37', EG='0.39', time_epoch_completed='1632967505.06', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='1.83e-01', ts2='0.51', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='593' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:05:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 891577: <4FGL_J2326.2+0113_daily_bin593> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin593 351.575 1.2216 393033601 393292801 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 :                                   664.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             275.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            863 sec.

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

