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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin974
RA = 351.575, Dec = 1.2216
tmin = 491788801, tmax = 492048001
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='893199', job_status='RUN', time_executed='2021-09-29 18:58:38.680275', time_epoch_executed='1632967118.68' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='974'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/893199

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/893199/ft1_4FGL_J2326.2+0113_daily_bin974.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/893199/ft2_4FGL_J2326.2+0113_daily_bin974.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/893199/ft1_4FGL_J2326.2+0113_daily_bin974.fits outfile=/scratch/kocevski/893199/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin974.fits ra=351.575 dec=1.2216 rad=12.0 tmin=491788801.0 tmax=492048001.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 4.23
user 3.99
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/893199/ft2_4FGL_J2326.2+0113_daily_bin974.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/893199/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin974.fits evtable="EVENTS" outfile="/scratch/kocevski/893199/ft1_filtered_4FGL_J2326.2+0113_daily_bin974.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.48
user 0.32
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/893199/ft1_filtered_4FGL_J2326.2+0113_daily_bin974.fits evtable="EVENTS" scfile=/scratch/kocevski/893199/ft2_4FGL_J2326.2+0113_daily_bin974.fits sctable="SC_DATA" expcube=/scratch/kocevski/893199/ltcube_491788801_492048001_4FGL_J2326.2+0113_daily_bin974.fits outfile=/scratch/kocevski/893199/expmap_491788801_492048001_4FGL_J2326.2+0113_daily_bin974.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/893199/ltcube_491788801_492048001_4FGL_J2326.2+0113_daily_bin974.fits
.....................!
real 190.55
user 185.20
sys 5.02

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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/893199/ft1_filtered_4FGL_J2326.2+0113_daily_bin974.fits scfile=/scratch/kocevski/893199/ft2_4FGL_J2326.2+0113_daily_bin974.fits outfile=/scratch/kocevski/893199/cmap_HighResolution_491788801_492048001_4FGL_J2326.2+0113_daily_bin974.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.55
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    26.104       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    47.115       1.0000         .10000E-03   10000.    
     6 'Prefactor '    50.689       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.6569       1.0000         .10000E-03   10000.    
     8 'norm      '    1.9573       1.0000         .10000E-03   10000.    
     9 'norm      '    11.264       1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.797       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    28.166       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12972E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11645E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    10.802       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11894E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    62.973       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .67970       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86415       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=   3509.313     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2649 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.1625       -.25741E-06** at limit **
   2  norm          26.104        21.193       -.41968E-06   -.39115E-04
   3  Prefactor     .10000E-03    23.364        .10148E-04** at limit **
   4  Prefactor     .10000E-03    26.200       -.12180E-04** at limit **
   5  Prefactor     47.115        31.779       -.47522E-07   -.23342E-05
   6  Prefactor     50.622        60.255       -.77520E-04   -.29550E-03
   7  Prefactor     2.6700        12.185        .36510E-04    .40285E-03
   8  norm          1.9573        1.1425       -.52396E-07   -.37157E-03
   9  norm          11.261        7.9003        .54536E-06   -.55059E-03
  10  Prefactor     24.798        22.306       -.33940E-05   -.21481E-04
  11  Prefactor     .10000E-03    26.946       -.14249E-04** at limit **
  12  norm          28.176        23.663        .32717E-05   -.28905E-05
  13  Prefactor     .10000E-03    24.461       -.25920E-05** at limit **
  14  Prefactor     .10000E-03    61.808        .23286E-05** at limit **
  15  Prefactor     .10000E-03    11.547       -.37981E-06** at limit **
  16  Prefactor     .10000E-03    36.920        .16361E-04** at limit **
  17  norm          10.805        19.838        .71849E-06    .47080E-05
  18  Prefactor     .10000E-03    23.688        .61526E-05** at limit **
  19  Prefactor     .10000E-03    4.6037       -.35901E-06** at limit **
  20  Prefactor     .10000E-03    63.262       -.67471E-05** at limit **
  21  Prefactor     62.971        41.909       -.17444E-05   -.63906E-05
  22  Prefactor     .10000E-03    9.1498       -.23655E-06** at limit **
  23  Normalizat    .67976        .24146        .90016E-05   -.25107E-03
  24  Prefactor     .86413        .17074       -.16769E-05    .10137E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 26.1036
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 47.1152
  Prefactor  = 50.6221
  Prefactor  = 2.67002
  norm       = 1.95728
  norm       = 11.2607
  Prefactor  = 24.7982
  Prefactor  = 0.0001
  norm       = 28.176
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.8053
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 62.9714
  Prefactor  = 0.0001
  Normalizat = 0.679758
  Prefactor  = 0.864126
 **********
 **   18 **HESSE 
 **********

 FCN=   3509.313     FROM HESSE     STATUS=OK           395 CALLS     3044 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.1647        .13146E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          26.104        21.214        .78407E-04   -1.4686    
   3  Prefactor     .10000E-03    23.353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    26.210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     47.115        31.785        .58416E-04   -1.4334    
   6  Prefactor     50.622        60.014        .56329E-04   -1.4284    
   7  Prefactor     2.6700        11.805        .25008E-03   -1.5381    
   8  norm          1.9573        1.1356        .45871E-04   -1.5428    
   9  norm          11.261        7.8515        .11937E-03   -1.5037    
  10  Prefactor     24.798        22.309        .80442E-04   -1.4712    
  11  Prefactor     .10000E-03    26.930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          28.176        23.607        .75489E-04   -1.4646    
  13  Prefactor     .10000E-03    24.523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    61.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    36.928        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          10.805        19.763        .12190E-03   -1.5050    
  18  Prefactor     .10000E-03    23.693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.6789        .24700E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    63.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     62.971        41.941        .50567E-04   -1.4119    
  22  Prefactor     .10000E-03    9.1695        .17498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .67976        .27483        .31160E-03   -1.0470    
  24  Prefactor     .86413        .19657        .20096E-03   -.97406    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14426e-09
Minuit parameter uncertainties:
  1  8.99704e-06
  2  21.2202
  3  1.64006e-05
  4  4.64052e-05
  5  31.7965
  6  60.0857
  7  11.232
  8  1.13563
  9  7.85225
  10  22.3168
  11  2.25846e-05
  12  23.6149
  13  0.000282664
  14  1.32032e-05
  15  6.84574e-05
  16  0.000111296
  17  19.7754
  18  2.08393e-05
  19  5.54708e-05
  20  0.00022929
  21  41.9607
  22  4.6445e-05
  23  0.275384
  24  0.196726
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  2.258e-05  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.641e-01  1.967e-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.798e-01  2.754e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/893199/likelihoodResults_491788801_492048001_4FGL_J2326.2+0113_daily_bin974.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): 102
logL (Free Index) = 3509.31345201
delta logL = -0.000176556683527

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3509.31327547
delta logL = -8.1304278865e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10496E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0445       1.0000          .0000       10.000    
     3 'Normalizat'    .67978       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86412       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=   3509.313     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      233 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1428.8        .90712E-02** at limit **
   2  Index         2.0301        6.0038        .50000        .40453E-05
   3  Normalizat    .67977        .46682E-01    .70402E-01    .18457E-04
   4  Prefactor     .86412        .33886E-01    .44546E-01    .12589E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.03006
  Normalizat = 0.679766
  Prefactor  = 0.864122
 **********
 **   18 **HESSE 
 **********

 FCN=   3509.313     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      266 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6850.0        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0301        5.5005        .50000       -.63601    
   3  Normalizat    .67977        .95568E-01    .31160E-03   -1.0470    
   4  Prefactor     .86412        .69495E-01    .20096E-03   -.97406    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.6783e-09
Minuit parameter uncertainties:
  1  0.000508517
  2  49.6163
  3  0.0955918
  4  0.0695017
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/893199': 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): 102
logL (Free Index) = 3509.31327536
delta logL = 9.60558281804e-08

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  5.085e-04  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.030e+00  4.962e+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.641e-01  6.950e-02  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.798e-01  9.559e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/893199/cmap_HighResolution_491788801_492048001_4FGL_J2326.2+0113_daily_bin974.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.32e-03', job_status='DONE', photon_flux_upper_limit='8.34e-08', time_completed='2021-09-29 19:06:55.189314', job_id='893199', GAL2='0.86', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1632967615.19', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='9.61e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='974' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:06:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 893199: <4FGL_J2326.2+0113_daily_bin974> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin974 351.575 1.2216 491788801 492048001 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 :                                   492.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             273.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   663 sec.
    Turnaround time :                            665 sec.

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

