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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin847
RA = 351.19, Dec = 8.0282
tmin = 458870401, tmax = 459129601
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='842049', job_status='RUN', time_executed='2021-09-29 16:23:55.419867', time_epoch_executed='1632957835.42' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='847'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/842049

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/842049/ft1_4FGL_J2324.7+0801_daily_bin847.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/842049/ft2_4FGL_J2324.7+0801_daily_bin847.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/842049/ft1_4FGL_J2324.7+0801_daily_bin847.fits outfile=/scratch/kocevski/842049/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin847.fits ra=351.19 dec=8.0282 rad=12.0 tmin=458870401.0 tmax=459129601.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.54
user 3.32
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/842049/ft2_4FGL_J2324.7+0801_daily_bin847.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/842049/ft2_4FGL_J2324.7+0801_daily_bin847.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/842049/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin847.fits evtable="EVENTS" outfile="/scratch/kocevski/842049/ft1_filtered_4FGL_J2324.7+0801_daily_bin847.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.63
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/842049/ft1_filtered_4FGL_J2324.7+0801_daily_bin847.fits" evtable="EVENTS" scfile=/scratch/kocevski/842049/ft2_4FGL_J2324.7+0801_daily_bin847.fits sctable="SC_DATA" outfile=/scratch/kocevski/842049/ltcube_458870401_459129601_4FGL_J2324.7+0801_daily_bin847.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/842049/ft2_4FGL_J2324.7+0801_daily_bin847.fits
.....................!
real 12.04
user 11.68
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/842049/ft1_filtered_4FGL_J2324.7+0801_daily_bin847.fits evtable="EVENTS" scfile=/scratch/kocevski/842049/ft2_4FGL_J2324.7+0801_daily_bin847.fits sctable="SC_DATA" expcube=/scratch/kocevski/842049/ltcube_458870401_459129601_4FGL_J2324.7+0801_daily_bin847.fits outfile=/scratch/kocevski/842049/expmap_458870401_459129601_4FGL_J2324.7+0801_daily_bin847.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/842049/ltcube_458870401_459129601_4FGL_J2324.7+0801_daily_bin847.fits
.....................!
real 190.34
user 184.78
sys 5.24

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 157 point sources and 0 extended sources

Setting source of interest to:
4FGL J2324.7+0801 @ 351.19 8.0282

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/842049/ft1_filtered_4FGL_J2324.7+0801_daily_bin847.fits scfile=/scratch/kocevski/842049/ft2_4FGL_J2324.7+0801_daily_bin847.fits outfile=/scratch/kocevski/842049/cmap_458870401_459129601_4FGL_J2324.7+0801_daily_bin847.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.19 yref=8.0282 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/842049/ft1_filtered_4FGL_J2324.7+0801_daily_bin847.fits scfile=/scratch/kocevski/842049/ft2_4FGL_J2324.7+0801_daily_bin847.fits outfile=/scratch/kocevski/842049/cmap_HighResolution_458870401_459129601_4FGL_J2324.7+0801_daily_bin847.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.19 yref=8.0282 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/842049/ft1_filtered_4FGL_J2324.7+0801_daily_bin847.fits evtable="EVENTS" scfile=/scratch/kocevski/842049/ft2_4FGL_J2324.7+0801_daily_bin847.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/842049/Model_4FGL_J2324.7+0801_daily_bin847.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/842049/ft1_filtered_4FGL_J2324.7+0801_daily_bin847.fits.....................!
real 72.64
user 71.30
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/842049/ft1_filtered_4FGL_J2324.7+0801_daily_bin847.fits', '/scratch/kocevski/842049/ft2_4FGL_J2324.7+0801_daily_bin847.fits', expMap='/scratch/kocevski/842049/expmap_458870401_459129601_4FGL_J2324.7+0801_daily_bin847.fits', expCube='/scratch/kocevski/842049/ltcube_458870401_459129601_4FGL_J2324.7+0801_daily_bin847.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/842049/Model_4FGL_J2324.7+0801_daily_bin847.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.7+0801'

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  3.182e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/842049/ft1_filtered_4FGL_J2324.7+0801_daily_bin847.fits
Spacecraft file(s): /scratch/kocevski/842049/ft2_4FGL_J2324.7+0801_daily_bin847.fits
Exposure map: /scratch/kocevski/842049/expmap_458870401_459129601_4FGL_J2324.7+0801_daily_bin847.fits
Exposure cube: /scratch/kocevski/842049/ltcube_458870401_459129601_4FGL_J2324.7+0801_daily_bin847.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/842049/Model_4FGL_J2324.7+0801_daily_bin847.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) = 6590.34984036

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.1536       1.0000         .10000E-03   10000.    
     3 'norm      '    .10077E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.3118       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.3252       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    19.853       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.228       1.0000         .10000E-03   10000.    
     9 'norm      '    6.6407       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.4253       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.599       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.5058       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.6808       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10427E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .30760E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .22157E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.9487       1.0000         .10000E-03   10000.    
    19 'norm      '    7.3151       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.6782       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10612E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10248E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    15.349       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .83891       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .89698       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6590.312     FROM MIGRAD    STATUS=CONVERGED    578 CALLS     2489 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.7964       -.18618E-10** at limit **
   2  Prefactor     2.1536        .27914       -.25403E-07    .14579E-04
   3  norm          .10000E-03    4.2787       -.11460E-07** at limit **
   4  Prefactor     5.3175        31.656        .82973E-07   -.13888E-04
   5  Prefactor     1.3236        7.6573        .54476E-05   -.14605E-03
   6  Prefactor     .10000E-03    3.5795       -.12933E-07** at limit **
   7  Prefactor     19.850        15.220        .40188E-07   -.31394E-04
   8  Prefactor     14.225        8.6374       -.52711E-07   -.82636E-05
   9  norm          6.6405        1.7009       -.28384E-07   -.11740E-02
  10  Prefactor     5.4248        7.4861       -.23943E-07   -.15897E-04
  11  Prefactor     15.620        19.036        .13976E-06    .28621E-04
  12  Prefactor     .10000E-03    16.433       -.41824E-07** at limit **
  13  norm          5.5065        7.8238        .33184E-06   -.44678E-04
  14  Prefactor     6.6822        6.7167        .14900E-06   -.45478E-04
  15  Prefactor     .10000E-03    87.613       -.82199E-06** at limit **
  16  Prefactor     .10000E-03    19.700        .39048E-05** at limit **
  17  Prefactor     .10000E-03    40.202        .11567E-06** at limit **
  18  norm          4.9473        11.283        .79655E-07    .55391E-06
  19  norm          7.2600        29.373       -.62201E-06   -.19713E-03
  20  Prefactor     7.6824        6.7951       -.57149E-06   -.13374E-02
  21  Prefactor     .10000E-03    9.9302       -.12250E-07** at limit **
  22  Prefactor     .10000E-03    14.044        .80957E-08** at limit **
  23  Prefactor     15.349        11.635        .96176E-07    .45499E-05
  24  Normalizat    .83884        .20297       -.57088E-06   -.26436E-03
  25  Prefactor     .89705        .12426       -.19903E-06   -.10009E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.15355
  norm       = 0.0001
  Prefactor  = 5.31754
  Prefactor  = 1.32361
  Prefactor  = 0.0001
  Prefactor  = 19.8499
  Prefactor  = 14.2248
  norm       = 6.64048
  Prefactor  = 5.42476
  Prefactor  = 15.6198
  Prefactor  = 0.0001
  norm       = 5.50648
  Prefactor  = 6.6822
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 4.9473
  norm       = 7.26005
  Prefactor  = 7.68236
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.349
  Normalizat = 0.838839
  Prefactor  = 0.897048
 **********
 **   18 **HESSE 
 **********

 FCN=   6590.312     FROM HESSE     STATUS=OK           429 CALLS     2918 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.7996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.1536        .27971        .14728E-04   -1.5414    
   3  norm          .10000E-03    4.2812        .16400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.3175        31.694        .17438E-03   -1.5247    
   5  Prefactor     1.3236        7.7643        .19095E-02   -1.5478    
   6  Prefactor     .10000E-03    3.5847        .15000E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.850        15.222        .89892E-04   -1.4817    
   8  Prefactor     14.225        8.6305        .10619E-03   -1.4953    
   9  norm          6.6405        1.7030        .51660E-04   -1.5193    
  10  Prefactor     5.4248        7.4611        .17252E-03   -1.5242    
  11  Prefactor     15.620        19.033        .10141E-03   -1.4917    
  12  Prefactor     .10000E-03    16.439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.5065        7.7789        .85616E-03   -1.5239    
  14  Prefactor     6.6822        6.7012        .77623E-03   -1.5191    
  15  Prefactor     .10000E-03    87.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    19.953        .42758E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    40.772        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.9473        11.272        .18079E-03   -1.5263    
  19  norm          7.2600        29.530        .14830E-03   -1.5169    
  20  Prefactor     7.6824        6.8718        .14472E-03   -1.5154    
  21  Prefactor     .10000E-03    9.9354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    14.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     15.349        11.660        .10223E-03   -1.4924    
  24  Normalizat    .83884        .23340        .32916E-03   -.98644    
  25  Prefactor     .89705        .14351        .20400E-03   -.96244    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.60299e-10
Minuit parameter uncertainties:
  1  1.13849e-08
  2  0.279712
  3  5.48826e-07
  4  25.9846
  5  6.41253
  6  6.56758e-07
  7  15.2252
  8  8.63122
  9  1.70303
  10  7.46241
  11  19.0404
  12  2.25735e-05
  13  7.78036
  14  6.70191
  15  0.000561807
  16  0.000248348
  17  3.3472e-05
  18  11.2766
  19  29.3088
  20  6.87248
  21  2.98418e-06
  22  6.5079e-06
  23  11.6622
  24  0.233684
  25  0.143568
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  5.425e+00  7.462e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  8.970e-01  1.436e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  8.388e-01  2.337e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.89
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 9.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/842049/likelihoodResults_458870401_459129601_4FGL_J2324.7+0801_daily_bin847.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) = 6590.30570077
delta logL = 0.00607065172608

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6590.30246694
delta logL = 0.00930447966675

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1547       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1037       1.0000          .0000       10.000    
     3 'Normalizat'    .84115       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89619       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+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=   6590.302     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      238 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1565        9.8817        .16182E-03   -.42089E-03
   2  Index         2.1032        .91759        .91589E-02   -.11567E-03
   3  Normalizat    .84126        .22052        .32873E-03    .30887E-03
   4  Prefactor     .89613        .14179        .20409E-03    .74706E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.15654
  Index      = 2.10316
  Normalizat = 0.84126
  Prefactor  = 0.896128
 **********
 **   18 **HESSE 
 **********

 FCN=   6590.302     FROM HESSE     STATUS=OK            25 CALLS      263 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1565        9.5148        .64729E-05   -1.5212    
   2  Index         2.1032        .88400        .36636E-03   -.61795    
   3  Normalizat    .84126        .22056        .13149E-04   -.98556    
   4  Prefactor     .89613        .14185        .40819E-04   -.96277    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04295e-09
Minuit parameter uncertainties:
  1  9.51712
  2  0.891088
  3  0.220798
  4  0.141909
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/842049': 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) = 6590.30246669
delta logL = 0.00930472772143

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  6.157e+00  9.517e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.103e+00  8.911e-01  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  8.961e-01  1.419e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  8.413e-01  2.208e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.89
Ra Dec: 351.190 8.028

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/842049/cmap_HighResolution_458870401_459129601_4FGL_J2324.7+0801_daily_bin847.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.91e-03', job_status='DONE', photon_flux_upper_limit='9.06e-08', time_completed='2021-09-29 16:35:12.132487', job_id='842049', GAL2='0.90', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1632958512.13', return_code2='0', ts='0.89', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='9.30e-03', ts2='0.91', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='847' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:35:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 842049: <4FGL_J2324.7+0801_daily_bin847> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin847> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 16:20:18 2021
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:20:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 16:20:21 2021
Terminated at Wed Sep 29 16:35:12 2021
Results reported at Wed Sep 29 16:35:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin847 351.19 8.0282 458870401 459129601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2324.7+0801 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   676.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   891 sec.
    Turnaround time :                            894 sec.

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

