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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin532
RA = 351.575, Dec = 1.2216
tmin = 377222401, tmax = 377481601
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='891480', job_status='RUN', time_executed='2021-09-29 18:53:45.330740', time_epoch_executed='1632966825.33' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='532'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891480

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891480/ft1_4FGL_J2326.2+0113_daily_bin532.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891480/ft2_4FGL_J2326.2+0113_daily_bin532.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891480/ft1_4FGL_J2326.2+0113_daily_bin532.fits outfile=/scratch/kocevski/891480/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin532.fits ra=351.575 dec=1.2216 rad=12.0 tmin=377222401.0 tmax=377481601.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.44
user 3.22
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/891480/ft2_4FGL_J2326.2+0113_daily_bin532.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/891480/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin532.fits evtable="EVENTS" outfile="/scratch/kocevski/891480/ft1_filtered_4FGL_J2326.2+0113_daily_bin532.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/891480/ft1_filtered_4FGL_J2326.2+0113_daily_bin532.fits" evtable="EVENTS" scfile=/scratch/kocevski/891480/ft2_4FGL_J2326.2+0113_daily_bin532.fits sctable="SC_DATA" outfile=/scratch/kocevski/891480/ltcube_377222401_377481601_4FGL_J2326.2+0113_daily_bin532.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/891480/ft2_4FGL_J2326.2+0113_daily_bin532.fits
.....................!
real 12.74
user 12.38
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891480/ft1_filtered_4FGL_J2326.2+0113_daily_bin532.fits evtable="EVENTS" scfile=/scratch/kocevski/891480/ft2_4FGL_J2326.2+0113_daily_bin532.fits sctable="SC_DATA" expcube=/scratch/kocevski/891480/ltcube_377222401_377481601_4FGL_J2326.2+0113_daily_bin532.fits outfile=/scratch/kocevski/891480/expmap_377222401_377481601_4FGL_J2326.2+0113_daily_bin532.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/891480/ltcube_377222401_377481601_4FGL_J2326.2+0113_daily_bin532.fits
.....................!
real 192.57
user 187.17
sys 5.06

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/891480/ft1_filtered_4FGL_J2326.2+0113_daily_bin532.fits scfile=/scratch/kocevski/891480/ft2_4FGL_J2326.2+0113_daily_bin532.fits outfile=/scratch/kocevski/891480/cmap_377222401_377481601_4FGL_J2326.2+0113_daily_bin532.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.55
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891480/ft1_filtered_4FGL_J2326.2+0113_daily_bin532.fits scfile=/scratch/kocevski/891480/ft2_4FGL_J2326.2+0113_daily_bin532.fits outfile=/scratch/kocevski/891480/cmap_HighResolution_377222401_377481601_4FGL_J2326.2+0113_daily_bin532.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.575 yref=1.2216 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74934E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    3.5711       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.1632       1.0000         .10000E-03   10000.    
     6 'Prefactor '    29.202       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10343E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.5651       1.0000         .10000E-03   10000.    
     9 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.5197       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .13380E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.8992       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11573E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .56679E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.2092       1.0000         .10000E-03   10000.    
    17 'norm      '    1.0238       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.6271       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .25060E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    23.361       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .96117       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0128       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=   5847.349     FROM MIGRAD    STATUS=CONVERGED    587 CALLS     2828 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10389E-03    18.472        .37878E-05** at limit **
   2  norm          3.5657        13.800       -.14978E-05   -.25252E-04
   3  Prefactor     .10000E-03    39.451       -.14367E-06** at limit **
   4  Prefactor     .10000E-03    2.5490        .91451E-08** at limit **
   5  Prefactor     3.1619        17.361       -.81864E-07   -.54078E-05
   6  Prefactor     29.069        71.545       -.50169E-05    .34962E-04
   7  Prefactor     .10000E-03    8.3054        .13389E-05** at limit **
   8  norm          1.5651        1.3687        .20484E-09   -.44738E-03
   9  norm          .10000E-03    10.564        .13982E-05** at limit **
  10  Prefactor     4.5226        8.0776        .11833E-06   -.13170E-03
  11  Prefactor     .10000E-03    17.734        .10534E-06** at limit **
  12  norm          .10000E-03    23.900        .93605E-05** at limit **
  13  Prefactor     6.9113        10.182       -.21789E-06   -.48743E-03
  14  Prefactor     .10000E-03    78.526        .72183E-07** at limit **
  15  Prefactor     .10001E-03    10.488        .29308E-05** at limit **
  16  Prefactor     2.2116        79.375       -.13555E-05   -.32092E-04
  17  norm          1.0228        20.622        .61890E-06   -.92719E-04
  18  Prefactor     5.5966        243.09       -.11421E-05   -.17211E-06
  19  Prefactor     .10000E-03    2.3884       -.10637E-06** at limit **
  20  Prefactor     .10000E-03    23.901       -.10146E-05** at limit **
  21  Prefactor     .10000E-03    7.7580        .41735E-07** at limit **
  22  Prefactor     23.360        16.639       -.15134E-06   -.39173E-04
  23  Normalizat    .96191        .22130       -.37745E-06   -.27994E-03
  24  Prefactor     1.0124        .14034        .35417E-06   -.59663E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103887
  norm       = 3.56572
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.16191
  Prefactor  = 29.0687
  Prefactor  = 0.000100001
  norm       = 1.56509
  norm       = 0.0001
  Prefactor  = 4.52263
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 6.91133
  Prefactor  = 0.0001
  Prefactor  = 0.000100011
  Prefactor  = 2.21164
  norm       = 1.02277
  Prefactor  = 5.5966
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.3601
  Normalizat = 0.961912
  Prefactor  = 1.0124
 **********
 **   18 **HESSE 
 **********

 FCN=   5847.349     FROM HESSE     STATUS=OK           411 CALLS     3239 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10389E-03    15.842        .87119E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5657        14.075        .10693E-02   -1.5330    
   3  Prefactor     .10000E-03    39.603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.5495        .11923E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.1619        17.314        .22788E-03   -1.5352    
   6  Prefactor     29.069        71.527        .74140E-04   -1.4629    
   7  Prefactor     .10000E-03    8.4638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.5651        1.3324        .76255E-04   -1.5458    
   9  norm          .10000E-03    10.984        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.5226        7.9968        .18937E-03   -1.5283    
  11  Prefactor     .10000E-03    17.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    24.779        .31488E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.9113        9.1403        .15274E-03   -1.5182    
  14  Prefactor     .10000E-03    78.529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    51.413        .36937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.2116        77.312        .27675E-03   -1.5411    
  17  norm          1.0228        95.511        .56884E-02   -1.5506    
  18  Prefactor     5.5966        243.52        .16935E-03   -1.5235    
  19  Prefactor     .10000E-03    9.9657        .21568E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    23.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.7657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     23.360        16.657        .82876E-04   -1.4741    
  23  Normalizat    .96191        .24991        .29661E-03   -.94318    
  24  Prefactor     1.0124        .15758        .19873E-03   -.92317    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17707e-09
Minuit parameter uncertainties:
  1  0.0156988
  2  14.0885
  3  8.76125e-06
  4  3.14675e-07
  5  14.8043
  6  71.739
  7  0.000162432
  8  1.33247
  9  0.000136287
  10  7.99864
  11  8.13706e-06
  12  0.000346859
  13  9.14216
  14  1.37223e-06
  15  0.00152382
  16  26.1885
  17  19.7989
  18  74.1574
  19  0.000219579
  20  0.000156209
  21  2.36184e-06
  22  16.6598
  23  0.250215
  24  0.157656
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  8.137e-06  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.012e+00  1.577e-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.619e-01  2.502e-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: 5.53e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/891480/likelihoodResults_377222401_377481601_4FGL_J2326.2+0113_daily_bin532.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) = 5847.34969056
delta logL = -0.000267246332442

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5847.3494235
delta logL = -1.91439539776e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2150       1.0000          .0000       10.000    
     3 'Normalizat'    .96185       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0124       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=   5847.349     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      235 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    38.903        .90712E-02** at limit **
   2  Index         2.2007        5.7388        .50000        .70547E-05
   3  Normalizat    .96191        .19300        .67052E-01    .22774E-03
   4  Prefactor     1.0124        .13309        .42993E-01    .42646E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 2.20072
  Normalizat = 0.96191
  Prefactor  = 1.0124
 **********
 **   18 **HESSE 
 **********

 FCN=   5847.349     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      266 TOTAL
                     EDM=   .80E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6368.3        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2007        6.0799        .50000       -.59421    
   3  Normalizat    .96191        .99062E-01    .29660E-03   -.94318    
   4  Prefactor     1.0124        .68372E-01    .19873E-03   -.92317    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.00999e-08
Minuit parameter uncertainties:
  1  0.00639127
  2  55.5777
  3  0.0990809
  4  0.0683781
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891480': 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) = 5847.34942344
delta logL = -1.31804881676e-07

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  6.391e-03  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.201e+00  5.558e+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:  1.012e+00  6.838e-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:  9.619e-01  9.908e-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/891480/cmap_HighResolution_377222401_377481601_4FGL_J2326.2+0113_daily_bin532.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.19e-03', job_status='DONE', photon_flux_upper_limit='5.53e-08', time_completed='2021-09-29 19:04:20.034864', job_id='891480', GAL2='1.01', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1632967460.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='-1.32e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='532' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:04:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 891480: <4FGL_J2326.2+0113_daily_bin532> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin532> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 18:50:36 2021
Job was executed on host(s) <bullet0078>, 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:04:20 2021
Results reported at Wed Sep 29 19:04:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin532 351.575 1.2216 377222401 377481601 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 :                                   633.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             265.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            824 sec.

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

