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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin829
RA = 351.19, Dec = 8.0282
tmin = 454204801, tmax = 454464001
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='844244', job_status='RUN', time_executed='2021-09-29 16:30:11.299271', time_epoch_executed='1632958211.3' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='829'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/844244

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/844244/ft1_4FGL_J2324.7+0801_daily_bin829.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/844244/ft2_4FGL_J2324.7+0801_daily_bin829.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/844244/ft1_4FGL_J2324.7+0801_daily_bin829.fits outfile=/scratch/kocevski/844244/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin829.fits ra=351.19 dec=8.0282 rad=12.0 tmin=454204801.0 tmax=454464001.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.53
user 3.33
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/844244/ft1_filtered_4FGL_J2324.7+0801_daily_bin829.fits" evtable="EVENTS" scfile=/scratch/kocevski/844244/ft2_4FGL_J2324.7+0801_daily_bin829.fits sctable="SC_DATA" outfile=/scratch/kocevski/844244/ltcube_454204801_454464001_4FGL_J2324.7+0801_daily_bin829.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/844244/ft2_4FGL_J2324.7+0801_daily_bin829.fits
.....................!
real 11.88
user 11.55
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/844244/ft1_filtered_4FGL_J2324.7+0801_daily_bin829.fits evtable="EVENTS" scfile=/scratch/kocevski/844244/ft2_4FGL_J2324.7+0801_daily_bin829.fits sctable="SC_DATA" expcube=/scratch/kocevski/844244/ltcube_454204801_454464001_4FGL_J2324.7+0801_daily_bin829.fits outfile=/scratch/kocevski/844244/expmap_454204801_454464001_4FGL_J2324.7+0801_daily_bin829.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/844244/ltcube_454204801_454464001_4FGL_J2324.7+0801_daily_bin829.fits
.....................!
real 190.34
user 185.23
sys 4.77

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/844244/ft1_filtered_4FGL_J2324.7+0801_daily_bin829.fits scfile=/scratch/kocevski/844244/ft2_4FGL_J2324.7+0801_daily_bin829.fits outfile=/scratch/kocevski/844244/cmap_454204801_454464001_4FGL_J2324.7+0801_daily_bin829.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.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/844244/ft1_filtered_4FGL_J2324.7+0801_daily_bin829.fits evtable="EVENTS" scfile=/scratch/kocevski/844244/ft2_4FGL_J2324.7+0801_daily_bin829.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/844244/Model_4FGL_J2324.7+0801_daily_bin829.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/844244/ft1_filtered_4FGL_J2324.7+0801_daily_bin829.fits.....................!
real 80.47
user 79.06
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72395       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.7301       1.0000         .10000E-03   10000.    
     3 'norm      '    5.5129       1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.801       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.0397       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.733       1.0000         .10000E-03   10000.    
     7 'Prefactor '    33.048       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.1558       1.0000         .10000E-03   10000.    
     9 'norm      '    .61568       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.073       1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.337       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.561       1.0000         .10000E-03   10000.    
    13 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.7932       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    65.367       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    15.843       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .43665       1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.948       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3364       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .69423       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=   7235.999     FROM MIGRAD    STATUS=CONVERGED    567 CALLS     2953 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .73797        66.219       -.17522E-04    .11601E-03
   2  Prefactor     1.7301        .24591        .38248E-07    .16369E-02
   3  norm          5.5131        9.6251       -.29659E-06    .13450E-04
   4  Prefactor     17.802        22.436       -.24063E-06    .82961E-05
   5  Prefactor     5.0402        6.5105       -.38882E-06    .59325E-04
   6  Prefactor     13.732        13.622        .47464E-07    .40957E-04
   7  Prefactor     33.047        21.561       -.66943E-06    .21288E-04
   8  Prefactor     3.1572        7.1832       -.19460E-05    .75692E-05
   9  norm          .61551        1.0302       -.76020E-06   -.47448E-03
  10  Prefactor     13.071        11.232       -.22453E-06    .37093E-04
  11  Prefactor     18.337        18.506        .94080E-06    .46100E-04
  12  Prefactor     12.556        29.771        .64261E-06   -.15802E-05
  13  norm          .10000E-03    14.675       -.38086E-06** at limit **
  14  Prefactor     4.7872        7.9314       -.12278E-05    .41394E-04
  15  Prefactor     .10000E-03    105.61        .56822E-05** at limit **
  16  Prefactor     .10000E-03    6.0789       -.15973E-05** at limit **
  17  Prefactor     65.360        32.360        .47655E-06    .29207E-04
  18  norm          .10000E-03    2.9054       -.53638E-07** at limit **
  19  norm          15.812        17.497       -.22072E-05   -.69683E-04
  20  Prefactor     .45978        4.7080       -.27521E-05   -.54303E-03
  21  Prefactor     19.925        34.417        .53817E-05   -.94871E-05
  22  Prefactor     .10000E-03    11.731       -.67869E-08** at limit **
  23  Prefactor     .10000E-03    3.1888       -.11003E-06** at limit **
  24  Normalizat    1.3365        .21090        .56556E-06    .13783E-03
  25  Prefactor     .69411        .12432        .15043E-05    .41439E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.737969
  Prefactor  = 1.73012
  norm       = 5.51309
  Prefactor  = 17.8017
  Prefactor  = 5.04018
  Prefactor  = 13.7319
  Prefactor  = 33.0473
  Prefactor  = 3.15721
  norm       = 0.615511
  Prefactor  = 13.0708
  Prefactor  = 18.3373
  Prefactor  = 12.5562
  norm       = 0.0001
  Prefactor  = 4.78721
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 65.3604
  norm       = 0.0001
  norm       = 15.8124
  Prefactor  = 0.459785
  Prefactor  = 19.9252
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.33649
  Prefactor  = 0.694108
 **********
 **   18 **HESSE 
 **********

 FCN=   7235.999     FROM HESSE     STATUS=OK           443 CALLS     3396 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .73797        79.918        .54988E-02   -1.5536    
   2  Prefactor     1.7301        .24534        .14968E-04   -1.5445    
   3  norm          5.5131        9.6182        .17112E-03   -1.5238    
   4  Prefactor     17.802        22.441        .94929E-04   -1.4864    
   5  Prefactor     5.0402        6.5050        .17912E-03   -1.5259    
   6  Prefactor     13.732        13.628        .10809E-03   -1.4967    
   7  Prefactor     33.047        21.602        .34852E-03   -1.4558    
   8  Prefactor     3.1572        7.1898        .22817E-03   -1.5353    
   9  norm          .61551        1.0188        .10733E-03   -1.5551    
  10  Prefactor     13.071        11.208        .11078E-03   -1.4985    
  11  Prefactor     18.337        18.410        .93530E-04   -1.4851    
  12  Prefactor     12.556        29.761        .11302E-03   -1.4999    
  13  norm          .10000E-03    14.957        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.7872        7.9190        .18376E-03   -1.5270    
  15  Prefactor     .10000E-03    105.89        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.0770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     65.360        32.331        .49638E-04   -1.4089    
  18  norm          .10000E-03    2.9059        .14161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          15.812        18.447        .10062E-03   -1.4912    
  20  Prefactor     .45978        12.618        .25041E-02   -1.5572    
  21  Prefactor     19.925        34.529        .89676E-04   -1.4815    
  22  Prefactor     .10000E-03    11.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    3.2022        .14836E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.3365        .24724        .28386E-03   -.82484    
  25  Prefactor     .69411        .14369        .23562E-03   -1.0376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92203e-09
Minuit parameter uncertainties:
  1  15.3793
  2  0.245342
  3  9.62088
  4  22.4511
  5  6.50595
  6  13.6311
  7  21.6071
  8  7.19173
  9  1.01885
  10  11.2101
  11  18.4157
  12  29.7964
  13  0.000109464
  14  7.92075
  15  0.000161813
  16  3.12282e-05
  17  32.3393
  18  3.06786e-07
  19  18.4532
  20  4.81789
  21  34.5635
  22  5.97448e-05
  23  3.41114e-06
  24  0.247457
  25  0.143766
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.307e+01  1.121e+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.941e-01  1.438e-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.336e+00  2.475e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.94
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 4.70e-08 +/- 4.03e-08
Energy Flux (Fixed Index): 2.01e-05 +/- 1.72e-05

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

Saving results to:
/scratch/kocevski/844244/likelihoodResults_454204801_454464001_4FGL_J2324.7+0801_daily_bin829.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) = 7235.96057505
delta logL = 0.0379381067933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7235.95806937
delta logL = 0.0404437932066

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.845       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4166       1.0000          .0000       10.000    
     3 'Normalizat'    1.3262       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69766       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=   7235.958     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      289 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.844        13.704        .12166E-03    .57853E-03
   2  Index         2.4166        .75086        .71392E-02    .14027E-03
   3  Normalizat    1.3262        .23035        .28469E-03   -.30316E-03
   4  Prefactor     .69771        .14156        .23503E-03   -.51656E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8437
  Index      = 2.41656
  Normalizat = 1.32624
  Prefactor  = 0.697706
 **********
 **   18 **HESSE 
 **********

 FCN=   7235.958     FROM HESSE     STATUS=OK            25 CALLS      314 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.844        12.298        .48663E-05   -1.5049    
   2  Index         2.4166        .67374        .28557E-03   -.54298    
   3  Normalizat    1.3262        .22979        .56937E-04   -.82786    
   4  Prefactor     .69771        .14140        .47007E-04   -1.0362    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.37392e-10
Minuit parameter uncertainties:
  1  12.3006
  2  0.676557
  3  0.229972
  4  0.141472
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/844244': 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) = 7235.95806895
delta logL = 0.040444215364

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.084e+01  1.230e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.417e+00  6.766e-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.977e-01  1.415e-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.326e+00  2.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.04
Ra Dec: 351.190 8.028
Photon Index (Free Index): 2.42 +/- 0.68
Photon Flux (Free Index): 5.67e-08 +/- 5.45e-08
Energy Flux (Free Index): 1.82e-05 +/- 1.54e-05

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/844244/cmap_HighResolution_454204801_454464001_4FGL_J2324.7+0801_daily_bin829.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', photon_flux='4.70e-08', energy_flux2='1.82e-05', photon_flux_error='4.03e-08', dlogl='4.04e-02', energy_flux='2.01e-05', photon_flux2='5.67e-08', job_status='DONE', time_completed='2021-09-29 16:42:57.695527', photon_index_error2='0.68', photon_index2='2.42', ts='2.94', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', photon_flux_upper_limit='1.35e-07', energy_flux_error2='1.54e-05', EG='1.34', time_epoch_completed='1632958977.7', return_code='0', job_id='844244', GAL2='0.70', EG2='1.33', return_code2='0', energy_flux_error='1.72e-05', photon_flux_error2='5.45e-08', ts2='3.04', photon_index='2.23' WHERE bin_id='829' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:42:57 PDT 2021




------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 842023: <4FGL_J2324.7+0801_daily_bin829> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin829 351.19 8.0282 454204801 454464001 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 :                                   754.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            901 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 844244: <4FGL_J2324.7+0801_daily_bin829> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin829> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 16:26:26 2021
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:26:28 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:26:28 2021
Terminated at Wed Sep 29 16:42:58 2021
Results reported at Wed Sep 29 16:42:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin829 351.19 8.0282 454204801 454464001 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 :                                   766.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   989 sec.
    Turnaround time :                            992 sec.

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

