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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin771
RA = 351.575, Dec = 1.2216
tmin = 439171201, tmax = 439430401
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='892865', job_status='RUN', time_executed='2021-09-29 18:57:22.596753', time_epoch_executed='1632967042.6' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892865

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892865/ft1_4FGL_J2326.2+0113_daily_bin771.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892865/ft2_4FGL_J2326.2+0113_daily_bin771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892865/ft1_4FGL_J2326.2+0113_daily_bin771.fits outfile=/scratch/kocevski/892865/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin771.fits ra=351.575 dec=1.2216 rad=12.0 tmin=439171201.0 tmax=439430401.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.53
user 5.28
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/892865/ft2_4FGL_J2326.2+0113_daily_bin771.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/892865/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin771.fits evtable="EVENTS" outfile="/scratch/kocevski/892865/ft1_filtered_4FGL_J2326.2+0113_daily_bin771.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/892865/ft1_filtered_4FGL_J2326.2+0113_daily_bin771.fits" evtable="EVENTS" scfile=/scratch/kocevski/892865/ft2_4FGL_J2326.2+0113_daily_bin771.fits sctable="SC_DATA" outfile=/scratch/kocevski/892865/ltcube_439171201_439430401_4FGL_J2326.2+0113_daily_bin771.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/892865/ft2_4FGL_J2326.2+0113_daily_bin771.fits
.....................!
real 12.03
user 11.71
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892865/ft1_filtered_4FGL_J2326.2+0113_daily_bin771.fits evtable="EVENTS" scfile=/scratch/kocevski/892865/ft2_4FGL_J2326.2+0113_daily_bin771.fits sctable="SC_DATA" expcube=/scratch/kocevski/892865/ltcube_439171201_439430401_4FGL_J2326.2+0113_daily_bin771.fits outfile=/scratch/kocevski/892865/expmap_439171201_439430401_4FGL_J2326.2+0113_daily_bin771.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/892865/ltcube_439171201_439430401_4FGL_J2326.2+0113_daily_bin771.fits
.....................!
real 191.38
user 185.82
sys 5.11

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/892865/ft1_filtered_4FGL_J2326.2+0113_daily_bin771.fits scfile=/scratch/kocevski/892865/ft2_4FGL_J2326.2+0113_daily_bin771.fits outfile=/scratch/kocevski/892865/cmap_439171201_439430401_4FGL_J2326.2+0113_daily_bin771.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892865/ft1_filtered_4FGL_J2326.2+0113_daily_bin771.fits scfile=/scratch/kocevski/892865/ft2_4FGL_J2326.2+0113_daily_bin771.fits outfile=/scratch/kocevski/892865/cmap_HighResolution_439171201_439430401_4FGL_J2326.2+0113_daily_bin771.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.56
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    68.321       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.1948       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10273E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .62963       1.0000         .10000E-03   10000.    
     9 'norm      '    1.4044       1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.788       1.0000         .10000E-03   10000.    
    11 'Prefactor '    54.833       1.0000         .10000E-03   10000.    
    12 'norm      '    .10557E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.614       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .64689E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    40.417       1.0000         .10000E-03   10000.    
    18 'Prefactor '    47.312       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.6792       1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.286       1.0000         .10000E-03   10000.    
    21 'Prefactor '    64.154       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .89514       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .79077       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=   3214.677     FROM MIGRAD    STATUS=CONVERGED    537 CALLS     2719 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.2506        .43980E-07** at limit **
   2  norm          .10000E-03    22.108        .28461E-07** at limit **
   3  Prefactor     68.316        63.088        .66044E-06   -.23629E-05
   4  Prefactor     .10000E-03    8.4927       -.55585E-07** at limit **
   5  Prefactor     3.1961        45.373        .27821E-06   -.25972E-05
   6  Prefactor     .10000E-03    265.05        .10113E-04** at limit **
   7  Prefactor     .10000E-03    9.9685        .14654E-06** at limit **
   8  norm          .62956        .66126        .63272E-08    .10158E-04
   9  norm          1.4023        12.891       -.34932E-06   -.31386E-04
  10  Prefactor     21.791        18.873        .26499E-06   -.62706E-05
  11  Prefactor     54.800        59.191        .23098E-05   -.15902E-05
  12  norm          .10000E-03    36.001        .23691E-07** at limit **
  13  Prefactor     11.614        11.258        .25189E-06   -.97726E-05
  14  Prefactor     .10000E-03    230.17       -.88360E-05** at limit **
  15  Prefactor     .10000E-03    37.089       -.51062E-06** at limit **
  16  Prefactor     .10000E-03    27.161       -.19014E-06** at limit **
  17  norm          40.326        36.228       -.75749E-06    .28827E-05
  18  Prefactor     47.307        88.825        .45262E-06   -.44113E-05
  19  Prefactor     4.6706        7.7427        .14617E-05   -.11212E-04
  20  Prefactor     11.261        91.287        .35273E-05   -.18388E-05
  21  Prefactor     64.144        38.025       -.46754E-07   -.59216E-05
  22  Prefactor     .10000E-03    9.0578        .10616E-06** at limit **
  23  Normalizat    .89517        .27766       -.15733E-05   -.58797E-05
  24  Prefactor     .79074        .17621        .15628E-06   -.46870E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 68.3162
  Prefactor  = 0.0001
  Prefactor  = 3.19615
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.629557
  norm       = 1.40225
  Prefactor  = 21.7905
  Prefactor  = 54.8004
  norm       = 0.0001
  Prefactor  = 11.6144
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 40.3264
  Prefactor  = 47.3075
  Prefactor  = 4.67065
  Prefactor  = 11.2611
  Prefactor  = 64.1439
  Prefactor  = 0.0001
  Normalizat = 0.895172
  Prefactor  = 0.790745
 **********
 **   18 **HESSE 
 **********

 FCN=   3214.677     FROM HESSE     STATUS=OK           397 CALLS     3116 TOTAL
                     EDM=   .81E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.2571        .15907E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    22.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     68.316        63.114        .48561E-04   -1.4053    
   4  Prefactor     .10000E-03    8.5027        .16139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.1961        45.397        .22669E-03   -1.5350    
   6  Prefactor     .10000E-03    268.89        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.9878        .17456E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .62956        .67030        .45556E-04   -1.5549    
   9  norm          1.4023        12.718        .36592E-03   -1.5471    
  10  Prefactor     21.791        18.831        .85810E-04   -1.4774    
  11  Prefactor     54.800        59.125        .27084E-03   -1.4226    
  12  norm          .10000E-03    36.793        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.614        11.219        .58776E-03   -1.5026    
  14  Prefactor     .10000E-03    229.94        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    37.530        .42047E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    27.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          40.326        35.688        .63051E-04   -1.4437    
  18  Prefactor     47.307        88.555        .58294E-04   -1.4331    
  19  Prefactor     4.6706        7.7546        .85504E-03   -1.5276    
  20  Prefactor     11.261        91.793        .11925E-03   -1.5037    
  21  Prefactor     64.144        38.000        .50103E-04   -1.4104    
  22  Prefactor     .10000E-03    9.0661        .16667E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .89517        .32179        .29187E-03   -.96630    
  24  Prefactor     .79074        .20597        .20784E-03   -1.0007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.12801e-11
Minuit parameter uncertainties:
  1  1.07162e-06
  2  2.07988e-05
  3  63.1757
  4  1.63275e-07
  5  24.1128
  6  0.000224348
  7  1.48081e-05
  8  0.670304
  9  8.44807
  10  18.8362
  11  59.1885
  12  4.28572e-05
  13  11.2208
  14  1.0925e-05
  15  0.000148272
  16  1.45541e-05
  17  35.7067
  18  88.8027
  19  7.75623
  20  64.4372
  21  38.0141
  22  1.24818e-07
  23  0.322485
  24  0.206166
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  5.480e+01  5.919e+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:  7.907e-01  2.062e-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:  8.952e-01  3.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.48
Ra Dec: 351.575 1.222
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 3.33e-08 +/- 3.60e-08
Energy Flux (Fixed Index): 1.75e-05 +/- 1.89e-05

TS (Fixed Index): 2.48
Ra Dec: 351.575 1.222
Photon Flux Upper Limit: 1.42e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.08e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/892865/likelihoodResults_439171201_439430401_4FGL_J2326.2+0113_daily_bin771.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) = 3214.60710597
delta logL = 0.0696384349708

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3214.60484629
delta logL = 0.071898114335

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    71.517       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8242       1.0000          .0000       10.000    
     3 'Normalizat'    .90359       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78810       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3214.605     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      298 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     71.519        84.756        .47471E-04   -.10427E-03
   2  Index         1.8242        .75053        .84337E-02   -.77586E-04
   3  Normalizat    .90353        .29572        .29067E-03    .52058E-04
   4  Prefactor     .78815        .20034        .20815E-03    .79249E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 71.519
  Index      = 1.82417
  Normalizat = 0.903529
  Prefactor  = 0.788148
 **********
 **   18 **HESSE 
 **********

 FCN=   3214.605     FROM HESSE     STATUS=OK            25 CALLS      323 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     71.519        83.516        .94941E-05   -1.4015    
   2  Index         1.8242        .73958        .33735E-03   -.68822    
   3  Normalizat    .90353        .29589        .11627E-04   -.96336    
   4  Prefactor     .78815        .20050        .83262E-05   -1.0017    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52374e-10
Minuit parameter uncertainties:
  1  83.6529
  2  0.744174
  3  0.296428
  4  0.200682
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892865': 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) = 3214.60484626
delta logL = 0.0718981439486

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  7.152e+01  8.365e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  1.824e+00  7.442e-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:  7.881e-01  2.007e-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.035e-01  2.964e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.62
Ra Dec: 351.575 1.222
Photon Index (Free Index): 1.82 +/- 0.74
Photon Flux (Free Index): 2.37e-08 +/- 3.44e-08
Energy Flux (Free Index): 2.64e-05 +/- 4.33e-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/892865/cmap_HighResolution_439171201_439430401_4FGL_J2326.2+0113_daily_bin771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', comment='SUCCESS', photon_flux='3.33e-08', energy_flux2='2.64e-05', photon_flux_error='3.60e-08', dlogl='7.19e-02', energy_flux='1.75e-05', photon_flux2='2.37e-08', job_status='DONE', time_completed='2021-09-29 19:05:35.328787', photon_index_error2='0.74', photon_index2='1.82', ts='2.48', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='1.42e-07', energy_flux_error2='4.33e-05', EG='0.90', time_epoch_completed='1632967535.33', return_code='0', job_id='892865', GAL2='0.79', EG2='0.90', return_code2='0', energy_flux_error='1.89e-05', photon_flux_error2='3.44e-08', ts2='2.62', photon_index='2.12' WHERE bin_id='771' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:05:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 892865: <4FGL_J2326.2+0113_daily_bin771> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin771> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 18:55:20 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:55:22 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:55:22 2021
Terminated at Wed Sep 29 19:05:36 2021
Results reported at Wed Sep 29 19:05:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin771 351.575 1.2216 439171201 439430401 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 :                                   489.20 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             330.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   613 sec.
    Turnaround time :                            616 sec.

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

