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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin666
RA = 351.17, Dec = 31.2573
tmin = 411955201, tmax = 412214401
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='833130', job_status='RUN', time_executed='2021-09-29 15:52:09.024778', time_epoch_executed='1632955929.02' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='666'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/833130

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/833130/ft1_4FGL_J2324.6+3115_daily_bin666.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/833130/ft2_4FGL_J2324.6+3115_daily_bin666.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/833130/ft1_4FGL_J2324.6+3115_daily_bin666.fits outfile=/scratch/kocevski/833130/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin666.fits ra=351.17 dec=31.2573 rad=12.0 tmin=411955201.0 tmax=412214401.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 5.61
user 5.33
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/833130/ft2_4FGL_J2324.6+3115_daily_bin666.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/833130/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin666.fits evtable="EVENTS" outfile="/scratch/kocevski/833130/ft1_filtered_4FGL_J2324.6+3115_daily_bin666.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/833130/ft1_filtered_4FGL_J2324.6+3115_daily_bin666.fits" evtable="EVENTS" scfile=/scratch/kocevski/833130/ft2_4FGL_J2324.6+3115_daily_bin666.fits sctable="SC_DATA" outfile=/scratch/kocevski/833130/ltcube_411955201_412214401_4FGL_J2324.6+3115_daily_bin666.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/833130/ft2_4FGL_J2324.6+3115_daily_bin666.fits
.....................!
real 12.63
user 12.27
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/833130/ft1_filtered_4FGL_J2324.6+3115_daily_bin666.fits evtable="EVENTS" scfile=/scratch/kocevski/833130/ft2_4FGL_J2324.6+3115_daily_bin666.fits sctable="SC_DATA" expcube=/scratch/kocevski/833130/ltcube_411955201_412214401_4FGL_J2324.6+3115_daily_bin666.fits outfile=/scratch/kocevski/833130/expmap_411955201_412214401_4FGL_J2324.6+3115_daily_bin666.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/833130/ltcube_411955201_412214401_4FGL_J2324.6+3115_daily_bin666.fits
.....................!
real 190.89
user 185.05
sys 5.21

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/833130/ft1_filtered_4FGL_J2324.6+3115_daily_bin666.fits scfile=/scratch/kocevski/833130/ft2_4FGL_J2324.6+3115_daily_bin666.fits outfile=/scratch/kocevski/833130/cmap_411955201_412214401_4FGL_J2324.6+3115_daily_bin666.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/833130/ft1_filtered_4FGL_J2324.6+3115_daily_bin666.fits scfile=/scratch/kocevski/833130/ft2_4FGL_J2324.6+3115_daily_bin666.fits outfile=/scratch/kocevski/833130/cmap_HighResolution_411955201_412214401_4FGL_J2324.6+3115_daily_bin666.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/833130/ft1_filtered_4FGL_J2324.6+3115_daily_bin666.fits', '/scratch/kocevski/833130/ft2_4FGL_J2324.6+3115_daily_bin666.fits', expMap='/scratch/kocevski/833130/expmap_411955201_412214401_4FGL_J2324.6+3115_daily_bin666.fits', expCube='/scratch/kocevski/833130/ltcube_411955201_412214401_4FGL_J2324.6+3115_daily_bin666.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/833130/Model_4FGL_J2324.6+3115_daily_bin666.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/833130/ft1_filtered_4FGL_J2324.6+3115_daily_bin666.fits
Spacecraft file(s): /scratch/kocevski/833130/ft2_4FGL_J2324.6+3115_daily_bin666.fits
Exposure map: /scratch/kocevski/833130/expmap_411955201_412214401_4FGL_J2324.6+3115_daily_bin666.fits
Exposure cube: /scratch/kocevski/833130/ltcube_411955201_412214401_4FGL_J2324.6+3115_daily_bin666.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/833130/Model_4FGL_J2324.6+3115_daily_bin666.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) = 4725.99828138

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    52.159       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.0604       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.106       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.4354       1.0000         .10000E-03   10000.    
     9 'Prefactor '    38.893       1.0000         .10000E-03   10000.    
    10 'norm      '    7.6810       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.8453       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    19.027       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.1906       1.0000         .10000E-03   10000.    
    17 'norm      '    .19116E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10410E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10677E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .51632       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0277       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=   4725.955     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2525 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          52.160        33.475        .26875E-07    .72044E-04
   2  Prefactor     6.0589        10.796        .91469E-06   -.35670E-04
   3  norm          .10000E-03    .26830       -.59366E-07** at limit **
   4  Prefactor     26.117        76.185       -.19377E-05   -.13951E-04
   5  Prefactor     .10000E-03    10.341        .42765E-07** at limit **
   6  Prefactor     .10000E-03    6.6194       -.77024E-07** at limit **
   7  Prefactor     .10000E-03    2.8428       -.17751E-06** at limit **
   8  Prefactor     6.4345        13.477        .59000E-06    .90274E-04
   9  Prefactor     38.886        41.777        .19342E-06   -.51612E-04
  10  norm          7.6813        2.9444       -.93771E-07   -.16438E-03
  11  Prefactor     6.8745        60.975       -.79743E-05   -.48084E-04
  12  Prefactor     .10000E-03    18.934       -.94352E-06** at limit **
  13  Prefactor     .10000E-03    15.744        .11542E-05** at limit **
  14  norm          19.027        9.2264       -.12032E-05   -.13369E-05
  15  norm          .10000E-03    50.772       -.96936E-06** at limit **
  16  Prefactor     1.1867        52.263        .26214E-04   -.36671E-04
  17  norm          .10000E-03    2.0568       -.74579E-07** at limit **
  18  Prefactor     .10000E-03    13.786       -.51685E-06** at limit **
  19  Prefactor     .10000E-03    22.322       -.58315E-06** at limit **
  20  Prefactor     .10000E-03    50.478       -.50633E-06** at limit **
  21  Prefactor     .10000E-03    9.5912       -.26318E-06** at limit **
  22  Normalizat    .51679        .29316        .40040E-06    .19189E-03
  23  Prefactor     1.0276        .13653        .19811E-06    .44822E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 52.1597
  Prefactor  = 6.05885
  norm       = 0.0001
  Prefactor  = 26.1173
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.43454
  Prefactor  = 38.8856
  norm       = 7.68129
  Prefactor  = 6.87455
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  norm       = 19.027
  norm       = 0.000100002
  Prefactor  = 1.18672
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.51679
  Prefactor  = 1.02758
 **********
 **   18 **HESSE 
 **********

 FCN=   4725.955     FROM HESSE     STATUS=OK           364 CALLS     2889 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          52.160        33.398        .55533E-04   -1.4262    
   2  Prefactor     6.0589        10.788        .81547E-03   -1.5216    
   3  norm          .10000E-03    .27087        .34778E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     26.117        76.473        .78404E-04   -1.4685    
   5  Prefactor     .10000E-03    10.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.6222        .17275E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.8517        .11322E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4345        13.458        .15821E-03   -1.5201    
   9  Prefactor     38.886        41.864        .64269E-04   -1.4460    
  10  norm          7.6813        2.9402        .67636E-04   -1.5154    
  11  Prefactor     6.8745        61.348        .15335E-03   -1.5184    
  12  Prefactor     .10000E-03    19.131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          19.027        9.2685        .91821E-04   -1.4835    
  15  norm          .10000E-03    52.190        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.1867        52.769        .20872E-02   -1.5490    
  17  norm          .10000E-03    26.530        .18867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    22.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    50.491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.6298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .51679        .31758        .46425E-03   -1.1164    
  23  Prefactor     1.0276        .14962        .15919E-03   -.91816    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.48756e-10
Minuit parameter uncertainties:
  1  33.4097
  2  10.7912
  3  2.2697e-06
  4  76.762
  5  4.86251e-05
  6  1.77402e-05
  7  2.01188e-05
  8  13.4643
  9  41.896
  10  2.94024
  11  41.1286
  12  0.000436678
  13  0.000274718
  14  9.26918
  15  0.000693281
  16  15.8411
  17  2.69353e-06
  18  3.67832e-05
  19  8.10669e-05
  20  3.83162e-05
  21  3.12194e-05
  22  0.318706
  23  0.149685
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.187e+00  1.584e+01  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:  1.028e+00  1.497e-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:  5.168e-01  3.187e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 351.170 31.257
Photon Flux Upper Limit: 1.53e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.22e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/833130/likelihoodResults_411955201_412214401_4FGL_J2324.6+3115_daily_bin666.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) = 4725.95094014
delta logL = 0.0037360165079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4725.94768256
delta logL = 0.0069935942156

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1065       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3025       1.0000          .0000       10.000    
     3 'Normalizat'    .51757       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0271       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.

 FCN=   4725.948     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      222 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0868        138.78        .71071E-02    .12664E-03
   2  Index         2.3014        5.1627        .24297       -.39487E-04
   3  Normalizat    .51777        .28059        .10463        .37650E-04
   4  Prefactor     1.0269        .13393        .41496E-01   -.70746E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.08676
  Index      = 2.30136
  Normalizat = 0.51777
  Prefactor  = 1.02694
 **********
 **   18 **HESSE 
 **********

 FCN=   4725.948     FROM HESSE     STATUS=OK            31 CALLS      253 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0868        27.817        .28428E-03   -1.5419    
   2  Index         2.3014        3.2365        .57241E-02   -.57011    
   3  Normalizat    .51777        .30553        .46384E-03   -1.1160    
   4  Prefactor     1.0269        .14578        .15922E-03   -.91837    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07768e-11
Minuit parameter uncertainties:
  1  15.246
  2  3.69211
  3  0.306525
  4  0.145837
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/833130': 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) = 4725.94768112
delta logL = 0.00699503391843

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.087e+00  1.525e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.301e+00  3.692e+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:  1.027e+00  1.458e-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:  5.178e-01  3.065e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 351.170 31.257

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/833130/cmap_HighResolution_411955201_412214401_4FGL_J2324.6+3115_daily_bin666.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', job_status='DONE', photon_flux_upper_limit='1.53e-07', time_completed='2021-09-29 16:01:48.248496', job_id='833130', GAL2='1.03', fit_tolerance='1e-08', EG2='0.52', EG='0.52', time_epoch_completed='1632956508.25', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='7.00e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='666' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:01:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 833130: <4FGL_J2324.6+3115_daily_bin666> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin666> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 15:50:12 2021
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 15:50:13 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:13 2021
Terminated at Wed Sep 29 16:01:48 2021
Results reported at Wed Sep 29 16:01:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin666 351.17 31.2573 411955201 412214401 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 :                                   576.48 sec.
    Max Memory :                                 1176 MB
    Average Memory :                             263.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   695 sec.
    Turnaround time :                            696 sec.

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

