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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin463
RA = 351.19, Dec = 8.0282
tmin = 359337601, tmax = 359596801
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='839299', job_status='RUN', time_executed='2021-09-29 16:13:31.103791', time_epoch_executed='1632957211.1' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='463'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/839299

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/839299/ft1_4FGL_J2324.7+0801_daily_bin463.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/839299/ft2_4FGL_J2324.7+0801_daily_bin463.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/839299/ft1_4FGL_J2324.7+0801_daily_bin463.fits outfile=/scratch/kocevski/839299/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin463.fits ra=351.19 dec=8.0282 rad=12.0 tmin=359337601.0 tmax=359596801.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.32
user 3.12
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/839299/ft2_4FGL_J2324.7+0801_daily_bin463.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/839299/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin463.fits evtable="EVENTS" outfile="/scratch/kocevski/839299/ft1_filtered_4FGL_J2324.7+0801_daily_bin463.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/839299/ft1_filtered_4FGL_J2324.7+0801_daily_bin463.fits" evtable="EVENTS" scfile=/scratch/kocevski/839299/ft2_4FGL_J2324.7+0801_daily_bin463.fits sctable="SC_DATA" outfile=/scratch/kocevski/839299/ltcube_359337601_359596801_4FGL_J2324.7+0801_daily_bin463.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/839299/ft2_4FGL_J2324.7+0801_daily_bin463.fits
.....................!
real 11.87
user 11.53
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/839299/ft1_filtered_4FGL_J2324.7+0801_daily_bin463.fits evtable="EVENTS" scfile=/scratch/kocevski/839299/ft2_4FGL_J2324.7+0801_daily_bin463.fits sctable="SC_DATA" expcube=/scratch/kocevski/839299/ltcube_359337601_359596801_4FGL_J2324.7+0801_daily_bin463.fits outfile=/scratch/kocevski/839299/expmap_359337601_359596801_4FGL_J2324.7+0801_daily_bin463.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/839299/ltcube_359337601_359596801_4FGL_J2324.7+0801_daily_bin463.fits
.....................!
real 191.03
user 185.52
sys 5.12

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/839299/ft1_filtered_4FGL_J2324.7+0801_daily_bin463.fits scfile=/scratch/kocevski/839299/ft2_4FGL_J2324.7+0801_daily_bin463.fits outfile=/scratch/kocevski/839299/cmap_359337601_359596801_4FGL_J2324.7+0801_daily_bin463.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/839299/ft1_filtered_4FGL_J2324.7+0801_daily_bin463.fits scfile=/scratch/kocevski/839299/ft2_4FGL_J2324.7+0801_daily_bin463.fits outfile=/scratch/kocevski/839299/cmap_HighResolution_359337601_359596801_4FGL_J2324.7+0801_daily_bin463.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/839299/ft1_filtered_4FGL_J2324.7+0801_daily_bin463.fits evtable="EVENTS" scfile=/scratch/kocevski/839299/ft2_4FGL_J2324.7+0801_daily_bin463.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/839299/Model_4FGL_J2324.7+0801_daily_bin463.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/839299/ft1_filtered_4FGL_J2324.7+0801_daily_bin463.fits.....................!
real 83.17
user 81.80
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/839299/ft1_filtered_4FGL_J2324.7+0801_daily_bin463.fits', '/scratch/kocevski/839299/ft2_4FGL_J2324.7+0801_daily_bin463.fits', expMap='/scratch/kocevski/839299/expmap_359337601_359596801_4FGL_J2324.7+0801_daily_bin463.fits', expCube='/scratch/kocevski/839299/ltcube_359337601_359596801_4FGL_J2324.7+0801_daily_bin463.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/839299/Model_4FGL_J2324.7+0801_daily_bin463.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/839299/ft1_filtered_4FGL_J2324.7+0801_daily_bin463.fits
Spacecraft file(s): /scratch/kocevski/839299/ft2_4FGL_J2324.7+0801_daily_bin463.fits
Exposure map: /scratch/kocevski/839299/expmap_359337601_359596801_4FGL_J2324.7+0801_daily_bin463.fits
Exposure cube: /scratch/kocevski/839299/ltcube_359337601_359596801_4FGL_J2324.7+0801_daily_bin463.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/839299/Model_4FGL_J2324.7+0801_daily_bin463.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) = 7616.77212944

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .49003E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.8227       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.0262       1.0000         .10000E-03   10000.    
     8 'Prefactor '    24.444       1.0000         .10000E-03   10000.    
     9 'norm      '    1.8128       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.9542       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11933E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.1910       1.0000         .10000E-03   10000.    
    13 'norm      '    .10628E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.995       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.9979       1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.869       1.0000         .10000E-03   10000.    
    18 'norm      '    16.510       1.0000         .10000E-03   10000.    
    19 'norm      '    16.141       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.191       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.9814       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .35341E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .87753       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .87384       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=   7616.710     FROM MIGRAD    STATUS=CONVERGED    579 CALLS     2538 TOTAL
                     EDM=   .79E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.899        .68991E-06** at limit **
   2  Prefactor     .48955E-01    .10645       -.13360E-06    .13029E-02
   3  norm          .10000E-03    3.2833       -.15610E-07** at limit **
   4  Prefactor     .10000E-03    25.687        .16220E-06** at limit **
   5  Prefactor     .10000E-03    2.8553        .12458E-06** at limit **
   6  Prefactor     6.8219        10.664       -.13583E-06    .40293E-04
   7  Prefactor     3.0258        12.107       -.14818E-05   -.22754E-04
   8  Prefactor     24.436        10.106       -.68443E-06    .51803E-04
   9  norm          1.8128        .92375       -.15397E-07    .65065E-04
  10  Prefactor     4.9536        7.8801       -.41893E-06   -.64743E-05
  11  Prefactor     .10000E-03    97.035       -.49920E-05** at limit **
  12  Prefactor     4.1960        47.252       -.97063E-06   -.79136E-05
  13  norm          .10000E-03    3.9957        .86584E-06** at limit **
  14  Prefactor     13.995        7.1383        .29404E-07    .17054E-03
  15  Prefactor     .10000E-03    52.065       -.72568E-07** at limit **
  16  Prefactor     4.0015        9.4490       -.10923E-05   -.69612E-04
  17  Prefactor     12.867        18.021       -.59244E-07    .67217E-05
  18  norm          16.509        13.536       -.13123E-06    .21971E-04
  19  norm          16.139        16.070        .35492E-06   -.13784E-04
  20  Prefactor     .10000E-03    1.4038       -.45193E-07** at limit **
  21  Prefactor     17.124        26.851        .57895E-06    .91420E-04
  22  Prefactor     3.9899        25.471       -.10240E-05   -.98037E-05
  23  Prefactor     .10000E-03    22.868        .43511E-05** at limit **
  24  Normalizat    .87742        .18427        .23934E-06    .15637E-03
  25  Prefactor     .87392        .10974        .44630E-06    .13920E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0489547
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.82193
  Prefactor  = 3.02584
  Prefactor  = 24.4357
  norm       = 1.81284
  Prefactor  = 4.95361
  Prefactor  = 0.0001
  Prefactor  = 4.19598
  norm       = 0.0001
  Prefactor  = 13.9951
  Prefactor  = 0.0001
  Prefactor  = 4.00154
  Prefactor  = 12.8673
  norm       = 16.5088
  norm       = 16.1386
  Prefactor  = 0.0001
  Prefactor  = 17.1239
  Prefactor  = 3.98992
  Prefactor  = 0.0001
  Normalizat = 0.87742
  Prefactor  = 0.873923
 **********
 **   18 **HESSE 
 **********

 FCN=   7616.710     FROM HESSE     STATUS=OK           435 CALLS     2973 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .48955E-01    .11142        .38571E-03   -1.5664    
   3  norm          .10000E-03    3.2864        .15444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    25.820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.8746        .14404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.8219        10.654        .15361E-03   -1.5186    
   7  Prefactor     3.0258        12.197        .23327E-03   -1.5360    
   8  Prefactor     24.436        9.9630        .81020E-04   -1.4719    
   9  norm          1.8128        .91626        .57439E-04   -1.5439    
  10  Prefactor     4.9536        7.8841        .18069E-03   -1.5263    
  11  Prefactor     .10000E-03    96.837        .41284E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.1960        47.198        .19686E-03   -1.5298    
  13  norm          .10000E-03    4.0762        .17087E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.995        7.1609        .10707E-03   -1.4960    
  15  Prefactor     .10000E-03    52.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.0015        9.4683        .20171E-03   -1.5308    
  17  Prefactor     12.867        17.991        .11166E-03   -1.4990    
  18  norm          16.509        13.539        .98569E-04   -1.4895    
  19  norm          16.139        16.026        .99691E-04   -1.4904    
  20  Prefactor     .10000E-03    1.4111        .10081E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     17.124        27.020        .96597E-04   -1.4880    
  22  Prefactor     3.9899        25.507        .20213E-03   -1.5308    
  23  Prefactor     .10000E-03    22.645        .39152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .87742        .21413        .30022E-03   -.97258    
  25  Prefactor     .87392        .12798        .18990E-03   -.97058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.33523e-10
Minuit parameter uncertainties:
  1  8.53807e-05
  2  0.111422
  3  2.46051e-07
  4  2.59641e-05
  5  8.42131e-06
  6  10.6568
  7  12.1542
  8  9.96368
  9  0.916269
  10  7.88576
  11  7.2031e-05
  12  28.1734
  13  1.96893e-05
  14  7.16133
  15  2.1374e-06
  16  9.47183
  17  17.9984
  18  13.5411
  19  16.0305
  20  2.5961e-06
  21  27.0394
  22  20.1889
  23  0.000139559
  24  0.214339
  25  0.128019
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  4.954e+00  7.886e+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.739e-01  1.280e-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.774e-01  2.143e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/839299/likelihoodResults_359337601_359596801_4FGL_J2324.7+0801_daily_bin463.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) = 7616.70668454
delta logL = 0.00325544749194

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7616.70594658
delta logL = 0.00399340769127

Fit tolerance = 1e-08

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

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

 FCN=   7616.706     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      206 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6540        192.50        .46613E-02    .23487E-03
   2  Index         2.3063        3.2018        .24286        .60022E-04
   3  Normalizat    .87589        .45707E-01    .67914E-01    .68719E-04
   4  Prefactor     .87433        .26183E-01    .44677E-01    .78451E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.65398
  Index      = 2.30628
  Normalizat = 0.875892
  Prefactor  = 0.87433
 **********
 **   18 **HESSE 
 **********

 FCN=   7616.706     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .87E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6540        8.5805        .18645E-03   -1.5276    
   2  Index         2.3063        .91371        .87100E-02   -.56895    
   3  Normalizat    .87589        .19888        .30045E-03   -.97312    
   4  Prefactor     .87433        .12613        .18986E-03   -.97044    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.7324e-12
Minuit parameter uncertainties:
  1  8.58281
  2  0.921027
  3  0.199041
  4  0.12617
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/839299': 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) = 7616.70594547
delta logL = 0.00399452057627

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  4.654e+00  8.583e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.306e+00  9.210e-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.743e-01  1.262e-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.759e-01  1.990e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/839299/cmap_HighResolution_359337601_359596801_4FGL_J2324.7+0801_daily_bin463.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.77e-03', job_status='DONE', photon_flux_upper_limit='8.87e-08', time_completed='2021-09-29 16:25:37.416238', job_id='839299', GAL2='0.87', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1632957937.42', return_code2='0', ts='0.56', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='3.99e-03', ts2='0.56', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='463' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:25:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 839299: <4FGL_J2324.7+0801_daily_bin463> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin463> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 16:10:20 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:10: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:10:21 2021
Terminated at Wed Sep 29 16:25:38 2021
Results reported at Wed Sep 29 16:25:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin463 351.19 8.0282 359337601 359596801 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 :                                   726.11 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             278.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            918 sec.

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

