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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin703
RA = 351.575, Dec = 1.2216
tmin = 421545601, tmax = 421804801
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='891747', job_status='RUN', time_executed='2021-09-29 18:54:53.296998', time_epoch_executed='1632966893.3' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='703'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891747

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891747/ft1_4FGL_J2326.2+0113_daily_bin703.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891747/ft2_4FGL_J2326.2+0113_daily_bin703.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891747/ft1_4FGL_J2326.2+0113_daily_bin703.fits outfile=/scratch/kocevski/891747/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin703.fits ra=351.575 dec=1.2216 rad=12.0 tmin=421545601.0 tmax=421804801.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.59
user 3.38
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891747/ft1_filtered_4FGL_J2326.2+0113_daily_bin703.fits evtable="EVENTS" scfile=/scratch/kocevski/891747/ft2_4FGL_J2326.2+0113_daily_bin703.fits sctable="SC_DATA" expcube=/scratch/kocevski/891747/ltcube_421545601_421804801_4FGL_J2326.2+0113_daily_bin703.fits outfile=/scratch/kocevski/891747/expmap_421545601_421804801_4FGL_J2326.2+0113_daily_bin703.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/891747/ltcube_421545601_421804801_4FGL_J2326.2+0113_daily_bin703.fits
.....................!
real 191.94
user 186.58
sys 5.01

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/891747/ft1_filtered_4FGL_J2326.2+0113_daily_bin703.fits scfile=/scratch/kocevski/891747/ft2_4FGL_J2326.2+0113_daily_bin703.fits outfile=/scratch/kocevski/891747/cmap_421545601_421804801_4FGL_J2326.2+0113_daily_bin703.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891747/ft1_filtered_4FGL_J2326.2+0113_daily_bin703.fits scfile=/scratch/kocevski/891747/ft2_4FGL_J2326.2+0113_daily_bin703.fits outfile=/scratch/kocevski/891747/cmap_HighResolution_421545601_421804801_4FGL_J2326.2+0113_daily_bin703.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.256       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.489       1.0000         .10000E-03   10000.    
     6 'Prefactor '    54.772       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.928       1.0000         .10000E-03   10000.    
     8 'norm      '    1.3632       1.0000         .10000E-03   10000.    
     9 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.7456       1.0000         .10000E-03   10000.    
    11 'Prefactor '    82.924       1.0000         .10000E-03   10000.    
    12 'norm      '    .47617       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.7297       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.3317       1.0000         .10000E-03   10000.    
    17 'norm      '    17.097       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .30252E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    37.591       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.6745       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .12864       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .96135       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .84749       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=   5846.863     FROM MIGRAD    STATUS=CONVERGED    581 CALLS     2794 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.0622        .13932E-07** at limit **
   2  norm          .10000E-03    4.5572        .72911E-08** at limit **
   3  Prefactor     .10000E-03    14.371       -.19838E-07** at limit **
   4  Prefactor     15.254        11.697       -.46562E-06   -.32582E-04
   5  Prefactor     16.485        16.386       -.12896E-05   -.13669E-03
   6  Prefactor     54.751        79.595       -.10817E-04   -.97254E-04
   7  Prefactor     13.927        14.733        .40661E-05    .25526E-03
   8  norm          1.3632        .95442        .46058E-08   -.50030E-03
   9  norm          .10000E-03    2.1596       -.42039E-07** at limit **
  10  Prefactor     3.7388        8.3062        .39474E-05   -.12116E-02
  11  Prefactor     82.919        54.473       -.32280E-05   -.19402E-03
  12  norm          .51422        5.3558       -.15220E-05    .57186E-04
  13  Prefactor     .10000E-03    4.8044        .48742E-07** at limit **
  14  Prefactor     .10000E-03    81.294        .45000E-06** at limit **
  15  Prefactor     3.7192        15.151        .55545E-06   -.36639E-03
  16  Prefactor     9.3289        16.012       -.28314E-06    .52756E-04
  17  norm          17.109        23.439       -.44845E-05   -.50039E-03
  18  Prefactor     .10000E-03    72.581       -.12988E-05** at limit **
  19  Prefactor     .28577E-01    2.6308        .74836E-06   -.34888E-03
  20  Prefactor     37.590        35.599       -.15046E-05   -.11394E-03
  21  Prefactor     7.6734        11.081        .58961E-06    .56484E-04
  22  Prefactor     .10003E-03    14.095       -.33245E-06** at limit **
  23  Normalizat    .96162        .19667        .84519E-06   -.34191E-04
  24  Prefactor     .84743        .12872        .90970E-07    .48035E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.2539
  Prefactor  = 16.4853
  Prefactor  = 54.7511
  Prefactor  = 13.9265
  norm       = 1.36316
  norm       = 0.0001
  Prefactor  = 3.73881
  Prefactor  = 82.919
  norm       = 0.514222
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.71917
  Prefactor  = 9.32887
  norm       = 17.1091
  Prefactor  = 0.0001
  Prefactor  = 0.0285766
  Prefactor  = 37.5905
  Prefactor  = 7.6734
  Prefactor  = 0.000100029
  Normalizat = 0.961621
  Prefactor  = 0.84743
 **********
 **   18 **HESSE 
 **********

 FCN=   5846.863     FROM HESSE     STATUS=OK           417 CALLS     3211 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.0670        .16802E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.5664        .15940E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     15.254        11.688        .10254E-03   -1.4927    
   5  Prefactor     16.485        16.422        .98632E-04   -1.4896    
   6  Prefactor     54.751        80.788        .54199E-04   -1.4227    
   7  Prefactor     13.927        14.851        .10732E-03   -1.4961    
   8  norm          1.3632        .93721        .59129E-04   -1.5474    
   9  norm          .10000E-03    2.1630        .10966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.7388        12.334        .10431E-02   -1.5321    
  11  Prefactor     82.919        54.642        .44110E-04   -1.3884    
  12  norm          .51422        37.488        .30497E-02   -1.5565    
  13  Prefactor     .10000E-03    4.8409        .16307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    81.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.7192        14.835        .20908E-03   -1.5322    
  16  Prefactor     9.3289        16.049        .13119E-03   -1.5097    
  17  norm          17.109        23.204        .96863E-04   -1.4880    
  18  Prefactor     .10000E-03    72.807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .28577E-01    6.8384        .36696E-01   -1.5674    
  20  Prefactor     37.590        35.665        .65369E-04   -1.4481    
  21  Prefactor     7.6734        11.077        .14475E-03   -1.5154    
  22  Prefactor     .10003E-03    19.282        .79047E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .96162        .22491        .27629E-03   -.94327    
  24  Prefactor     .84743        .14748        .20184E-03   -.98003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97302e-07
Minuit parameter uncertainties:
  1  1.73884e-06
  2  2.31449e-06
  3  5.16696e-06
  4  11.6897
  5  16.4269
  6  80.9503
  7  14.8548
  8  0.937219
  9  1.49136e-05
  10  12.3419
  11  54.6752
  12  8.78601
  13  1.53035e-06
  14  8.54279e-05
  15  14.85
  16  16.0566
  17  23.2158
  18  0.000295561
  19  0.882677
  20  35.6847
  21  11.0797
  22  0.00150833
  23  0.225136
  24  0.147551
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  8.292e+01  5.468e+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:  8.474e-01  1.476e-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.616e-01  2.251e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.31
Ra Dec: 351.575 1.222
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 5.04e-08 +/- 3.32e-08
Energy Flux (Fixed Index): 2.65e-05 +/- 1.75e-05

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) = 5846.85142732
delta logL = 0.0119792792821

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5846.83818587
delta logL = 0.0252207328922

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    72.165       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2294       1.0000          .0000       10.000    
     3 'Normalizat'    .95643       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84914       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=   5846.838     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      212 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     72.080        953.35        .11815E-02   -.30792E-05
   2  Index         2.2297        2.7800        .13161        .11540E-03
   3  Normalizat    .95643        .89152E-01    .45619E-01    .13938E-04
   4  Prefactor     .84914        .51011E-01    .44353E-01    .43956E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 72.08
  Index      = 2.22971
  Normalizat = 0.956428
  Prefactor  = 0.849138
 **********
 **   18 **HESSE 
 **********

 FCN=   5846.838     FROM HESSE     STATUS=OK            31 CALLS      243 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     72.080        72.701        .47258E-04   -1.4008    
   2  Index         2.2297        .52896        .46001E-02   -.58723    
   3  Normalizat    .95643        .21148        .27690E-03   -.94505    
   4  Prefactor     .84914        .14558        .20164E-03   -.97942    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61338e-09
Minuit parameter uncertainties:
  1  72.7908
  2  0.530395
  3  0.211666
  4  0.145642
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891747': 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) = 5846.83818495
delta logL = 0.0252216577646

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  7.208e+01  7.279e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.230e+00  5.304e-01  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.491e-01  1.456e-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.564e-01  2.117e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.36
Ra Dec: 351.575 1.222
Photon Index (Free Index): 2.23 +/- 0.53
Photon Flux (Free Index): 5.60e-08 +/- 4.26e-08
Energy Flux (Free Index): 2.38e-05 +/- 1.96e-05

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/891747/cmap_HighResolution_421545601_421804801_4FGL_J2326.2+0113_daily_bin703.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.04e-08', energy_flux2='2.38e-05', photon_flux_error='3.32e-08', dlogl='2.52e-02', energy_flux='2.65e-05', photon_flux2='5.60e-08', job_status='DONE', time_completed='2021-09-29 19:04:31.260327', photon_index_error2='0.53', photon_index2='2.23', ts='4.31', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='1.96e-05', EG='0.96', time_epoch_completed='1632967471.26', return_code='0', job_id='891747', GAL2='0.85', EG2='0.96', return_code2='0', energy_flux_error='1.75e-05', photon_flux_error2='4.26e-08', ts2='4.36', photon_index='2.12' WHERE bin_id='703' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:04:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 891747: <4FGL_J2326.2+0113_daily_bin703> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin703 351.575 1.2216 421545601 421804801 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 :                                   576.55 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             251.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            809 sec.

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

