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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin440
RA = 351.575, Dec = 1.2216
tmin = 353376001, tmax = 353635201
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='891338', job_status='RUN', time_executed='2021-09-29 18:54:15.018721', time_epoch_executed='1632966855.02' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='440'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891338

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891338/ft1_4FGL_J2326.2+0113_daily_bin440.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891338/ft2_4FGL_J2326.2+0113_daily_bin440.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891338/ft1_4FGL_J2326.2+0113_daily_bin440.fits outfile=/scratch/kocevski/891338/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin440.fits ra=351.575 dec=1.2216 rad=12.0 tmin=353376001.0 tmax=353635201.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.47
user 3.25
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/891338/ft2_4FGL_J2326.2+0113_daily_bin440.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/891338/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin440.fits evtable="EVENTS" outfile="/scratch/kocevski/891338/ft1_filtered_4FGL_J2326.2+0113_daily_bin440.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.31
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891338/ft1_filtered_4FGL_J2326.2+0113_daily_bin440.fits evtable="EVENTS" scfile=/scratch/kocevski/891338/ft2_4FGL_J2326.2+0113_daily_bin440.fits sctable="SC_DATA" expcube=/scratch/kocevski/891338/ltcube_353376001_353635201_4FGL_J2326.2+0113_daily_bin440.fits outfile=/scratch/kocevski/891338/expmap_353376001_353635201_4FGL_J2326.2+0113_daily_bin440.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/891338/ltcube_353376001_353635201_4FGL_J2326.2+0113_daily_bin440.fits
.....................!
real 191.18
user 185.43
sys 5.39

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/891338/ft1_filtered_4FGL_J2326.2+0113_daily_bin440.fits scfile=/scratch/kocevski/891338/ft2_4FGL_J2326.2+0113_daily_bin440.fits outfile=/scratch/kocevski/891338/cmap_353376001_353635201_4FGL_J2326.2+0113_daily_bin440.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.575 yref=1.2216 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.52
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891338/ft1_filtered_4FGL_J2326.2+0113_daily_bin440.fits scfile=/scratch/kocevski/891338/ft2_4FGL_J2326.2+0113_daily_bin440.fits outfile=/scratch/kocevski/891338/cmap_HighResolution_353376001_353635201_4FGL_J2326.2+0113_daily_bin440.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.103       1.0000         .10000E-03   10000.    
     2 'norm      '    .57215E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    24.511       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.8471       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .90205       1.0000         .10000E-03   10000.    
     6 'Prefactor '    29.351       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.6839       1.0000         .10000E-03   10000.    
     8 'norm      '    1.2634       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.111       1.0000         .10000E-03   10000.    
    11 'Prefactor '    27.721       1.0000         .10000E-03   10000.    
    12 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.902       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10405E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.0943       1.0000         .10000E-03   10000.    
    17 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    24.031       1.0000         .10000E-03   10000.    
    20 'Prefactor '    119.88       1.0000         .10000E-03   10000.    
    21 'Prefactor '    14.776       1.0000         .10000E-03   10000.    
    22 'Prefactor '    26.287       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .68445       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0580       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=   5483.944     FROM MIGRAD    STATUS=FAILED       961 CALLS     3222 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.102        25.343        .69646E-04   -.41462E-04
   2  norm          .10083E-03    10.416        .64472E-01** at limit **
   3  Prefactor     24.507        34.718        .80911E-04   -.52972E-04
   4  Prefactor     3.8458        8.0253        .20575E-03   -.55530E-04
   5  Prefactor     .87735        58.437        .45534E-02    .85930E-03
   6  Prefactor     29.538        99.636        .73952E-04   -.28680E-03
   7  Prefactor     1.6840        51.623        .16228E-02   -.35043E-04
   8  norm          1.2633        1.0195        .65019E-04   -.28343E-03
   9  norm          .10000E-03    4.3755        .15043E-02** at limit **
  10  Prefactor     19.113        10.339        .91619E-04   -.23301E-03
  11  Prefactor     27.724        46.416        .76091E-04   -.62662E-04
  12  norm          .10000E-03    3.4556        .13416E-02** at limit **
  13  Prefactor     15.905        8.4411        .10044E-03   -.18043E-03
  14  Prefactor     .10000E-03    86.757        .18142E-02** at limit **
  15  Prefactor     .10000E-03    5.5734        .17035E-02** at limit **
  16  Prefactor     .97554        110.90        .58904E-02    .10175E-03
  17  norm          .10000E-03    11.410        .18142E-02** at limit **
  18  Prefactor     .10000E-03    36.427        .18142E-02** at limit **
  19  Prefactor     24.027        8.2461        .81713E-04    .13036E-03
  20  Prefactor     119.93        59.108        .18377E-03   -.48659E-03
  21  Prefactor     14.765        24.179        .10420E-03    .25204E-04
  22  Prefactor     26.283        26.462        .78135E-04   -.25026E-04
  23  Normalizat    .68430        .28242        .35481E-03   -.25425E-03
  24  Prefactor     1.0582        .17560        .20083E-03   -.45848E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5483.944     FROM SIMPLEX   STATUS=PROGRESS     937 CALLS     4159 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.102        25.343        .12947E-06   -1.4557    
   2  norm          .10083E-03    10.416        .30713E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     24.507        34.718        .18849E-06   -1.4717    
   4  Prefactor     3.8458        8.0253        .17137E-06   -1.5316    
   5  Prefactor     .87735        58.437        .16749E-05   -1.5521    
   6  Prefactor     29.538        99.636        .49526E-06   -1.4620    
   7  Prefactor     1.6840        51.623        .13562E-05   -1.5448    
   8  norm          1.2633        1.0195        .16901E-06   -1.5483    
   9  norm          .10000E-03    4.3755        .26272E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     19.113        10.339        .11992E-06   -1.4833    
  11  Prefactor     27.724        46.416        .12795E-06   -1.4654    
  12  norm          .10000E-03    3.4556        .31983E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.905        8.4411        .12019E-06   -1.4910    
  14  Prefactor     .10000E-03    86.757        .10844E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.5734        .17067E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .97554        110.90        .13487E-06   -1.5510    
  17  norm          .10000E-03    11.410        .31868E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    36.427        .93742E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     24.027        8.2461        .11759E-06   -1.4727    
  20  Prefactor     119.93        59.108        .10935E-06   -1.3513    
  21  Prefactor     14.765        24.179        .12097E-06   -1.4939    
  22  Prefactor     26.283        26.462        .11771E-06   -1.4682    
  23  Normalizat    .68430        .28242        .84185E-07   -1.0452    
  24  Prefactor     1.0582        .17560        .72553E-07   -.90812    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5483.944     FROM MIGRAD    STATUS=CONVERGED    392 CALLS     4551 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.102        25.342        .27858E-05    .16323E-06
   2  norm          .10071E-03    9.4444        .69443E-01** at limit **
   3  Prefactor     24.507        34.711        .32364E-05   -.35127E-05
   4  Prefactor     3.8459        8.0249        .82301E-05    .38678E-06
   5  Prefactor     .87746        58.526        .91068E-03   -.55303E-05
   6  Prefactor     29.543        94.540        .14790E-04    .11222E-04
   7  Prefactor     1.6833        46.336        .64911E-04   -.27147E-04
   8  norm          1.2633        1.0192        .26008E-05   -.47210E-04
   9  norm          .10000E-03    4.3763        .30086E-03** at limit **
  10  Prefactor     19.113        10.316        .18324E-04    .15014E-04
  11  Prefactor     27.724        46.412        .15218E-04   -.26894E-05
  12  norm          .10000E-03    3.4558        .26832E-03** at limit **
  13  Prefactor     15.905        8.4317        .40174E-05    .15281E-04
  14  Prefactor     .10000E-03    86.757        .36285E-03** at limit **
  15  Prefactor     .10000E-03    5.5742        .34071E-03** at limit **
  16  Prefactor     .97517        110.48        .23562E-03   -.16405E-05
  17  norm          .10000E-03    11.411        .36285E-03** at limit **
  18  Prefactor     .10000E-03    36.428        .36285E-03** at limit **
  19  Prefactor     24.027        8.2440        .32685E-05   -.69565E-05
  20  Prefactor     119.93        59.090        .36754E-04    .22271E-05
  21  Prefactor     14.765        24.173        .41679E-05    .43643E-05
  22  Prefactor     26.283        26.453        .31254E-05     .0000    
  23  Normalizat    .68430        .28228        .14192E-04   -.46941E-04
  24  Prefactor     1.0582        .17563        .40165E-04   -.85933E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.1019
  norm       = 0.000100712
  Prefactor  = 24.5071
  Prefactor  = 3.84586
  Prefactor  = 0.877456
  Prefactor  = 29.5429
  Prefactor  = 1.68327
  norm       = 1.26332
  norm       = 0.0001
  Prefactor  = 19.1134
  Prefactor  = 27.7237
  norm       = 0.0001
  Prefactor  = 15.9046
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.975171
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.0269
  Prefactor  = 119.933
  Prefactor  = 14.7649
  Prefactor  = 26.2825
  Normalizat = 0.684296
  Prefactor  = 1.05825
 **********
 **   18 **HESSE 
 **********

 FCN=   5483.944     FROM HESSE     STATUS=OK           385 CALLS     4936 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.102        25.334        .27858E-05   -1.4557    
   2  norm          .10071E-03    9.6418        .68349E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     24.507        34.740        .64729E-06   -1.4717    
   4  Prefactor     3.8459        8.0248        .82301E-05   -1.5316    
   5  Prefactor     .87746        58.447        .36427E-04   -1.5521    
   6  Prefactor     29.543        94.969        .29581E-05   -1.4620    
   7  Prefactor     1.6833        46.715        .25964E-05   -1.5448    
   8  norm          1.2633        1.0191        .52015E-06   -1.5483    
   9  norm          .10000E-03    4.3764        .60173E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     19.113        10.315        .36648E-05   -1.4833    
  11  Prefactor     27.724        46.425        .30436E-05   -1.4654    
  12  norm          .10000E-03    3.4558        .53664E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.905        8.4333        .80349E-06   -1.4910    
  14  Prefactor     .10000E-03    86.757        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.5742        .68142E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .97517        110.43        .94246E-05   -1.5510    
  17  norm          .10000E-03    11.411        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    36.428        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     24.027        8.2449        .65371E-06   -1.4727    
  20  Prefactor     119.93        59.094        .73508E-05   -1.3513    
  21  Prefactor     14.765        24.218        .83358E-06   -1.4939    
  22  Prefactor     26.283        26.456        .31254E-05   -1.4682    
  23  Normalizat    .68430        .28222        .28384E-05   -1.0452    
  24  Prefactor     1.0582        .17555        .80331E-05   -.90812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.12728e-10
Minuit parameter uncertainties:
  1  25.3424
  2  0.00524276
  3  34.7686
  4  8.02709
  5  14.3365
  6  95.4609
  7  17.75
  8  1.01913
  9  5.70045e-07
  10  10.3159
  11  46.4858
  12  4.95866e-08
  13  8.43389
  14  1.81442e-08
  15  2.82427e-07
  16  20.7928
  17  1.42181e-07
  18  1.61978e-07
  19  8.24529
  20  59.1228
  21  24.2345
  22  26.4675
  23  0.28282
  24  0.175648
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  2.772e+01  4.649e+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.058e+00  1.756e-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:  6.843e-01  2.828e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/891338/likelihoodResults_353376001_353635201_4FGL_J2326.2+0113_daily_bin440.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) = 5483.84461399
delta logL = 0.0992348758218

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5483.83810324
delta logL = 0.105745622284

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.322       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6325       1.0000          .0000       10.000    
     3 'Normalizat'    .67195       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0626       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=   5483.838     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      282 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.322        734.40        .26459E-02    .46191E-03
   2  Index         2.6324        6.3158        .12913        .11412E-03
   3  Normalizat    .67146        .78119E-01    .80820E-01    .27417E-04
   4  Prefactor     1.0629        .47889E-01    .39223E-01    .68076E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.3221
  Index      = 2.63241
  Normalizat = 0.671456
  Prefactor  = 1.06293
 **********
 **   18 **HESSE 
 **********

 FCN=   5483.838     FROM HESSE     STATUS=OK            31 CALLS      313 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.322        60.834        .10584E-03   -1.4951    
   2  Index         2.6324        1.8145        .74928E-02   -.49328    
   3  Normalizat    .67146        .25065        .35786E-03   -1.0503    
   4  Prefactor     1.0629        .17291        .20040E-03   -.90660    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94006e-09
Minuit parameter uncertainties:
  1  59.137
  2  1.87017
  3  0.251076
  4  0.172998
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891338': 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) = 5483.83810109
delta logL = 0.105747772763

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.432e+01  5.914e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.632e+00  1.870e+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.063e+00  1.730e-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:  6.715e-01  2.511e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.53
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/891338/cmap_HighResolution_353376001_353635201_4FGL_J2326.2+0113_daily_bin440.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.20e-03', job_status='DONE', photon_flux_upper_limit='9.51e-08', time_completed='2021-09-29 19:06:19.499144', job_id='891338', GAL2='1.06', fit_tolerance='1e-08', EG2='0.67', EG='0.68', time_epoch_completed='1632967579.5', return_code2='0', ts='0.53', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.06e-01', ts2='0.75', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='440' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:06:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 891338: <4FGL_J2326.2+0113_daily_bin440> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin440> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 18:50:22 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:50:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 18:50:24 2021
Terminated at Wed Sep 29 19:06:19 2021
Results reported at Wed Sep 29 19:06:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin440 351.575 1.2216 353376001 353635201 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 :                                   722.36 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             260.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            957 sec.

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

