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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin711
RA = 351.575, Dec = 1.2216
tmin = 423619201, tmax = 423878401
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='891759', job_status='RUN', time_executed='2021-09-29 18:54:23.300465', time_epoch_executed='1632966863.3' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891759

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891759/ft1_4FGL_J2326.2+0113_daily_bin711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891759/ft2_4FGL_J2326.2+0113_daily_bin711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891759/ft1_4FGL_J2326.2+0113_daily_bin711.fits outfile=/scratch/kocevski/891759/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin711.fits ra=351.575 dec=1.2216 rad=12.0 tmin=423619201.0 tmax=423878401.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 5.73
user 5.48
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/891759/ft2_4FGL_J2326.2+0113_daily_bin711.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/891759/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin711.fits evtable="EVENTS" outfile="/scratch/kocevski/891759/ft1_filtered_4FGL_J2326.2+0113_daily_bin711.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/891759/ft1_filtered_4FGL_J2326.2+0113_daily_bin711.fits" evtable="EVENTS" scfile=/scratch/kocevski/891759/ft2_4FGL_J2326.2+0113_daily_bin711.fits sctable="SC_DATA" outfile=/scratch/kocevski/891759/ltcube_423619201_423878401_4FGL_J2326.2+0113_daily_bin711.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/891759/ft2_4FGL_J2326.2+0113_daily_bin711.fits
.....................!
real 11.76
user 11.42
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891759/ft1_filtered_4FGL_J2326.2+0113_daily_bin711.fits evtable="EVENTS" scfile=/scratch/kocevski/891759/ft2_4FGL_J2326.2+0113_daily_bin711.fits sctable="SC_DATA" expcube=/scratch/kocevski/891759/ltcube_423619201_423878401_4FGL_J2326.2+0113_daily_bin711.fits outfile=/scratch/kocevski/891759/expmap_423619201_423878401_4FGL_J2326.2+0113_daily_bin711.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/891759/ltcube_423619201_423878401_4FGL_J2326.2+0113_daily_bin711.fits
.....................!
real 192.69
user 187.46
sys 4.92

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/891759/ft1_filtered_4FGL_J2326.2+0113_daily_bin711.fits scfile=/scratch/kocevski/891759/ft2_4FGL_J2326.2+0113_daily_bin711.fits outfile=/scratch/kocevski/891759/cmap_423619201_423878401_4FGL_J2326.2+0113_daily_bin711.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.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891759/ft1_filtered_4FGL_J2326.2+0113_daily_bin711.fits scfile=/scratch/kocevski/891759/ft2_4FGL_J2326.2+0113_daily_bin711.fits outfile=/scratch/kocevski/891759/cmap_HighResolution_423619201_423878401_4FGL_J2326.2+0113_daily_bin711.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    6.7092       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.2348       1.0000         .10000E-03   10000.    
     9 'norm      '    1.6727       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .39177       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.6094       1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.482       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .55775E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    20.572       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10658E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.1062       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    15.397       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .44415       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3871       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=   5860.567     FROM MIGRAD    STATUS=CONVERGED    556 CALLS     2768 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    28.491        .18400E-05** at limit **
   2  norm          6.7038        19.445       -.99527E-06    .22393E-04
   3  Prefactor     .10000E-03    64.144        .13903E-05** at limit **
   4  Prefactor     .10000E-03    5.7909        .73766E-07** at limit **
   5  Prefactor     .10000E-03    49.271       -.28909E-05** at limit **
   6  Prefactor     .10000E-03    15.910       -.10746E-06** at limit **
   7  Prefactor     .10000E-03    3.3836        .34029E-07** at limit **
   8  norm          1.2348        .97650       -.93097E-07    .49110E-03
   9  norm          1.6722        4.5370       -.21284E-05   -.84893E-04
  10  Prefactor     .10000E-03    2.5043        .78366E-07** at limit **
  11  Prefactor     .10000E-03    14.679        .24944E-06** at limit **
  12  norm          .34768        19.886        .28638E-05    .48698E-03
  13  Prefactor     8.6275        11.621       -.70035E-06    .29284E-03
  14  Prefactor     35.492        111.82       -.12822E-05   -.10396E-04
  15  Prefactor     .10031E-03    115.55       -.91811E-05** at limit **
  16  Prefactor     .10000E-03    17.713        .73540E-07** at limit **
  17  norm          20.561        18.165       -.23665E-05   -.18683E-04
  18  Prefactor     .10000E-03    15.217        .56912E-07** at limit **
  19  Prefactor     .10002E-03    2.1933        .23082E-06** at limit **
  20  Prefactor     3.1035        46.619       -.18770E-05    .11357E-04
  21  Prefactor     .10000E-03    8.3877        .87538E-07** at limit **
  22  Prefactor     15.402        17.685        .60377E-07    .36073E-04
  23  Normalizat    .44412        .23946       -.79939E-06    .17283E-03
  24  Prefactor     1.3872        .16214        .17600E-06    .25259E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 6.70382
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.23478
  norm       = 1.67221
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.347678
  Prefactor  = 8.62748
  Prefactor  = 35.4919
  Prefactor  = 0.000100314
  Prefactor  = 0.0001
  norm       = 20.5613
  Prefactor  = 0.0001
  Prefactor  = 0.000100015
  Prefactor  = 3.10351
  Prefactor  = 0.0001
  Prefactor  = 15.4021
  Normalizat = 0.444116
  Prefactor  = 1.38721
 **********
 **   18 **HESSE 
 **********

 FCN=   5860.567     FROM HESSE     STATUS=OK           405 CALLS     3173 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    29.266        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.7038        19.330        .15491E-03   -1.5190    
   3  Prefactor     .10000E-03    64.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.8002        .17992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    50.995        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.3965        .13756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2348        .95702        .63071E-04   -1.5486    
   9  norm          1.6722        4.5619        .26034E-03   -1.5449    
  10  Prefactor     .10000E-03    2.5053        .11830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    14.719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .34768        58.014        .39163E-02   -1.5590    
  13  Prefactor     8.6275        11.290        .13661E-03   -1.5120    
  14  Prefactor     35.492        111.96        .67277E-04   -1.4516    
  15  Prefactor     .10031E-03    12.365        .63842E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    17.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          20.561        21.623        .88308E-04   -1.4801    
  18  Prefactor     .10000E-03    15.220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10002E-03    7.5883        .21167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.1035        46.544        .23008E-03   -1.5356    
  21  Prefactor     .10000E-03    8.3990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     15.402        17.625        .10207E-03   -1.4923    
  23  Normalizat    .44412        .24579        .41308E-03   -1.1508    
  24  Prefactor     1.3872        .17056        .17868E-03   -.80750    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.4546e-09
Minuit parameter uncertainties:
  1  0.000252441
  2  19.3482
  3  0.000679117
  4  2.53534e-06
  5  0.000811026
  6  3.57426e-05
  7  2.17109e-05
  8  0.957034
  9  4.56283
  10  4.75768e-06
  11  9.7439e-05
  12  8.98985
  13  11.2926
  14  112.633
  15  0.00394213
  16  5.77522e-05
  17  21.6317
  18  2.80482e-05
  19  0.00068429
  20  24.0596
  21  2.20455e-06
  22  17.6314
  23  0.246392
  24  0.170626
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  9.744e-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:  1.387e+00  1.706e-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.441e-01  2.464e-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: 4.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/891759/likelihoodResults_423619201_423878401_4FGL_J2326.2+0113_daily_bin711.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) = 5860.56766202
delta logL = -0.000322738073919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5860.5673396
delta logL = -3.18356796924e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2244       1.0000          .0000       10.000    
     3 'Normalizat'    .44410       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3872       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5860.567     FROM MIGRAD    STATUS=FAILED        90 CALLS      272 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6199.2        .18142E-02** at limit **
   2  Index         2.2030        5.9872        .50000        .12928E-04
   3  Normalizat    .44412        .10482        .41308E-03    .12795E-03
   4  Prefactor     1.3872        .77303E-01    .17868E-03   -.59808E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5860.567     FROM SIMPLEX   STATUS=UNCHANGED    194 CALLS      466 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6199.2        .69692E-03** at limit **
   2  Index         2.2030        5.9872        .34281E-06    .12928E-04
   3  Normalizat    .44412        .10482        .18752E-07    .12795E-03
   4  Prefactor     1.3872        .77303E-01    .44518E-08   -.59808E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5860.567     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      500 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.493        .36285E-03** at limit **
   2  Index         2.2029        6.0917        .50000        .12926E-04
   3  Normalizat    .44412        .22830        .16523E-04    .12811E-03
   4  Prefactor     1.3872        .16861        .71472E-05   -.54082E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.20286
  Normalizat = 0.444118
  Prefactor  = 1.38721
 **********
 **   18 **HESSE 
 **********

 FCN=   5860.567     FROM HESSE     STATUS=OK            29 CALLS      529 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.719        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2029        6.1006        .50000       -.59370    
   3  Normalizat    .44412        .22896        .33046E-05   -1.1508    
   4  Prefactor     1.3872        .16909        .14294E-05   -.80750    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.28802e-10
Minuit parameter uncertainties:
  1  0.000356166
  2  4.1539
  3  0.229443
  4  0.169154
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891759': 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) = 5860.56733953
delta logL = -2.44500370172e-07

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  3.562e-04  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.203e+00  4.154e+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.387e+00  1.692e-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.441e-01  2.294e-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/891759/cmap_HighResolution_423619201_423878401_4FGL_J2326.2+0113_daily_bin711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.63e-03', job_status='DONE', photon_flux_upper_limit='4.79e-08', time_completed='2021-09-29 19:05:12.382342', job_id='891759', GAL2='1.39', fit_tolerance='1e-08', EG2='0.44', EG='0.44', time_epoch_completed='1632967512.38', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.39', dlogl='-2.45e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='711' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:05:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 891759: <4FGL_J2326.2+0113_daily_bin711> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin711 351.575 1.2216 423619201 423878401 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 :                                   647.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             242.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            852 sec.

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

