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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin126
RA = 351.575, Dec = 1.2216
tmin = 271987201, tmax = 272246401
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='888801', job_status='RUN', time_executed='2021-09-29 18:44:30.987096', time_epoch_executed='1632966270.99' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='126'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/888801

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/888801/ft1_4FGL_J2326.2+0113_daily_bin126.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/888801/ft2_4FGL_J2326.2+0113_daily_bin126.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/888801/ft1_4FGL_J2326.2+0113_daily_bin126.fits outfile=/scratch/kocevski/888801/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin126.fits ra=351.575 dec=1.2216 rad=12.0 tmin=271987201.0 tmax=272246401.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 1.61
user 1.44
sys 0.16

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/888801/ft1_filtered_4FGL_J2326.2+0113_daily_bin126.fits" evtable="EVENTS" scfile=/scratch/kocevski/888801/ft2_4FGL_J2326.2+0113_daily_bin126.fits sctable="SC_DATA" outfile=/scratch/kocevski/888801/ltcube_271987201_272246401_4FGL_J2326.2+0113_daily_bin126.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/888801/ft2_4FGL_J2326.2+0113_daily_bin126.fits
.....................!
real 12.09
user 11.73
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/888801/ft1_filtered_4FGL_J2326.2+0113_daily_bin126.fits evtable="EVENTS" scfile=/scratch/kocevski/888801/ft2_4FGL_J2326.2+0113_daily_bin126.fits sctable="SC_DATA" expcube=/scratch/kocevski/888801/ltcube_271987201_272246401_4FGL_J2326.2+0113_daily_bin126.fits outfile=/scratch/kocevski/888801/expmap_271987201_272246401_4FGL_J2326.2+0113_daily_bin126.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/888801/ltcube_271987201_272246401_4FGL_J2326.2+0113_daily_bin126.fits
.....................!
real 190.68
user 185.60
sys 4.74

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/888801/ft1_filtered_4FGL_J2326.2+0113_daily_bin126.fits scfile=/scratch/kocevski/888801/ft2_4FGL_J2326.2+0113_daily_bin126.fits outfile=/scratch/kocevski/888801/cmap_271987201_272246401_4FGL_J2326.2+0113_daily_bin126.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/888801/ft1_filtered_4FGL_J2326.2+0113_daily_bin126.fits scfile=/scratch/kocevski/888801/ft2_4FGL_J2326.2+0113_daily_bin126.fits outfile=/scratch/kocevski/888801/cmap_HighResolution_271987201_272246401_4FGL_J2326.2+0113_daily_bin126.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51266E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    11.213       1.0000         .10000E-03   10000.    
     3 'Prefactor '    29.538       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.143       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .50922       1.0000         .10000E-03   10000.    
     8 'norm      '    1.3604       1.0000         .10000E-03   10000.    
     9 'norm      '    1.5421       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.6817       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10660E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    9.0919       1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.594       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10183E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.3529       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .26065E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.3960       1.0000         .10000E-03   10000.    
    20 'Prefactor '    44.874       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10249E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .91372       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89373       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=   8270.391     FROM MIGRAD    STATUS=CONVERGED    573 CALLS     3155 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10303E-03    9.3700       -.48196E-06** at limit **
   2  norm          11.213        8.4741        .32503E-06    .83893E-04
   3  Prefactor     29.541        21.839       -.73096E-07   -.41297E-04
   4  Prefactor     13.142        8.8212        .85540E-07    .24108E-04
   5  Prefactor     .10000E-03    6.5324        .19883E-07** at limit **
   6  Prefactor     .10000E-03    21.164       -.12905E-08** at limit **
   7  Prefactor     .49189        5.9251        .12854E-06   -.26339E-03
   8  norm          1.3602        .68564       -.13238E-08   -.23371E-03
   9  norm          1.5495        4.3565        .59251E-06   -.34558E-03
  10  Prefactor     3.6845        8.6561       -.10416E-06   -.14250E-03
  11  Prefactor     .10000E-03    79.157       -.95152E-07** at limit **
  12  norm          9.0896        10.920       -.21373E-06    .49382E-04
  13  Prefactor     13.597        8.6110        .68739E-06   -.71214E-03
  14  Prefactor     .10000E-03    42.878       -.18982E-06** at limit **
  15  Prefactor     .10000E-03    2.2646       -.64993E-07** at limit **
  16  Prefactor     .10000E-03    7.4885        .11519E-07** at limit **
  17  norm          4.3523        7.9552        .19894E-05   -.62017E-03
  18  Prefactor     .10010E-03    37.523        .97072E-06** at limit **
  19  Prefactor     3.3970        3.4485       -.79659E-07   -.23449E-03
  20  Prefactor     44.840        32.425        .40514E-05    .45958E-03
  21  Prefactor     .10000E-03    16.736        .81170E-07** at limit **
  22  Prefactor     .10000E-03    5.4198       -.28751E-08** at limit **
  23  Normalizat    .91334        .16998       -.14118E-05    .10590E-04
  24  Prefactor     .89409        .10963        .18955E-06   -.97869E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103027
  norm       = 11.2125
  Prefactor  = 29.5407
  Prefactor  = 13.1416
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.491895
  norm       = 1.36018
  norm       = 1.5495
  Prefactor  = 3.68454
  Prefactor  = 0.0001
  norm       = 9.08958
  Prefactor  = 13.5965
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.35229
  Prefactor  = 0.000100099
  Prefactor  = 3.39701
  Prefactor  = 44.8405
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.913337
  Prefactor  = 0.894092
 **********
 **   18 **HESSE 
 **********

 FCN=   8270.391     FROM HESSE     STATUS=OK           421 CALLS     3576 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10303E-03    11.433        .82877E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          11.213        8.4835        .11964E-03   -1.5038    
   3  Prefactor     29.541        21.848        .73719E-04   -1.4620    
   4  Prefactor     13.142        8.8217        .11049E-03   -1.4983    
   5  Prefactor     .10000E-03    6.5492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    21.187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .49189        19.288        .37195E-02   -1.5568    
   8  norm          1.3602        .68041        .51214E-04   -1.5475    
   9  norm          1.5495        4.2927        .27257E-03   -1.5459    
  10  Prefactor     3.6845        8.6434        .21050E-03   -1.5324    
  11  Prefactor     .10000E-03    79.907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.0896        11.046        .13292E-03   -1.5105    
  13  Prefactor     13.597        8.9786        .54319E-03   -1.4970    
  14  Prefactor     .10000E-03    42.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.2691        .13363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.4983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.3523        8.6633        .96530E-03   -1.5291    
  18  Prefactor     .10010E-03    36.349        .15668       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.3970        3.4420        .15777E-03   -1.5339    
  20  Prefactor     44.840        34.837        .59850E-04   -1.4368    
  21  Prefactor     .10000E-03    16.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    5.4481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .91334        .19428        .28212E-03   -.95993    
  24  Prefactor     .89409        .12624        .19796E-03   -.96348    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94559e-09
Minuit parameter uncertainties:
  1  0.0117675
  2  8.48439
  3  21.8538
  4  8.82254
  5  4.03448e-06
  6  1.29849e-05
  7  6.1619
  8  0.680409
  9  4.29356
  10  8.64629
  11  0.000182921
  12  11.048
  13  8.97949
  14  3.85967e-05
  15  5.93823e-06
  16  4.71337e-06
  17  8.6658
  18  0.0037891
  19  3.4422
  20  34.8529
  21  5.21945e-05
  22  1.97975e-06
  23  0.194429
  24  0.126282
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  1.829e-04  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:  8.941e-01  1.263e-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.133e-01  1.944e-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: 5.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/888801/likelihoodResults_271987201_272246401_4FGL_J2326.2+0113_daily_bin126.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) = 8270.39077902
delta logL = -5.95179935772e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8270.39072136
delta logL = -1.85542194231e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37468E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2104       1.0000          .0000       10.000    
     3 'Normalizat'    .91334       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89409       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=   8270.391     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      229 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.247        .10647E-01** at limit **
   2  Index         2.2097        8.7447        .50000        .29446E-05
   3  Normalizat    .91334        .21234E-02    .45072E-01    .15679E-03
   4  Prefactor     .89409        .14839E-02    .44930E-01    .94416E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.2097
  Normalizat = 0.913337
  Prefactor  = 0.894093
 **********
 **   18 **HESSE 
 **********

 FCN=   8270.391     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      262 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    163.51        .21293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2097        7.4580        .50000       -.59205    
   3  Normalizat    .91334        .60072E-02    .28212E-03   -.95993    
   4  Prefactor     .89409        .41987E-02    .19796E-03   -.96348    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.64695e-09
Minuit parameter uncertainties:
  1  0.000306651
  2  126.067
  3  0.00600719
  4  0.00419865
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/888801': 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) = 8270.39071954
delta logL = -3.73747752747e-08

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  3.067e-04  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.210e+00  1.261e+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:  8.941e-01  4.199e-03  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.133e-01  6.007e-03  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/888801/cmap_HighResolution_271987201_272246401_4FGL_J2326.2+0113_daily_bin126.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.39e-03', job_status='DONE', photon_flux_upper_limit='5.79e-08', time_completed='2021-09-29 18:57:32.738357', job_id='888801', GAL2='0.89', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1632967052.74', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='-3.74e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='126' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:57:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 888801: <4FGL_J2326.2+0113_daily_bin126> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin126 351.575 1.2216 271987201 272246401 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 :                                   781.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             310.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   995 sec.
    Turnaround time :                            997 sec.

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

