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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin741
RA = 351.17, Dec = 31.2573
tmin = 431395201, tmax = 431654401
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='833236', job_status='RUN', time_executed='2021-09-29 15:53:34.173828', time_epoch_executed='1632956014.17' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='741'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/833236

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/833236/ft1_4FGL_J2324.6+3115_daily_bin741.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/833236/ft2_4FGL_J2324.6+3115_daily_bin741.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/833236/ft1_4FGL_J2324.6+3115_daily_bin741.fits outfile=/scratch/kocevski/833236/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin741.fits ra=351.17 dec=31.2573 rad=12.0 tmin=431395201.0 tmax=431654401.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.66
user 5.40
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/833236/ft1_filtered_4FGL_J2324.6+3115_daily_bin741.fits" evtable="EVENTS" scfile=/scratch/kocevski/833236/ft2_4FGL_J2324.6+3115_daily_bin741.fits sctable="SC_DATA" outfile=/scratch/kocevski/833236/ltcube_431395201_431654401_4FGL_J2324.6+3115_daily_bin741.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/833236/ft2_4FGL_J2324.6+3115_daily_bin741.fits
.....................!
real 12.05
user 11.70
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/833236/ft1_filtered_4FGL_J2324.6+3115_daily_bin741.fits evtable="EVENTS" scfile=/scratch/kocevski/833236/ft2_4FGL_J2324.6+3115_daily_bin741.fits sctable="SC_DATA" expcube=/scratch/kocevski/833236/ltcube_431395201_431654401_4FGL_J2324.6+3115_daily_bin741.fits outfile=/scratch/kocevski/833236/expmap_431395201_431654401_4FGL_J2324.6+3115_daily_bin741.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/833236/ltcube_431395201_431654401_4FGL_J2324.6+3115_daily_bin741.fits
.....................!
real 191.74
user 186.68
sys 4.74

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/833236/ft1_filtered_4FGL_J2324.6+3115_daily_bin741.fits scfile=/scratch/kocevski/833236/ft2_4FGL_J2324.6+3115_daily_bin741.fits outfile=/scratch/kocevski/833236/cmap_431395201_431654401_4FGL_J2324.6+3115_daily_bin741.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/833236/ft1_filtered_4FGL_J2324.6+3115_daily_bin741.fits scfile=/scratch/kocevski/833236/ft2_4FGL_J2324.6+3115_daily_bin741.fits outfile=/scratch/kocevski/833236/cmap_HighResolution_431395201_431654401_4FGL_J2324.6+3115_daily_bin741.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/833236/ft1_filtered_4FGL_J2324.6+3115_daily_bin741.fits evtable="EVENTS" scfile=/scratch/kocevski/833236/ft2_4FGL_J2324.6+3115_daily_bin741.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/833236/Model_4FGL_J2324.6+3115_daily_bin741.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/833236/ft1_filtered_4FGL_J2324.6+3115_daily_bin741.fits.....................!
real 48.60
user 47.28
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.002       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.8674       1.0000         .10000E-03   10000.    
     3 'norm      '    .10406E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.746       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .56376       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.6160       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10355E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.6697       1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.983       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.713       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .92255E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    16.647       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10960E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    40.983       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.4007       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.3180       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2509       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92154       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=   3924.241     FROM MIGRAD    STATUS=CONVERGED    893 CALLS     2941 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.028        22.453        .91881E-04    .64341E-05
   2  Prefactor     2.8684        6.1203        .21951E-03    .12741E-04
   3  norm          .10000E-03    .97622        .11854E-03** at limit **
   4  Prefactor     .10000E-03    46.479        .18142E-02** at limit **
   5  Prefactor     11.749        20.373        .11689E-03    .13617E-05
   6  Prefactor     .10000E-03    11.097        .18142E-02** at limit **
   7  Prefactor     .54915        58.217        .42159E-02   -.51721E-03
   8  Prefactor     4.6122        15.812        .18734E-03   -.46788E-04
   9  Prefactor     .10000E-03    18.867        .18142E-02** at limit **
  10  norm          3.6692        2.4982        .78267E-04   -.64131E-04
  11  Prefactor     20.987        21.856        .87438E-04    .20933E-04
  12  Prefactor     12.697        23.352        .11234E-03   -.55506E-04
  13  Prefactor     .10027E-03    379.19        .75655E-02** at limit **
  14  norm          .10000E-03    3.4311        .11310E-02** at limit **
  15  norm          16.650        18.392        .98162E-04   -.22352E-04
  16  Prefactor     .10000E-03    10.377        .18142E-02** at limit **
  17  norm          .10000E-03    2.1363        .88957E-03** at limit **
  18  Prefactor     40.984        34.828        .62616E-04   -.35405E-05
  19  Prefactor     8.4180        63.735        .13831E-03   -.68346E-04
  20  Prefactor     .10000E-03    101.71        .18142E-02** at limit **
  21  Prefactor     2.3176        5.6702        .22525E-03   -.29236E-03
  22  Normalizat    1.2511        .34518        .31989E-03   -.23669E-04
  23  Prefactor     .92163        .17265        .18501E-03    .14214E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 19.028
  Prefactor  = 2.86837
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.7487
  Prefactor  = 0.0001
  Prefactor  = 0.549153
  Prefactor  = 4.61224
  Prefactor  = 0.0001
  norm       = 3.66923
  Prefactor  = 20.987
  Prefactor  = 12.6968
  Prefactor  = 0.000100273
  norm       = 0.0001
  norm       = 16.6498
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 40.9839
  Prefactor  = 8.41801
  Prefactor  = 0.000100001
  Prefactor  = 2.31759
  Normalizat = 1.25108
  Prefactor  = 0.921629
 **********
 **   18 **HESSE 
 **********

 FCN=   3924.241     FROM HESSE     STATUS=OK           348 CALLS     3289 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.028        22.451        .36752E-05   -1.4835    
   2  Prefactor     2.8684        6.1200        .87804E-05   -1.5369    
   3  norm          .10000E-03    .97622        .23709E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    46.479        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.749        20.373        .46754E-05   -1.5022    
   6  Prefactor     .10000E-03    11.097        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .54915        58.523        .16864E-03   -1.5560    
   8  Prefactor     4.6122        15.811        .74935E-05   -1.5278    
   9  Prefactor     .10000E-03    18.867        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.6692        2.4981        .31307E-05   -1.5325    
  11  Prefactor     20.987        21.855        .34975E-05   -1.4791    
  12  Prefactor     12.697        23.325        .44937E-05   -1.4995    
  13  Prefactor     .10027E-03    394.95        .30262E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.4313        .22620E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          16.650        18.391        .39265E-05   -1.4892    
  16  Prefactor     .10000E-03    10.378        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.1365        .17791E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     40.984        34.823        .25046E-05   -1.4427    
  19  Prefactor     8.4180        63.694        .55325E-05   -1.5128    
  20  Prefactor     .10000E-03    101.72        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.3176        5.6697        .90100E-05   -1.5403    
  22  Normalizat    1.2511        .34522        .12796E-04   -.85039    
  23  Prefactor     .92163        .17238        .37002E-04   -.95389    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.6142e-09
Minuit parameter uncertainties:
  1  22.4612
  2  6.12137
  3  4.07961e-06
  4  9.72217e-06
  5  20.3854
  6  1.87005e-05
  7  11.3484
  8  15.8254
  9  1.29772e-05
  10  2.49818
  11  21.8635
  12  23.3418
  13  0.0209189
  14  6.54262e-06
  15  18.3977
  16  1.43308e-05
  17  4.89167e-06
  18  34.8402
  19  46.3798
  20  0.000538186
  21  5.67097
  22  0.34585
  23  0.172479
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  1.433e-05  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.216e-01  1.725e-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.251e+00  3.459e-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.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.06e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/833236/likelihoodResults_431395201_431654401_4FGL_J2324.6+3115_daily_bin741.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) = 3924.24139885
delta logL = -0.000458846741822

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3924.24094013
delta logL = -1.29480213218e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10214E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8725       1.0000          .0000       10.000    
     3 'Normalizat'    1.2510       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92167       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   3924.241     FROM MIGRAD    STATUS=FAILED        98 CALLS      251 TOTAL
                     EDM=   .89E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2048.6        .18142E-02** at limit **
   2  Index         2.6798        7.6420        .50000       -.38981E-06
   3  Normalizat    1.2511        .18536        .31989E-03   -.12101E-04
   4  Prefactor     .92163        .94233E-01    .18501E-03   -.22828E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   3924.241     FROM SIMPLEX   STATUS=UNCHANGED    196 CALLS      447 TOTAL
                     EDM=   .68E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2048.6        .45248E-03** at limit **
   2  Index         2.6798        7.6420        .50716E-06   -.38981E-06
   3  Normalizat    1.2511        .18536        .33978E-07   -.12101E-04
   4  Prefactor     .92163        .94233E-01    .14145E-07   -.22828E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3924.241     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      479 TOTAL
                     EDM=   .55E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.304        .36285E-03** at limit **
   2  Index         2.6777        6.5952        .50000       -.30104E-07
   3  Normalizat    1.2511        .33009        .12796E-04   -.12172E-04
   4  Prefactor     .92163        .16794        .74004E-05   -.22890E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.67771
  Normalizat = 1.25108
  Prefactor  = 0.921627
 **********
 **   18 **HESSE 
 **********

 FCN=   3924.241     FROM HESSE     STATUS=OK            29 CALLS      508 TOTAL
                     EDM=   .61E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.535        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6777        7.0879        .50000       -.48302    
   3  Normalizat    1.2511        .33001        .25591E-05   -.85039    
   4  Prefactor     .92163        .16792        .14801E-05   -.95389    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.14266e-12
Minuit parameter uncertainties:
  1  2.28566e-05
  2  319.493
  3  0.330568
  4  0.168016
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/833236': 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) = 3924.24093994
delta logL = 5.8645127865e-08

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  2.286e-05  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.678e+00  3.195e+02  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.216e-01  1.680e-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.251e+00  3.306e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/833236/cmap_HighResolution_431395201_431654401_4FGL_J2324.6+3115_daily_bin741.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', job_status='DONE', photon_flux_upper_limit='1.34e-07', time_completed='2021-09-29 16:03:04.231853', job_id='833236', GAL2='0.92', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1632956584.23', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='5.86e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='741' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:03:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 833236: <4FGL_J2324.6+3115_daily_bin741> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin741 351.17 31.2573 431395201 431654401 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 :                                   570.31 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             263.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            764 sec.

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

