/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 228 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 = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2326.2+0113_daily_bin328
RA = 351.575, Dec = 1.2216
tmin = 324345601, tmax = 324604801
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='890117', job_status='RUN', time_executed='2021-09-29 18:49:29.700206', time_epoch_executed='1632966569.7' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='328'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/890117

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/890117/ft1_4FGL_J2326.2+0113_daily_bin328.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/890117/ft2_4FGL_J2326.2+0113_daily_bin328.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/890117/ft1_4FGL_J2326.2+0113_daily_bin328.fits outfile=/scratch/kocevski/890117/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin328.fits ra=351.575 dec=1.2216 rad=12.0 tmin=324345601.0 tmax=324604801.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 14.56
user 14.02
sys 0.47

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/890117/ft2_4FGL_J2326.2+0113_daily_bin328.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/890117/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin328.fits evtable="EVENTS" outfile="/scratch/kocevski/890117/ft1_filtered_4FGL_J2326.2+0113_daily_bin328.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.50
user 0.33
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/890117/ft1_filtered_4FGL_J2326.2+0113_daily_bin328.fits evtable="EVENTS" scfile=/scratch/kocevski/890117/ft2_4FGL_J2326.2+0113_daily_bin328.fits sctable="SC_DATA" expcube=/scratch/kocevski/890117/ltcube_324345601_324604801_4FGL_J2326.2+0113_daily_bin328.fits outfile=/scratch/kocevski/890117/expmap_324345601_324604801_4FGL_J2326.2+0113_daily_bin328.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/890117/ltcube_324345601_324604801_4FGL_J2326.2+0113_daily_bin328.fits
.....................!
real 192.93
user 185.53
sys 4.83

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/890117/ft1_filtered_4FGL_J2326.2+0113_daily_bin328.fits scfile=/scratch/kocevski/890117/ft2_4FGL_J2326.2+0113_daily_bin328.fits outfile=/scratch/kocevski/890117/cmap_324345601_324604801_4FGL_J2326.2+0113_daily_bin328.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/890117/ft1_filtered_4FGL_J2326.2+0113_daily_bin328.fits scfile=/scratch/kocevski/890117/ft2_4FGL_J2326.2+0113_daily_bin328.fits outfile=/scratch/kocevski/890117/cmap_HighResolution_324345601_324604801_4FGL_J2326.2+0113_daily_bin328.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.575 yref=1.2216 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.703       1.0000         .10000E-03   10000.    
     2 'norm      '    25.683       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10233E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    28.555       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10658E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.237       1.0000         .10000E-03   10000.    
     8 'norm      '    3.9187       1.0000         .10000E-03   10000.    
     9 'norm      '    .32634E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    21.029       1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.378       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .34197E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.546       1.0000         .10000E-03   10000.    
    17 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .39571E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    113.25       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    26.055       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .48728       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .93147       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=   1971.797     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     2710 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     45.709        39.991        .18674E-05   -.34200E-04
   2  norm          25.692        37.906       -.60380E-06   -.26879E-04
   3  Prefactor     .10000E-03    21.047       -.25706E-04** at limit **
   4  Prefactor     .10000E-03    20.246        .27922E-04** at limit **
   5  Prefactor     28.561        44.232        .78061E-06   -.61116E-05
   6  Prefactor     .10000E-03    119.44        .27523E-04** at limit **
   7  Prefactor     10.256        19.879        .28030E-05   -.16875E-03
   8  norm          3.9229        2.6928       -.71617E-07   -.81893E-03
   9  norm          .10000E-03    21.392        .37410E-05** at limit **
  10  Prefactor     .10000E-03    6.7397       -.86157E-07** at limit **
  11  Prefactor     .10000E-03    56.158       -.17344E-04** at limit **
  12  norm          21.040        20.442        .17354E-05   -.10130E-03
  13  Prefactor     19.378        16.547        .21007E-05   -.86509E-04
  14  Prefactor     .10000E-03    317.77        .18831E-04** at limit **
  15  Prefactor     .10000E-03    10.784       -.51784E-07** at limit **
  16  Prefactor     10.570        38.712        .31991E-05   -.13374E-04
  17  norm          .10000E-03    42.082        .10924E-04** at limit **
  18  Prefactor     .10000E-03    313.45       -.53779E-04** at limit **
  19  Prefactor     .10011E-03    8.5559        .41981E-05** at limit **
  20  Prefactor     113.23        77.405       -.13346E-04   -.89036E-04
  21  Prefactor     .10000E-03    18.080       -.56921E-05** at limit **
  22  Prefactor     26.035        38.481       -.15410E-06   -.14943E-03
  23  Normalizat    .48695        .39079       -.22603E-05   -.23695E-03
  24  Prefactor     .93153        .24134        .26905E-07   -.39545E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 45.7088
  norm       = 25.6916
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.5606
  Prefactor  = 0.0001
  Prefactor  = 10.2558
  norm       = 3.92294
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 21.0402
  Prefactor  = 19.3777
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.5699
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100113
  Prefactor  = 113.228
  Prefactor  = 0.0001
  Prefactor  = 26.0353
  Normalizat = 0.48695
  Prefactor  = 0.931529
 **********
 **   18 **HESSE 
 **********

 FCN=   1971.797     FROM HESSE     STATUS=OK           391 CALLS     3101 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     45.709        39.978        .59307E-04   -1.4355    
   2  norm          25.692        37.854        .79046E-04   -1.4694    
   3  Prefactor     .10000E-03    21.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    20.374        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     28.561        44.215        .74973E-04   -1.4639    
   6  Prefactor     .10000E-03    119.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.256        19.612        .12523E-03   -1.5067    
   8  norm          3.9229        2.6787        .57312E-04   -1.5312    
   9  norm          .10000E-03    21.413        .39594E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.7432        .11258E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    56.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          21.040        20.420        .87344E-04   -1.4790    
  13  Prefactor     19.378        16.538        .90985E-04   -1.4827    
  14  Prefactor     .10000E-03    317.82        .21334E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.794        .14240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.570        38.600        .12338E-03   -1.5058    
  17  norm          .10000E-03    42.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    314.21        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10011E-03    26.604        .24380E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     113.23        77.285        .18901E-03   -1.3576    
  21  Prefactor     .10000E-03    18.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     26.035        38.335        .78480E-04   -1.4687    
  23  Normalizat    .48695        .42217        .39065E-03   -1.1302    
  24  Prefactor     .93153        .26984        .19209E-03   -.95048    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.87433e-09
Minuit parameter uncertainties:
  1  40.0011
  2  37.8897
  3  2.99107e-06
  4  0.000174234
  5  44.2659
  6  0.000166434
  7  19.6248
  8  2.67882
  9  0.000352923
  10  1.74625e-05
  11  7.48533e-05
  12  20.4263
  13  16.5418
  14  9.7387e-05
  15  2.25879e-06
  16  38.6912
  17  6.79491e-05
  18  2.2335e-05
  19  0.00346552
  20  77.3542
  21  4.95269e-05
  22  38.3708
  23  0.424984
  24  0.270225
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  7.485e-05  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.315e-01  2.702e-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:  4.870e-01  4.250e-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: 1.37e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.04e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/890117/likelihoodResults_324345601_324604801_4FGL_J2326.2+0113_daily_bin328.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): 102
logL (Free Index) = 1971.7967593
delta logL = -8.26118109671e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1971.79667696
delta logL = -2.72686293101e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2841       1.0000          .0000       10.000    
     3 'Normalizat'    .48704       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93147       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=   1971.797     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      270 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10121E-03    185.69        .18142E-02** at limit **
   2  Index         2.2270        8.3903        .50000        .67429E-05
   3  Normalizat    .48696        .16864E-01    .39065E-03    .53723E-04
   4  Prefactor     .93153        .11345E-01    .19209E-03    .75207E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101215
  Index      = 2.22698
  Normalizat = 0.486957
  Prefactor  = 0.931528
 **********
 **   18 **HESSE 
 **********

 FCN=   1971.797     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10121E-03    809.04        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2270        5.8166        .50000       -.58789    
   3  Normalizat    .48696        .36083E-01    .15626E-04   -1.1302    
   4  Prefactor     .93153        .24275E-01    .38419E-04   -.95048    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.26783e-09
Minuit parameter uncertainties:
  1  0.0635764
  2  427.934
  3  0.0360851
  4  0.0242751
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/890117': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1971.79667684
delta logL = -1.57405111167e-07

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.012e-04  6.358e-02  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.227e+00  4.279e+02  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.315e-01  2.428e-02  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  4.870e-01  3.609e-02  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/890117/cmap_HighResolution_324345601_324604801_4FGL_J2326.2+0113_daily_bin328.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', job_status='DONE', photon_flux_upper_limit='1.37e-07', time_completed='2021-09-29 18:57:25.267646', job_id='890117', GAL2='0.93', fit_tolerance='1e-08', EG2='0.49', EG='0.49', time_epoch_completed='1632967045.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='-1.57e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='328' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:57:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 890117: <4FGL_J2326.2+0113_daily_bin328> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin328 351.575 1.2216 324345601 324604801 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 :                                   469.12 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             233.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            715 sec.

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

