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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin362
RA = 351.575, Dec = 1.2216
tmin = 333158401, tmax = 333417601
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='890167', job_status='RUN', time_executed='2021-09-29 18:48:41.978895', time_epoch_executed='1632966521.98' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='362'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/890167

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

Retrieving the FT1 file...

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

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

Retrieving 51 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/890167/ft1_4FGL_J2326.2+0113_daily_bin362.fits


Retrieving the FT1 file...

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

Retrieving 51 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/890167/ft2_4FGL_J2326.2+0113_daily_bin362.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/890167/ft1_4FGL_J2326.2+0113_daily_bin362.fits outfile=/scratch/kocevski/890167/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin362.fits ra=351.575 dec=1.2216 rad=12.0 tmin=333158401.0 tmax=333417601.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 6.06
user 5.80
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/890167/ft1_filtered_4FGL_J2326.2+0113_daily_bin362.fits" evtable="EVENTS" scfile=/scratch/kocevski/890167/ft2_4FGL_J2326.2+0113_daily_bin362.fits sctable="SC_DATA" outfile=/scratch/kocevski/890167/ltcube_333158401_333417601_4FGL_J2326.2+0113_daily_bin362.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/890167/ft2_4FGL_J2326.2+0113_daily_bin362.fits
.....................!
real 11.40
user 11.06
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/890167/ft1_filtered_4FGL_J2326.2+0113_daily_bin362.fits evtable="EVENTS" scfile=/scratch/kocevski/890167/ft2_4FGL_J2326.2+0113_daily_bin362.fits sctable="SC_DATA" expcube=/scratch/kocevski/890167/ltcube_333158401_333417601_4FGL_J2326.2+0113_daily_bin362.fits outfile=/scratch/kocevski/890167/expmap_333158401_333417601_4FGL_J2326.2+0113_daily_bin362.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/890167/ltcube_333158401_333417601_4FGL_J2326.2+0113_daily_bin362.fits
.....................!
real 190.56
user 185.80
sys 4.41

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

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10471E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.7557       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.964       1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.812       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10782E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.6877       1.0000         .10000E-03   10000.    
     9 'norm      '    3.4981       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    47.858       1.0000         .10000E-03   10000.    
    12 'norm      '    .10690E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .56159E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    52.025       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.0023       1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.525       1.0000         .10000E-03   10000.    
    17 'norm      '    1.4963       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.6332       1.0000         .10000E-03   10000.    
    20 'Prefactor '    109.71       1.0000         .10000E-03   10000.    
    21 'Prefactor '    53.156       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .64845       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92124       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=   6233.835     FROM MIGRAD    STATUS=CONVERGED    594 CALLS     2801 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.257       -.15640E-06** at limit **
   2  norm          .10000E-03    3.2471       -.90412E-07** at limit **
   3  Prefactor     4.8255        49.236       -.92289E-06    .10551E-04
   4  Prefactor     14.962        12.919        .10574E-06   -.40238E-04
   5  Prefactor     19.836        19.042        .68914E-06   -.55209E-04
   6  Prefactor     .10000E-03    40.113       -.83907E-06** at limit **
   7  Prefactor     .10000E-03    6.0319       -.22095E-06** at limit **
   8  norm          1.6885        .86044       -.27602E-07   -.91082E-04
   9  norm          3.5038        4.6331        .22990E-05    .18860E-03
  10  Prefactor     .10000E-03    4.9379        .88722E-07** at limit **
  11  Prefactor     47.978        49.467       -.27130E-05    .14360E-03
  12  norm          .10001E-03    5.9864        .80539E-06** at limit **
  13  Prefactor     .27906        7.2270        .79162E-07   -.12752E-03
  14  Prefactor     51.983        101.86        .52924E-06   -.32156E-04
  15  Prefactor     4.0253        14.978       -.27770E-06   -.54098E-04
  16  Prefactor     18.405        22.466       -.17413E-06   -.33746E-04
  17  norm          1.4439        200.31        .53573E-05    .22052E-04
  18  Prefactor     .10000E-03    17.884        .12386E-07** at limit **
  19  Prefactor     3.6393        3.5616       -.53656E-06   -.24691E-03
  20  Prefactor     109.74        50.694       -.87453E-06    .12077E-03
  21  Prefactor     53.201        27.403       -.11172E-06    .53391E-04
  22  Prefactor     .10000E-03    28.262       -.60870E-07** at limit **
  23  Normalizat    .64782        .18553       -.67039E-06   -.94448E-04
  24  Prefactor     .92105        .12449        .19875E-06   -.17190E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.82546
  Prefactor  = 14.962
  Prefactor  = 19.8359
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.68849
  norm       = 3.50382
  Prefactor  = 0.0001
  Prefactor  = 47.9781
  norm       = 0.000100007
  Prefactor  = 0.279059
  Prefactor  = 51.9834
  Prefactor  = 4.02533
  Prefactor  = 18.4047
  norm       = 1.4439
  Prefactor  = 0.0001
  Prefactor  = 3.63927
  Prefactor  = 109.742
  Prefactor  = 53.2012
  Prefactor  = 0.0001
  Normalizat = 0.647818
  Prefactor  = 0.921048
 **********
 **   18 **HESSE 
 **********

 FCN=   6233.835     FROM HESSE     STATUS=OK           405 CALLS     3206 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.2524        .13893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8255        48.958        .18450E-03   -1.5269    
   4  Prefactor     14.962        12.909        .10354E-03   -1.4934    
   5  Prefactor     19.836        19.043        .89984E-04   -1.4817    
   6  Prefactor     .10000E-03    40.291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.1196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.6885        .85419        .49628E-04   -1.5448    
   9  norm          3.5038        4.6340        .93573E-03   -1.5334    
  10  Prefactor     .10000E-03    4.9703        .17122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     47.978        48.889        .28981E-03   -1.4322    
  12  norm          .10001E-03    18.732        .33568E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .27906        43.096        .36307E-02   -1.5602    
  14  Prefactor     51.983        101.75        .55604E-04   -1.4265    
  15  Prefactor     4.0253        14.177        .10080E-02   -1.5307    
  16  Prefactor     18.405        22.281        .93057E-04   -1.4850    
  17  norm          1.4439        180.72        .35023E-03   -1.5468    
  18  Prefactor     .10000E-03    17.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.6393        3.5510        .13316E-03   -1.5326    
  20  Prefactor     109.74        50.543        .19200E-03   -1.3609    
  21  Prefactor     53.201        27.394        .55012E-04   -1.4248    
  22  Prefactor     .10000E-03    29.282        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .64782        .21037        .31583E-03   -1.0599    
  24  Prefactor     .92105        .14325        .18796E-03   -.95409    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.81897e-10
Minuit parameter uncertainties:
  1  1.81572e-06
  2  1.18857e-06
  3  30.7728
  4  12.9115
  5  19.0487
  6  3.91997e-05
  7  6.21552e-05
  8  0.854194
  9  4.6345
  10  2.21934e-07
  11  48.9296
  12  0.000730634
  13  6.93965
  14  102.09
  15  14.1885
  16  22.2912
  17  32.4063
  18  1.83559e-05
  19  3.55117
  20  50.5631
  21  27.4006
  22  1.29037e-05
  23  0.210635
  24  0.14331
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  4.798e+01  4.893e+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:  9.210e-01  1.433e-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.478e-01  2.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.39
Ra Dec: 351.575 1.222
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 2.92e-08 +/- 2.97e-08
Energy Flux (Fixed Index): 1.54e-05 +/- 1.57e-05

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

Saving results to:
/scratch/kocevski/890167/likelihoodResults_333158401_333417601_4FGL_J2326.2+0113_daily_bin362.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) = 6233.38909418
delta logL = 0.44568750061

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6233.38142102
delta logL = 0.453360666992

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.066       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8486       1.0000          .0000       10.000    
     3 'Normalizat'    .62071       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93211       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=   6233.381     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      284 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.055        63.507        .99924E-04   -.20395E-02
   2  Index         2.8489        1.6808        .47910E-02   -.10454E-02
   3  Normalizat    .62074        .20632        .32182E-03   -.11428E-02
   4  Prefactor     .93210        .14365        .18683E-03   -.22010E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.0549
  Index      = 2.84885
  Normalizat = 0.620736
  Prefactor  = 0.932099
 **********
 **   18 **HESSE 
 **********

 FCN=   6233.381     FROM HESSE     STATUS=OK            23 CALLS      307 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.055        32.916        .19985E-04   -1.4906    
   2  Index         2.8489        .88349        .19164E-03   -.44475    
   3  Normalizat    .62074        .20234        .64364E-04   -1.0711    
   4  Prefactor     .93210        .14133        .37366E-04   -.95028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.01099e-09
Minuit parameter uncertainties:
  1  32.9535
  2  0.889232
  3  0.202586
  4  0.141387
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/890167': 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) = 6233.38142094
delta logL = 0.453360743967

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.605e+01  3.295e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.849e+00  8.892e-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:  9.321e-01  1.414e-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.207e-01  2.026e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.32
Ra Dec: 351.575 1.222
Photon Index (Free Index): 2.85 +/- 0.89
Photon Flux (Free Index): 5.58e-08 +/- 4.89e-08
Energy Flux (Free Index): 1.21e-05 +/- 9.92e-06

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/890167/cmap_HighResolution_333158401_333417601_4FGL_J2326.2+0113_daily_bin362.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.34e-03', comment='SUCCESS', photon_flux='2.92e-08', energy_flux2='1.21e-05', photon_flux_error='2.97e-08', dlogl='4.53e-01', energy_flux='1.54e-05', photon_flux2='5.58e-08', job_status='DONE', time_completed='2021-09-29 18:59:49.325167', photon_index_error2='0.89', photon_index2='2.85', ts='1.39', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='9.70e-08', energy_flux_error2='9.92e-06', EG='0.65', time_epoch_completed='1632967189.33', return_code='0', job_id='890167', GAL2='0.93', EG2='0.62', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='4.89e-08', ts2='2.32', photon_index='2.12' WHERE bin_id='362' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:59:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 890167: <4FGL_J2326.2+0113_daily_bin362> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin362> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 18:45:34 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:45:35 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:45:35 2021
Terminated at Wed Sep 29 18:59:50 2021
Results reported at Wed Sep 29 18:59:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin362 351.575 1.2216 333158401 333417601 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 :                                   665.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            856 sec.

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

