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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin999
RA = 351.19, Dec = 8.0282
tmin = 498268801, tmax = 498528001
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='842272', job_status='RUN', time_executed='2021-09-29 16:21:16.500801', time_epoch_executed='1632957676.5' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='999'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/842272

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/842272/ft1_4FGL_J2324.7+0801_daily_bin999.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/842272/ft2_4FGL_J2324.7+0801_daily_bin999.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/842272/ft1_4FGL_J2324.7+0801_daily_bin999.fits outfile=/scratch/kocevski/842272/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin999.fits ra=351.19 dec=8.0282 rad=12.0 tmin=498268801.0 tmax=498528001.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 4.82
user 4.57
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/842272/ft2_4FGL_J2324.7+0801_daily_bin999.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/842272/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin999.fits evtable="EVENTS" outfile="/scratch/kocevski/842272/ft1_filtered_4FGL_J2324.7+0801_daily_bin999.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/842272/ft1_filtered_4FGL_J2324.7+0801_daily_bin999.fits" evtable="EVENTS" scfile=/scratch/kocevski/842272/ft2_4FGL_J2324.7+0801_daily_bin999.fits sctable="SC_DATA" outfile=/scratch/kocevski/842272/ltcube_498268801_498528001_4FGL_J2324.7+0801_daily_bin999.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/842272/ft2_4FGL_J2324.7+0801_daily_bin999.fits
.....................!
real 11.69
user 11.34
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/842272/ft1_filtered_4FGL_J2324.7+0801_daily_bin999.fits evtable="EVENTS" scfile=/scratch/kocevski/842272/ft2_4FGL_J2324.7+0801_daily_bin999.fits sctable="SC_DATA" expcube=/scratch/kocevski/842272/ltcube_498268801_498528001_4FGL_J2324.7+0801_daily_bin999.fits outfile=/scratch/kocevski/842272/expmap_498268801_498528001_4FGL_J2324.7+0801_daily_bin999.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/842272/ltcube_498268801_498528001_4FGL_J2324.7+0801_daily_bin999.fits
.....................!
real 190.77
user 185.83
sys 4.63

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/842272/ft1_filtered_4FGL_J2324.7+0801_daily_bin999.fits scfile=/scratch/kocevski/842272/ft2_4FGL_J2324.7+0801_daily_bin999.fits outfile=/scratch/kocevski/842272/cmap_498268801_498528001_4FGL_J2324.7+0801_daily_bin999.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/842272/ft1_filtered_4FGL_J2324.7+0801_daily_bin999.fits scfile=/scratch/kocevski/842272/ft2_4FGL_J2324.7+0801_daily_bin999.fits outfile=/scratch/kocevski/842272/cmap_HighResolution_498268801_498528001_4FGL_J2324.7+0801_daily_bin999.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    4.3674       1.0000         .10000E-03   10000.    
     3 'norm      '    8.2284       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .58987E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    2.1152       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.126       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    59.212       1.0000         .10000E-03   10000.    
    13 'norm      '    .11072E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.6601       1.0000         .10000E-03   10000.    
    15 'Prefactor '    102.44       1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.139       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    16.261       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2618       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .63157       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=   6149.832     FROM MIGRAD    STATUS=CONVERGED    557 CALLS     2892 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.695       -.58113E-05** at limit **
   2  Prefactor     4.3674        .41961        .32337E-08    .25108E-02
   3  norm          8.2289        10.490       -.60510E-06   -.43044E-03
   4  Prefactor     .10000E-03    17.581       -.39179E-05** at limit **
   5  Prefactor     .10000E-03    3.8691        .62210E-07** at limit **
   6  Prefactor     .10000E-03    5.0172        .63986E-07** at limit **
   7  Prefactor     .10000E-03    16.057        .35217E-05** at limit **
   8  Prefactor     .10063E-03    7.7998       -.17694E-05** at limit **
   9  norm          2.1152        1.1920        .95155E-07   -.86460E-04
  10  Prefactor     13.127        10.462       -.61255E-06   -.77733E-03
  11  Prefactor     .10000E-03    25.676       -.10671E-04** at limit **
  12  Prefactor     59.211        59.739       -.10055E-05   -.15519E-04
  13  norm          .10000E-03    9.4011        .17975E-05** at limit **
  14  Prefactor     3.6585        8.4126       -.74903E-06   -.34449E-03
  15  Prefactor     102.43        170.35       -.10038E-04   -.74708E-06
  16  Prefactor     13.140        15.155       -.74929E-06   -.86451E-03
  17  Prefactor     .10000E-03    30.517        .13879E-04** at limit **
  18  norm          .10000E-03    17.251       -.28692E-05** at limit **
  19  norm          16.261        23.688       -.29376E-07   -.12902E-04
  20  Prefactor     .10000E-03    1.9537        .93137E-08** at limit **
  21  Prefactor     .10000E-03    59.304        .70597E-05** at limit **
  22  Prefactor     .10000E-03    14.186        .76410E-05** at limit **
  23  Prefactor     .10000E-03    7.5219       -.15380E-06** at limit **
  24  Normalizat    1.2617        .23227        .53209E-06    .81563E-04
  25  Prefactor     .63159        .13511        .13437E-06    .10471E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.36737
  norm       = 8.2289
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010063
  norm       = 2.11522
  Prefactor  = 13.1269
  Prefactor  = 0.0001
  Prefactor  = 59.2109
  norm       = 0.0001
  Prefactor  = 3.65854
  Prefactor  = 102.433
  Prefactor  = 13.1405
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 16.2609
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.26171
  Prefactor  = 0.631587
 **********
 **   18 **HESSE 
 **********

 FCN=   6149.832     FROM HESSE     STATUS=OK           419 CALLS     3311 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.628        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.3674        .41918        .15137E-04   -1.5290    
   3  norm          8.2289        10.553        .69881E-03   -1.5134    
   4  Prefactor     .10000E-03    17.566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.8833        .15062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.0323        .17155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    16.123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10063E-03    68.887        .41256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.1152        1.1912        .61540E-04   -1.5417    
  10  Prefactor     13.127        10.556        .55279E-03   -1.4983    
  11  Prefactor     .10000E-03    25.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     59.211        59.704        .52139E-04   -1.4167    
  13  norm          .10000E-03    9.4629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.6585        8.4272        .21114E-03   -1.5325    
  15  Prefactor     102.43        169.28        .39725E-04   -1.3680    
  16  Prefactor     13.140        15.533        .55253E-03   -1.4983    
  17  Prefactor     .10000E-03    30.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    17.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          16.261        23.765        .99321E-04   -1.4901    
  20  Prefactor     .10000E-03    1.9591        .10696E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    59.451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    14.064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    7.5569        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.2617        .27703        .29929E-03   -.84717    
  25  Prefactor     .63159        .16093        .24425E-03   -1.0627    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11435e-08
Minuit parameter uncertainties:
  1  1.00325e-06
  2  0.419175
  3  10.5549
  4  1.1662e-06
  5  1.84011e-06
  6  1.55322e-07
  7  1.17731e-05
  8  0.0131907
  9  1.19119
  10  10.558
  11  6.99255e-05
  12  59.7641
  13  2.97286e-05
  14  8.42997
  15  170.09
  16  15.5377
  17  2.96877e-05
  18  1.37094e-05
  19  23.7788
  20  5.43689e-06
  21  2.36669e-05
  22  1.52888e-05
  23  5.50448e-07
  24  0.277354
  25  0.161047
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.313e+01  1.056e+01  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:  6.316e-01  1.610e-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:  1.262e+00  2.774e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.83
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 4.72e-08 +/- 3.80e-08
Energy Flux (Fixed Index): 2.02e-05 +/- 1.62e-05

TS (Fixed Index): 2.83
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 1.36e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.04e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/842272/likelihoodResults_498268801_498528001_4FGL_J2324.7+0801_daily_bin999.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) = 6149.66450198
delta logL = 0.167061063772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6149.59576251
delta logL = 0.235800534789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.233       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8394       1.0000          .0000       10.000    
     3 'Normalizat'    1.2793       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62466       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=   6149.596     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      249 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.213        550.84        .23449E-02    .17741E-03
   2  Index         1.8385        5.3137        .16647        .43648E-04
   3  Normalizat    1.2794        .19523        .67257E-01    .93783E-05
   4  Prefactor     .62472        .84516E-01    .41389E-01    .20874E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.2134
  Index      = 1.83852
  Normalizat = 1.27939
  Prefactor  = 0.62472
 **********
 **   18 **HESSE 
 **********

 FCN=   6149.596     FROM HESSE     STATUS=OK            33 CALLS      282 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.213        14.985        .46899E-03   -1.4854    
   2  Index         1.8385        .54232        .86710E-02   -.68451    
   3  Normalizat    1.2794        .26654        .29753E-03   -.84184    
   4  Prefactor     .62472        .15982        .24541E-03   -1.0656    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16235e-12
Minuit parameter uncertainties:
  1  14.9884
  2  0.544103
  3  0.266829
  4  0.159941
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/842272': 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) = 6149.59575907
delta logL = 0.235803981182

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.821e+01  1.499e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  1.839e+00  5.441e-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:  6.247e-01  1.599e-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:  1.279e+00  2.668e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.29
Ra Dec: 351.190 8.028
Photon Index (Free Index): 1.84 +/- 0.54
Photon Flux (Free Index): 3.30e-08 +/- 3.41e-08
Energy Flux (Free Index): 3.52e-05 +/- 4.32e-05

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/842272/cmap_HighResolution_498268801_498528001_4FGL_J2324.7+0801_daily_bin999.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', comment='SUCCESS', photon_flux='4.72e-08', energy_flux2='3.52e-05', photon_flux_error='3.80e-08', dlogl='2.36e-01', energy_flux='2.02e-05', photon_flux2='3.30e-08', job_status='DONE', time_completed='2021-09-29 16:32:44.082560', photon_index_error2='0.54', photon_index2='1.84', ts='2.83', fit_tolerance='1e-08', GAL='0.63', photon_index_error='0.00', photon_flux_upper_limit='1.36e-07', energy_flux_error2='4.32e-05', EG='1.26', time_epoch_completed='1632958364.08', return_code='0', job_id='842272', GAL2='0.62', EG2='1.28', return_code2='0', energy_flux_error='1.62e-05', photon_flux_error2='3.41e-08', ts2='3.29', photon_index='2.23' WHERE bin_id='999' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:32:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 842272: <4FGL_J2324.7+0801_daily_bin999> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin999> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 16:20:37 2021
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:20:38 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:38 2021
Terminated at Wed Sep 29 16:32:44 2021
Results reported at Wed Sep 29 16:32:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin999 351.19 8.0282 498268801 498528001 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 :                                   681.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   726 sec.
    Turnaround time :                            727 sec.

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

