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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin782
RA = 351.17, Dec = 31.2573
tmin = 442022401, tmax = 442281601
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='833295', job_status='RUN', time_executed='2021-09-29 15:52:52.475203', time_epoch_executed='1632955972.48' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='782'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/833295

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/833295/ft1_4FGL_J2324.6+3115_daily_bin782.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/833295/ft2_4FGL_J2324.6+3115_daily_bin782.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/833295/ft1_4FGL_J2324.6+3115_daily_bin782.fits outfile=/scratch/kocevski/833295/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin782.fits ra=351.17 dec=31.2573 rad=12.0 tmin=442022401.0 tmax=442281601.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.75
user 3.52
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/833295/ft2_4FGL_J2324.6+3115_daily_bin782.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/833295/ft2_4FGL_J2324.6+3115_daily_bin782.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/833295/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin782.fits evtable="EVENTS" outfile="/scratch/kocevski/833295/ft1_filtered_4FGL_J2324.6+3115_daily_bin782.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/833295/ft1_filtered_4FGL_J2324.6+3115_daily_bin782.fits" evtable="EVENTS" scfile=/scratch/kocevski/833295/ft2_4FGL_J2324.6+3115_daily_bin782.fits sctable="SC_DATA" outfile=/scratch/kocevski/833295/ltcube_442022401_442281601_4FGL_J2324.6+3115_daily_bin782.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/833295/ft2_4FGL_J2324.6+3115_daily_bin782.fits
.....................!
real 11.67
user 11.33
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/833295/ft1_filtered_4FGL_J2324.6+3115_daily_bin782.fits evtable="EVENTS" scfile=/scratch/kocevski/833295/ft2_4FGL_J2324.6+3115_daily_bin782.fits sctable="SC_DATA" expcube=/scratch/kocevski/833295/ltcube_442022401_442281601_4FGL_J2324.6+3115_daily_bin782.fits outfile=/scratch/kocevski/833295/expmap_442022401_442281601_4FGL_J2324.6+3115_daily_bin782.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/833295/ltcube_442022401_442281601_4FGL_J2324.6+3115_daily_bin782.fits
.....................!
real 190.29
user 184.87
sys 5.11

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2324.6+3115 @ 351.17 31.2573

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/833295/ft1_filtered_4FGL_J2324.6+3115_daily_bin782.fits scfile=/scratch/kocevski/833295/ft2_4FGL_J2324.6+3115_daily_bin782.fits outfile=/scratch/kocevski/833295/cmap_442022401_442281601_4FGL_J2324.6+3115_daily_bin782.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.17 yref=31.2573 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/833295/ft1_filtered_4FGL_J2324.6+3115_daily_bin782.fits scfile=/scratch/kocevski/833295/ft2_4FGL_J2324.6+3115_daily_bin782.fits outfile=/scratch/kocevski/833295/cmap_HighResolution_442022401_442281601_4FGL_J2324.6+3115_daily_bin782.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.17 yref=31.2573 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.58
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/833295/ft1_filtered_4FGL_J2324.6+3115_daily_bin782.fits evtable="EVENTS" scfile=/scratch/kocevski/833295/ft2_4FGL_J2324.6+3115_daily_bin782.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/833295/Model_4FGL_J2324.6+3115_daily_bin782.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/833295/ft1_filtered_4FGL_J2324.6+3115_daily_bin782.fits.....................!
real 92.17
user 90.75
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/833295/ft1_filtered_4FGL_J2324.6+3115_daily_bin782.fits', '/scratch/kocevski/833295/ft2_4FGL_J2324.6+3115_daily_bin782.fits', expMap='/scratch/kocevski/833295/expmap_442022401_442281601_4FGL_J2324.6+3115_daily_bin782.fits', expCube='/scratch/kocevski/833295/ltcube_442022401_442281601_4FGL_J2324.6+3115_daily_bin782.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/833295/Model_4FGL_J2324.6+3115_daily_bin782.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.6+3115'

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.967e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/833295/ft1_filtered_4FGL_J2324.6+3115_daily_bin782.fits
Spacecraft file(s): /scratch/kocevski/833295/ft2_4FGL_J2324.6+3115_daily_bin782.fits
Exposure map: /scratch/kocevski/833295/expmap_442022401_442281601_4FGL_J2324.6+3115_daily_bin782.fits
Exposure cube: /scratch/kocevski/833295/ltcube_442022401_442281601_4FGL_J2324.6+3115_daily_bin782.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/833295/Model_4FGL_J2324.6+3115_daily_bin782.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) = 8194.67097588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    26.688       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .19963E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .48017       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.188       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.3590       1.0000         .10000E-03   10000.    
    11 'Prefactor '    43.506       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.2352       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.9509       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .52591E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    39.270       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.0157       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1259       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .91286       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8194.664     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2520 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          26.693        21.901        .27513E-05    .13634E-03
   2  Prefactor     .10009E-03    3.7632       -.13519E-05** at limit **
   3  norm          .48037        .79394       -.11512E-06   -.36821E-03
   4  Prefactor     .10000E-03    28.346       -.31958E-05** at limit **
   5  Prefactor     .10000E-03    10.512        .55379E-05** at limit **
   6  Prefactor     .10000E-03    4.7104        .91514E-06** at limit **
   7  Prefactor     11.189        7.1892       -.50557E-06   -.10600E-02
   8  Prefactor     .10000E-03    7.4372        .19449E-05** at limit **
   9  Prefactor     .10000E-03    9.4494       -.11963E-04** at limit **
  10  norm          2.3589        1.3329       -.63355E-07   -.58489E-03
  11  Prefactor     43.511        22.354        .13266E-05   -.93999E-04
  12  Prefactor     3.2355        9.7763       -.13251E-05   -.17527E-03
  13  Prefactor     .10000E-03    10.852        .94155E-05** at limit **
  14  norm          1.9462        3.6886       -.92704E-06   -.11988E-02
  15  norm          .10000E-03    3.4621        .31741E-07** at limit **
  16  Prefactor     .10000E-03    39.460        .27773E-04** at limit **
  17  norm          .56015E-01    1.0149       -.30435E-06    .13994E-03
  18  Prefactor     .10000E-03    4.7857       -.10182E-05** at limit **
  19  Prefactor     39.259        50.565       -.13436E-04    .35510E-05
  20  Prefactor     .10000E-03    53.063       -.27161E-04** at limit **
  21  Prefactor     4.0146        7.1087       -.10476E-05   -.35362E-04
  22  Normalizat    1.1252        .21272        .19738E-05   -.19868E-03
  23  Prefactor     .91309        .99061E-01   -.71580E-07   -.19563E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 26.6934
  Prefactor  = 0.000100086
  norm       = 0.480368
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.1886
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.35894
  Prefactor  = 43.5108
  Prefactor  = 3.23547
  Prefactor  = 0.0001
  norm       = 1.94623
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0560152
  Prefactor  = 0.0001
  Prefactor  = 39.2593
  Prefactor  = 0.0001
  Prefactor  = 4.01464
  Normalizat = 1.1252
  Prefactor  = 0.913085
 **********
 **   18 **HESSE 
 **********

 FCN=   8194.664     FROM HESSE     STATUS=OK           372 CALLS     2892 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          26.693        21.859        .77547E-04   -1.4674    
   2  Prefactor     .10009E-03    14.711        .33827E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .48037        .79372        .44758E-04   -1.5569    
   4  Prefactor     .10000E-03    28.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.7121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.189        7.2218        .59886E-03   -1.5039    
   8  Prefactor     .10000E-03    7.5031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.4312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.3589        1.3286        .75394E-04   -1.5401    
  11  Prefactor     43.511        22.367        .60780E-04   -1.4388    
  12  Prefactor     3.2355        9.7390        .22520E-03   -1.5348    
  13  Prefactor     .10000E-03    10.839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.9462        3.6838        .23254E-03   -1.5429    
  15  norm          .10000E-03    3.4660        .16449E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    40.205        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .56015E-01    13.244        .17477E-02   -1.5661    
  18  Prefactor     .10000E-03    4.7858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     39.259        50.976        .63961E-04   -1.4454    
  20  Prefactor     .10000E-03    52.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.0146        7.0694        .20124E-03   -1.5307    
  22  Normalizat    1.1252        .25108        .33589E-03   -.88947    
  23  Prefactor     .91309        .11826        .17844E-03   -.95685    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.83164e-09
Minuit parameter uncertainties:
  1  21.8655
  2  0.00224604
  3  0.793738
  4  4.06979e-06
  5  1.28323e-05
  6  8.05384e-08
  7  7.22234
  8  2.03497e-05
  9  3.71931e-06
  10  1.32861
  11  22.3712
  12  9.74372
  13  1.89766e-05
  14  3.68426
  15  4.2814e-07
  16  0.000301238
  17  1.7215
  18  4.93778e-06
  19  51.0331
  20  3.52753e-05
  21  7.07091
  22  0.251345
  23  0.118291
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  3.012e-04  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  9.131e-01  1.183e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.125e+00  2.513e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.170 31.257
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/833295/likelihoodResults_442022401_442281601_4FGL_J2324.6+3115_daily_bin782.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) = 8194.66377635
delta logL = -0.000118601346912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8194.66365841
delta logL = -6.63889295538e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8044       1.0000          .0000       10.000    
     3 'Normalizat'    1.1250       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91316       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+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=   8194.664     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      283 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    43.468        .36285E-03** at limit **
   2  Index         2.8841        6.4279        .50000       -.26144E-04
   3  Normalizat    1.1252        .23604        .33589E-03    .38439E-03
   4  Prefactor     .91308        .11510        .17844E-03    .84009E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100031
  Index      = 2.88415
  Normalizat = 1.1252
  Prefactor  = 0.913085
 **********
 **   18 **HESSE 
 **********

 FCN=   8194.664     FROM HESSE     STATUS=OK            29 CALLS      312 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    41.300        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8841        6.4201        .50000       -.43694    
   3  Normalizat    1.1252        .23621        .67178E-04   -.88947    
   4  Prefactor     .91308        .11519        .35689E-04   -.95685    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62802e-09
Minuit parameter uncertainties:
  1  0.00225997
  2  4.53575
  3  0.236429
  4  0.115217
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/833295': 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) = 8194.66365769
delta logL = 4.96511347592e-08

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  2.260e-03  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.884e+00  4.536e+00  0.000e+00  1.000e+01 (-1.000e+00)
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  9.131e-01  1.152e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.125e+00  2.364e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.170 31.257

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/833295/cmap_HighResolution_442022401_442281601_4FGL_J2324.6+3115_daily_bin782.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.21e-03', job_status='DONE', photon_flux_upper_limit='1.16e-07', time_completed='2021-09-29 16:05:27.553677', job_id='833295', GAL2='0.91', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1632956727.55', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='4.97e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='782' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:05:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 833295: <4FGL_J2324.6+3115_daily_bin782> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin782> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 15:50:25 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 15:50:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 15:50:26 2021
Terminated at Wed Sep 29 16:05:28 2021
Results reported at Wed Sep 29 16:05:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin782 351.17 31.2573 442022401 442281601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2324.6+3115 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   753.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            903 sec.

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

