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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin901
RA = 351.575, Dec = 1.2216
tmin = 472867201, tmax = 473126401
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='893067', job_status='RUN', time_executed='2021-09-29 18:59:40.102222', time_epoch_executed='1632967180.1' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='901'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/893067

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/893067/ft1_4FGL_J2326.2+0113_daily_bin901.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/893067/ft2_4FGL_J2326.2+0113_daily_bin901.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/893067/ft1_4FGL_J2326.2+0113_daily_bin901.fits outfile=/scratch/kocevski/893067/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin901.fits ra=351.575 dec=1.2216 rad=12.0 tmin=472867201.0 tmax=473126401.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.86
user 3.64
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/893067/ft2_4FGL_J2326.2+0113_daily_bin901.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/893067/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin901.fits evtable="EVENTS" outfile="/scratch/kocevski/893067/ft1_filtered_4FGL_J2326.2+0113_daily_bin901.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/893067/ft1_filtered_4FGL_J2326.2+0113_daily_bin901.fits" evtable="EVENTS" scfile=/scratch/kocevski/893067/ft2_4FGL_J2326.2+0113_daily_bin901.fits sctable="SC_DATA" outfile=/scratch/kocevski/893067/ltcube_472867201_473126401_4FGL_J2326.2+0113_daily_bin901.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/893067/ft2_4FGL_J2326.2+0113_daily_bin901.fits
.....................!
real 11.84
user 11.47
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/893067/ft1_filtered_4FGL_J2326.2+0113_daily_bin901.fits evtable="EVENTS" scfile=/scratch/kocevski/893067/ft2_4FGL_J2326.2+0113_daily_bin901.fits sctable="SC_DATA" expcube=/scratch/kocevski/893067/ltcube_472867201_473126401_4FGL_J2326.2+0113_daily_bin901.fits outfile=/scratch/kocevski/893067/expmap_472867201_473126401_4FGL_J2326.2+0113_daily_bin901.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/893067/ltcube_472867201_473126401_4FGL_J2326.2+0113_daily_bin901.fits
.....................!
real 189.91
user 185.51
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/893067/ft1_filtered_4FGL_J2326.2+0113_daily_bin901.fits scfile=/scratch/kocevski/893067/ft2_4FGL_J2326.2+0113_daily_bin901.fits outfile=/scratch/kocevski/893067/cmap_472867201_473126401_4FGL_J2326.2+0113_daily_bin901.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/893067/ft1_filtered_4FGL_J2326.2+0113_daily_bin901.fits scfile=/scratch/kocevski/893067/ft2_4FGL_J2326.2+0113_daily_bin901.fits outfile=/scratch/kocevski/893067/cmap_HighResolution_472867201_473126401_4FGL_J2326.2+0113_daily_bin901.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/893067/ft1_filtered_4FGL_J2326.2+0113_daily_bin901.fits evtable="EVENTS" scfile=/scratch/kocevski/893067/ft2_4FGL_J2326.2+0113_daily_bin901.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/893067/Model_4FGL_J2326.2+0113_daily_bin901.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/893067/ft1_filtered_4FGL_J2326.2+0113_daily_bin901.fits....................!
real 58.86
user 57.59
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .81290       1.0000         .10000E-03   10000.    
     3 'Prefactor '    65.489       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.8216       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.349       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.541       1.0000         .10000E-03   10000.    
     8 'norm      '    2.0065       1.0000         .10000E-03   10000.    
     9 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.216       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.0357       1.0000         .10000E-03   10000.    
    12 'norm      '    16.482       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.1189       1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.104       1.0000         .10000E-03   10000.    
    17 'norm      '    .48641E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    30.744       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    25.956       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    10.918       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .76802       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1373       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=   5628.742     FROM MIGRAD    STATUS=CONVERGED    954 CALLS     3590 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.783        .18142E-02** at limit **
   2  norm          .86036        75.566        .42519E-02    .44034E-04
   3  Prefactor     65.547        46.252        .49592E-04   -.41172E-04
   4  Prefactor     8.8220        10.299        .13495E-03    .13959E-03
   5  Prefactor     13.352        13.058        .10963E-03    .50813E-04
   6  Prefactor     .10000E-03    38.844        .18142E-02** at limit **
   7  Prefactor     15.542        11.591        .10160E-03   -.33984E-03
   8  norm          2.0065        1.1456        .57379E-04    .31800E-03
   9  norm          .10000E-03    9.9701        .36285E-03** at limit **
  10  Prefactor     16.218        14.512        .99459E-04    .12391E-03
  11  Prefactor     3.0414        211.75        .23289E-03    .26702E-04
  12  norm          16.481        10.774        .98655E-04    .25352E-04
  13  Prefactor     .10000E-03    3.9047        .14406E-02** at limit **
  14  Prefactor     .10000E-03    109.65        .18142E-02** at limit **
  15  Prefactor     9.1256        12.991        .13272E-03    .22245E-03
  16  Prefactor     14.110        25.795        .10665E-03    .32725E-04
  17  norm          .10000E-03    29.018        .93727E-01** at limit **
  18  Prefactor     30.754        33.941        .72261E-04   -.19131E-04
  19  Prefactor     .10000E-03    1.4937        .89293E-03** at limit **
  20  Prefactor     25.969        36.780        .78629E-04    .29062E-04
  21  Prefactor     .10000E-03    10.923        .18142E-02** at limit **
  22  Prefactor     10.921        17.205        .12125E-03    .84762E-04
  23  Normalizat    .76797        .27182        .33911E-03   -.73889E-04
  24  Prefactor     1.1372        .17762        .19890E-03   -.34850E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.860356
  Prefactor  = 65.5472
  Prefactor  = 8.82198
  Prefactor  = 13.3524
  Prefactor  = 0.0001
  Prefactor  = 15.5422
  norm       = 2.00654
  norm       = 0.0001
  Prefactor  = 16.218
  Prefactor  = 3.04137
  norm       = 16.4815
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.12559
  Prefactor  = 14.1096
  norm       = 0.000100001
  Prefactor  = 30.7535
  Prefactor  = 0.0001
  Prefactor  = 25.9691
  Prefactor  = 0.0001
  Prefactor  = 10.9205
  Normalizat = 0.767968
  Prefactor  = 1.13722
 **********
 **   18 **HESSE 
 **********

 FCN=   5628.742     FROM HESSE     STATUS=OK           385 CALLS     3975 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.787        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .86036        74.561        .17008E-03   -1.5522    
   3  Prefactor     65.547        46.231        .99185E-05   -1.4087    
   4  Prefactor     8.8220        10.298        .53981E-05   -1.5114    
   5  Prefactor     13.352        13.057        .43852E-05   -1.4977    
   6  Prefactor     .10000E-03    38.845        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.542        11.589        .40639E-05   -1.4919    
   8  norm          2.0065        1.1454        .22952E-05   -1.5425    
   9  norm          .10000E-03    9.9705        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     16.218        14.509        .39784E-05   -1.4902    
  11  Prefactor     3.0414        211.67        .93155E-05   -1.5359    
  12  norm          16.481        10.772        .39462E-05   -1.4896    
  13  Prefactor     .10000E-03    3.9054        .28811E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    109.65        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.1256        12.799        .53089E-05   -1.5104    
  16  Prefactor     14.110        25.783        .42660E-05   -1.4957    
  17  norm          .10000E-03    25.908        .10041       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     30.754        33.940        .14452E-04   -1.4598    
  19  Prefactor     .10000E-03    1.4937        .17859E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     25.969        36.744        .31452E-05   -1.4688    
  21  Prefactor     .10000E-03    10.925        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     10.921        17.193        .48500E-05   -1.5047    
  23  Normalizat    .76797        .27070        .13565E-04   -1.0127    
  24  Prefactor     1.1372        .17770        .39780E-04   -.88286    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.96002e-10
Minuit parameter uncertainties:
  1  0.000133824
  2  16.0384
  3  46.2567
  4  10.2998
  5  13.06
  6  6.46837e-06
  7  11.5904
  8  1.14542
  9  2.62827e-05
  10  14.5119
  11  50.9323
  12  10.7728
  13  7.773e-07
  14  0.000120747
  15  12.8031
  16  25.8031
  17  0.000296488
  18  33.9613
  19  7.87653e-06
  20  36.776
  21  7.54954e-06
  22  17.2007
  23  0.271173
  24  0.177791
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  3.041e+00  5.093e+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.137e+00  1.778e-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.680e-01  2.712e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/893067/likelihoodResults_472867201_473126401_4FGL_J2326.2+0113_daily_bin901.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) = 5628.74057855
delta logL = 0.0015103645419

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5628.74037038
delta logL = 0.00171853908432

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3709       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2675       1.0000          .0000       10.000    
     3 'Normalizat'    .76751       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1372       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=   5628.740     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      266 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3814        139.78        .22040E-03    .19086E-04
   2  Index         2.2803        2.5113        .44436E-02    .98034E-04
   3  Normalizat    .76735        .24964        .33924E-03    .10331E-02
   4  Prefactor     1.1371        .17632        .19891E-03    .17883E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.38144
  Index      = 2.28031
  Normalizat = 0.767352
  Prefactor  = 1.13713
 **********
 **   18 **HESSE 
 **********

 FCN=   5628.740     FROM HESSE     STATUS=OK            23 CALLS      289 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3814        133.50        .88159E-05   -1.5340    
   2  Index         2.2803        2.4625        .17774E-03   -.57512    
   3  Normalizat    .76735        .24981        .67849E-04   -1.0129    
   4  Prefactor     1.1371        .17641        .39782E-04   -.88289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.97575e-09
Minuit parameter uncertainties:
  1  42.5949
  2  2.63169
  3  0.25018
  4  0.176503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/893067': 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) = 5628.74035612
delta logL = 0.00173279793398

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  3.381e+00  4.259e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.280e+00  2.632e+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.137e+00  1.765e-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.674e-01  2.502e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/893067/cmap_HighResolution_472867201_473126401_4FGL_J2326.2+0113_daily_bin901.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.41e-03', job_status='DONE', photon_flux_upper_limit='8.47e-08', time_completed='2021-09-29 19:10:59.734563', job_id='893067', GAL2='1.14', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1632967859.73', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.73e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='901' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:10:59 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin901 351.575 1.2216 472867201 473126401 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 :                                   679.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   919 sec.
    Turnaround time :                            920 sec.

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

