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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin721
RA = 351.17, Dec = 31.2573
tmin = 426211201, tmax = 426470401
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='833208', job_status='RUN', time_executed='2021-09-29 15:52:42.533582', time_epoch_executed='1632955962.53' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='721'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/833208

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/833208/ft1_4FGL_J2324.6+3115_daily_bin721.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/833208/ft2_4FGL_J2324.6+3115_daily_bin721.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/833208/ft1_4FGL_J2324.6+3115_daily_bin721.fits outfile=/scratch/kocevski/833208/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin721.fits ra=351.17 dec=31.2573 rad=12.0 tmin=426211201.0 tmax=426470401.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.55
user 3.32
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/833208/ft2_4FGL_J2324.6+3115_daily_bin721.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/833208/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin721.fits evtable="EVENTS" outfile="/scratch/kocevski/833208/ft1_filtered_4FGL_J2324.6+3115_daily_bin721.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/833208/ft1_filtered_4FGL_J2324.6+3115_daily_bin721.fits" evtable="EVENTS" scfile=/scratch/kocevski/833208/ft2_4FGL_J2324.6+3115_daily_bin721.fits sctable="SC_DATA" outfile=/scratch/kocevski/833208/ltcube_426211201_426470401_4FGL_J2324.6+3115_daily_bin721.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/833208/ft2_4FGL_J2324.6+3115_daily_bin721.fits
.....................!
real 11.66
user 11.27
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/833208/ft1_filtered_4FGL_J2324.6+3115_daily_bin721.fits evtable="EVENTS" scfile=/scratch/kocevski/833208/ft2_4FGL_J2324.6+3115_daily_bin721.fits sctable="SC_DATA" expcube=/scratch/kocevski/833208/ltcube_426211201_426470401_4FGL_J2324.6+3115_daily_bin721.fits outfile=/scratch/kocevski/833208/expmap_426211201_426470401_4FGL_J2324.6+3115_daily_bin721.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/833208/ltcube_426211201_426470401_4FGL_J2324.6+3115_daily_bin721.fits
.....................!
real 191.94
user 187.03
sys 4.56

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/833208/ft1_filtered_4FGL_J2324.6+3115_daily_bin721.fits scfile=/scratch/kocevski/833208/ft2_4FGL_J2324.6+3115_daily_bin721.fits outfile=/scratch/kocevski/833208/cmap_426211201_426470401_4FGL_J2324.6+3115_daily_bin721.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/833208/ft1_filtered_4FGL_J2324.6+3115_daily_bin721.fits scfile=/scratch/kocevski/833208/ft2_4FGL_J2324.6+3115_daily_bin721.fits outfile=/scratch/kocevski/833208/cmap_HighResolution_426211201_426470401_4FGL_J2324.6+3115_daily_bin721.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.56
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.111       1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.159       1.0000         .10000E-03   10000.    
     3 'norm      '    .30570E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.985       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .23515E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.930       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .14556       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    12.280       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.018       1.0000         .10000E-03   10000.    
    17 'norm      '    1.2864       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1860       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .91925       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=   8678.751     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     2587 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.109        16.284       -.55490E-06    .28345E-04
   2  Prefactor     19.155        9.0161       -.54268E-07   -.24010E-04
   3  norm          .10086E-03    .40383       -.58928E-07** at limit **
   4  Prefactor     11.892        31.410       -.90141E-04   -.13864E-05
   5  Prefactor     .10000E-03    6.2398        .22245E-05** at limit **
   6  Prefactor     .10000E-03    17.637        .91878E-05** at limit **
   7  Prefactor     .10232E-03    3.6275        .10732E-05** at limit **
   8  Prefactor     12.928        9.7686       -.14892E-06   -.64774E-05
   9  Prefactor     .10000E-03    11.586       -.23160E-05** at limit **
  10  norm          .14539        .66227       -.70567E-06   -.10153E-02
  11  Prefactor     .10000E-03    6.2711       -.41307E-06** at limit **
  12  Prefactor     .10000E-03    6.7424        .38922E-05** at limit **
  13  Prefactor     .10000E-03    9.4946        .12078E-06** at limit **
  14  norm          12.280        6.3230       -.51115E-06    .95221E-04
  15  norm          .10000E-03    2.8201       -.13550E-06** at limit **
  16  Prefactor     11.007        17.813        .24492E-05    .22145E-04
  17  norm          1.2865        1.8897       -.39718E-06   -.97119E-03
  18  Prefactor     .10000E-03    6.5566       -.51972E-05** at limit **
  19  Prefactor     .10000E-03    25.116       -.12776E-05** at limit **
  20  Prefactor     .10000E-03    21.254       -.94840E-05** at limit **
  21  Prefactor     .10000E-03    4.4652       -.54558E-07** at limit **
  22  Normalizat    1.1864        .19234       -.10735E-05    .10884E-03
  23  Prefactor     .91919        .94476E-01    .15116E-05   -.38714E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 13.1089
  Prefactor  = 19.1546
  norm       = 0.000100864
  Prefactor  = 11.8919
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000102316
  Prefactor  = 12.9276
  Prefactor  = 0.0001
  norm       = 0.145394
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.2801
  norm       = 0.0001
  Prefactor  = 11.007
  norm       = 1.28652
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.18636
  Prefactor  = 0.919191
 **********
 **   18 **HESSE 
 **********

 FCN=   8678.751     FROM HESSE     STATUS=OK           386 CALLS     2973 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.109        16.262        .11062E-03   -1.4984    
   2  Prefactor     19.155        9.0422        .91504E-04   -1.4832    
   3  norm          .10086E-03    .39156        .20734E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.892        31.422        .11571E-03   -1.5018    
   5  Prefactor     .10000E-03    6.2480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    17.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10232E-03    6.9462        .57183E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.928        9.7715        .11139E-03   -1.4989    
   9  Prefactor     .10000E-03    11.612        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .14539        1.3585        .14425E-02   -1.5632    
  11  Prefactor     .10000E-03    6.2786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.7911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.5088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          12.280        6.3100        .11431E-03   -1.5007    
  15  norm          .10000E-03    2.8235        .15279E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.007        17.819        .12070E-03   -1.5044    
  17  norm          1.2865        1.8608        .15017E-03   -1.5481    
  18  Prefactor     .10000E-03    6.5722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    25.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    21.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.5182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1864        .22516        .31663E-03   -.87025    
  23  Prefactor     .91919        .11132        .17728E-03   -.95474    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41656e-09
Minuit parameter uncertainties:
  1  16.2674
  2  9.04287
  3  0.00116329
  4  31.4656
  5  1.51829e-06
  6  9.07803e-06
  7  0.00802191
  8  9.77272
  9  1.22314e-06
  10  0.888574
  11  4.53732e-06
  12  9.65559e-06
  13  1.04213e-05
  14  6.31036
  15  1.2367e-06
  16  17.8272
  17  1.86093
  18  1.25207e-06
  19  2.28332e-05
  20  6.17974e-06
  21  1.76199e-06
  22  0.225343
  23  0.111343
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.101e+01  1.783e+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:  9.192e-01  1.113e-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.186e+00  2.253e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/833208/likelihoodResults_426211201_426470401_4FGL_J2324.6+3115_daily_bin721.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) = 8678.74427857
delta logL = 0.0068983294168

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8678.74313745
delta logL = 0.00803944901782

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.773       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7563       1.0000          .0000       10.000    
     3 'Normalizat'    1.1891       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91809       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=   8678.743     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      269 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.773        17.632        .11675E-03    .30829E-03
   2  Index         2.7564        .92418        .12424E-01    .10509E-03
   3  Normalizat    1.1886        .21974        .31636E-03   -.99685E-04
   4  Prefactor     .91834        .10908        .17735E-03   -.15246E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.7726
  Index      = 2.75638
  Normalizat = 1.18856
  Prefactor  = 0.918338
 **********
 **   18 **HESSE 
 **********

 FCN=   8678.743     FROM HESSE     STATUS=OK            23 CALLS      292 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.773        17.310        .46701E-05   -1.5022    
   2  Index         2.7564        .90752        .49697E-03   -.46534    
   3  Normalizat    1.1886        .21998        .12655E-04   -.86957    
   4  Prefactor     .91834        .10915        .35470E-04   -.95503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.59951e-10
Minuit parameter uncertainties:
  1  17.3174
  2  0.913875
  3  0.220155
  4  0.109181
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/833208': 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) = 8678.74313456
delta logL = 0.0080423372583

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.177e+01  1.732e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.756e+00  9.139e-01  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.183e-01  1.092e-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.189e+00  2.202e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.56
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/833208/cmap_HighResolution_426211201_426470401_4FGL_J2324.6+3115_daily_bin721.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.12e-02', job_status='DONE', photon_flux_upper_limit='1.41e-07', time_completed='2021-09-29 16:06:19.239948', job_id='833208', GAL2='0.92', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1632956779.24', return_code2='0', ts='0.56', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='8.04e-03', ts2='0.59', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='721' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:06:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 833208: <4FGL_J2324.6+3115_daily_bin721> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin721 351.17 31.2573 426211201 426470401 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 :                                   814.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   960 sec.
    Turnaround time :                            961 sec.

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

