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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin528
RA = 351.575, Dec = 1.2216
tmin = 376185601, tmax = 376444801
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='891475', job_status='RUN', time_executed='2021-09-29 18:53:19.729994', time_epoch_executed='1632966799.73' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='528'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891475

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891475/ft1_4FGL_J2326.2+0113_daily_bin528.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891475/ft2_4FGL_J2326.2+0113_daily_bin528.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891475/ft1_4FGL_J2326.2+0113_daily_bin528.fits outfile=/scratch/kocevski/891475/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin528.fits ra=351.575 dec=1.2216 rad=12.0 tmin=376185601.0 tmax=376444801.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.40
user 3.14
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/891475/ft1_filtered_4FGL_J2326.2+0113_daily_bin528.fits" evtable="EVENTS" scfile=/scratch/kocevski/891475/ft2_4FGL_J2326.2+0113_daily_bin528.fits sctable="SC_DATA" outfile=/scratch/kocevski/891475/ltcube_376185601_376444801_4FGL_J2326.2+0113_daily_bin528.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/891475/ft2_4FGL_J2326.2+0113_daily_bin528.fits
.....................!
real 12.19
user 11.78
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891475/ft1_filtered_4FGL_J2326.2+0113_daily_bin528.fits evtable="EVENTS" scfile=/scratch/kocevski/891475/ft2_4FGL_J2326.2+0113_daily_bin528.fits sctable="SC_DATA" expcube=/scratch/kocevski/891475/ltcube_376185601_376444801_4FGL_J2326.2+0113_daily_bin528.fits outfile=/scratch/kocevski/891475/expmap_376185601_376444801_4FGL_J2326.2+0113_daily_bin528.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/891475/ltcube_376185601_376444801_4FGL_J2326.2+0113_daily_bin528.fits
.....................!
real 193.09
user 187.70
sys 5.03

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/891475/ft1_filtered_4FGL_J2326.2+0113_daily_bin528.fits scfile=/scratch/kocevski/891475/ft2_4FGL_J2326.2+0113_daily_bin528.fits outfile=/scratch/kocevski/891475/cmap_376185601_376444801_4FGL_J2326.2+0113_daily_bin528.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891475/ft1_filtered_4FGL_J2326.2+0113_daily_bin528.fits scfile=/scratch/kocevski/891475/ft2_4FGL_J2326.2+0113_daily_bin528.fits outfile=/scratch/kocevski/891475/cmap_HighResolution_376185601_376444801_4FGL_J2326.2+0113_daily_bin528.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.120       1.0000         .10000E-03   10000.    
     2 'norm      '    30.437       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.1501       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.188       1.0000         .10000E-03   10000.    
     6 'Prefactor '    55.320       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10280E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .94579       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.510       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.972       1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.3789       1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.125       1.0000         .10000E-03   10000.    
    17 'norm      '    12.259       1.0000         .10000E-03   10000.    
    18 'Prefactor '    51.091       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.0381       1.0000         .10000E-03   10000.    
    20 'Prefactor '    39.772       1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.445       1.0000         .10000E-03   10000.    
    22 'Prefactor '    21.850       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .62577       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0975       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=   5411.518     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2722 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.121        22.031       -.19361E-05    .11455E-04
   2  norm          30.437        17.931       -.11925E-05    .16174E-05
   3  Prefactor     9.1464        34.808       -.10049E-04   -.86921E-05
   4  Prefactor     .10000E-03    4.8094        .37353E-05** at limit **
   5  Prefactor     35.189        21.023        .10338E-05    .19226E-04
   6  Prefactor     55.309        50.019       -.10713E-04   -.19414E-05
   7  Prefactor     .10000E-03    6.2640        .53849E-06** at limit **
   8  norm          .94714        1.2979        .23446E-06    .28650E-03
   9  norm          .10000E-03    2.4014        .80776E-07** at limit **
  10  Prefactor     13.510        10.428       -.51541E-05    .16912E-04
  11  Prefactor     17.946        51.103       -.48776E-04   -.26999E-05
  12  norm          .10000E-03    3.5295        .10637E-06** at limit **
  13  Prefactor     .10000E-03    4.8048       -.38623E-05** at limit **
  14  Prefactor     .10000E-03    89.927       -.50747E-05** at limit **
  15  Prefactor     6.3595        25.379       -.67558E-05   -.15543E-03
  16  Prefactor     26.125        22.320       -.13248E-05    .52920E-04
  17  norm          12.273        38.631        .45498E-04    .45077E-04
  18  Prefactor     51.078        79.752       -.16989E-04    .92573E-05
  19  Prefactor     6.0399        6.7844       -.66454E-05   -.29255E-03
  20  Prefactor     39.774        30.766        .23461E-05    .21978E-04
  21  Prefactor     11.445        18.174       -.22577E-05   -.10880E-04
  22  Prefactor     21.849        20.091       -.20933E-05    .17803E-04
  23  Normalizat    .62568        .24716        .13417E-04   -.34543E-04
  24  Prefactor     1.0976        .15487       -.15126E-05    .27653E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.1214
  norm       = 30.4369
  Prefactor  = 9.14641
  Prefactor  = 0.0001
  Prefactor  = 35.1892
  Prefactor  = 55.3094
  Prefactor  = 0.000100001
  norm       = 0.947137
  norm       = 0.0001
  Prefactor  = 13.5101
  Prefactor  = 17.9455
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.35953
  Prefactor  = 26.1249
  norm       = 12.2732
  Prefactor  = 51.0776
  Prefactor  = 6.03993
  Prefactor  = 39.7736
  Prefactor  = 11.4452
  Prefactor  = 21.8494
  Normalizat = 0.625676
  Prefactor  = 1.09756
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.121        22.070        .81562E-04   -1.4725    
   2  norm          30.437        17.942        .72624E-04   -1.4604    
   3  Prefactor     9.1464        34.798        .13249E-03   -1.5103    
   4  Prefactor     .10000E-03    4.8330        .15751E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     35.189        21.021        .67558E-04   -1.4521    
   6  Prefactor     55.309        49.936        .53932E-04   -1.4219    
   7  Prefactor     .10000E-03    6.2991        .17955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .94714        1.1820        .85353E-03   -1.5513    
   9  norm          .10000E-03    2.4076        .11128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.510        10.418        .10898E-03   -1.4973    
  11  Prefactor     17.946        50.887        .94475E-04   -1.4860    
  12  norm          .10000E-03    3.5449        .13487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.8663        .15732E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    89.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.3595        23.933        .15892E-03   -1.5204    
  16  Prefactor     26.125        22.301        .78375E-04   -1.4685    
  17  norm          12.273        37.684        .11441E-03   -1.5007    
  18  Prefactor     51.078        79.779        .56108E-04   -1.4277    
  19  Prefactor     6.0399        6.7126        .15685E-03   -1.5216    
  20  Prefactor     39.774        30.763        .63558E-04   -1.4446    
  21  Prefactor     11.445        18.166        .11842E-03   -1.5031    
  22  Prefactor     21.849        20.105        .85688E-04   -1.4773    
  23  Normalizat    .62568        .27287        .35470E-03   -1.0690    
  24  Prefactor     1.0976        .17387        .19323E-03   -.89545    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.83501e-10
Minuit parameter uncertainties:
  1  22.077
  2  17.9454
  3  34.8748
  4  1.25172e-05
  5  21.0253
  6  49.9741
  7  0.000122616
  8  1.18203
  9  2.00399e-05
  10  10.4199
  11  51.0102
  12  2.39127e-05
  13  1.67821e-08
  14  3.13837e-05
  15  23.9693
  16  22.3085
  17  37.7568
  18  79.9467
  19  6.71347
  20  30.7754
  21  18.175
  22  20.1114
  23  0.27346
  24  0.17396
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.795e+01  5.101e+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.098e+00  1.740e-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.257e-01  2.735e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/891475/likelihoodResults_376185601_376444801_4FGL_J2326.2+0113_daily_bin528.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) = 5411.31185215
delta logL = 0.206142181049

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5411.28082174
delta logL = 0.237172590872

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2426       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1393       1.0000          .0000       10.000    
     3 'Normalizat'    .58536       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1122       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5411.281     FROM MIGRAD    STATUS=FAILED       107 CALLS      315 TOTAL
                     EDM=   .87E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2021        505.64        .80333E-03   -.15666E-04
   2  Index         3.1417        6.3350        .59719E-02    .56898E-03
   3  Normalizat    .58554        .23578        .36578E-03   -.32945E-05
   4  Prefactor     1.1121        .15637        .19204E-03   -.12278E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5411.281     FROM SIMPLEX   STATUS=UNCHANGED     89 CALLS      404 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2021        505.64        .34723E-03   -.15666E-04
   2  Index         3.1417        6.3350        .62735E-03    .56898E-03
   3  Normalizat    .58554        .23578        .27457E-03   -.32945E-05
   4  Prefactor     1.1121        .15637        .63444E-04   -.12278E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5411.281     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      437 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2021        34.026        .32133E-04   -.22643E-04
   2  Index         3.1417        1.8936        .11944E-02   -.36932E-05
   3  Normalizat    .58554        .25060        .14631E-04   -.32635E-05
   4  Prefactor     1.1121        .17310        .38408E-04   -.12254E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.20212
  Index      = 3.14171
  Normalizat = 0.585541
  Prefactor  = 1.11206
 **********
 **   18 **HESSE 
 **********

 FCN=   5411.281     FROM HESSE     STATUS=OK            23 CALLS      460 TOTAL
                     EDM=   .87E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2021        24.042        .12853E-05   -1.5210    
   2  Index         3.1417        1.5824        .47775E-04   -.38079    
   3  Normalizat    .58554        .24943        .29262E-05   -1.0860    
   4  Prefactor     1.1121        .17245        .76815E-05   -.89082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.74971e-13
Minuit parameter uncertainties:
  1  24.0798
  2  1.61478
  3  0.249915
  4  0.172539
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891475': 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) = 5411.28081986
delta logL = 0.237174470172

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  6.202e+00  2.408e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  3.142e+00  1.615e+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.112e+00  1.725e-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:  5.855e-01  2.499e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
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/891475/cmap_HighResolution_376185601_376444801_4FGL_J2326.2+0113_daily_bin528.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.30e-03', job_status='DONE', photon_flux_upper_limit='9.64e-08', time_completed='2021-09-29 19:03:46.893073', job_id='891475', GAL2='1.11', fit_tolerance='1e-08', EG2='0.59', EG='0.63', time_epoch_completed='1632967426.89', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.37e-01', ts2='0.69', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='528' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:03:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 891475: <4FGL_J2326.2+0113_daily_bin528> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin528 351.575 1.2216 376185601 376444801 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 :                                   626.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             240.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            792 sec.

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

