/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 118 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 = 7427
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2324.7+0801_daily_bin368
RA = 351.19, Dec = 8.0282
tmin = 334713601, tmax = 334972801
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='838164', job_status='RUN', time_executed='2021-09-29 16:08:08.816795', time_epoch_executed='1632956888.82' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='368'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/838164

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/838164/ft1_4FGL_J2324.7+0801_daily_bin368.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/838164/ft2_4FGL_J2324.7+0801_daily_bin368.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/838164/ft1_4FGL_J2324.7+0801_daily_bin368.fits outfile=/scratch/kocevski/838164/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin368.fits ra=351.19 dec=8.0282 rad=12.0 tmin=334713601.0 tmax=334972801.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.25
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/838164/ft1_filtered_4FGL_J2324.7+0801_daily_bin368.fits" evtable="EVENTS" scfile=/scratch/kocevski/838164/ft2_4FGL_J2324.7+0801_daily_bin368.fits sctable="SC_DATA" outfile=/scratch/kocevski/838164/ltcube_334713601_334972801_4FGL_J2324.7+0801_daily_bin368.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/838164/ft2_4FGL_J2324.7+0801_daily_bin368.fits
.....................!
real 14.49
user 11.35
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/838164/ft1_filtered_4FGL_J2324.7+0801_daily_bin368.fits evtable="EVENTS" scfile=/scratch/kocevski/838164/ft2_4FGL_J2324.7+0801_daily_bin368.fits sctable="SC_DATA" expcube=/scratch/kocevski/838164/ltcube_334713601_334972801_4FGL_J2324.7+0801_daily_bin368.fits outfile=/scratch/kocevski/838164/expmap_334713601_334972801_4FGL_J2324.7+0801_daily_bin368.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/838164/ltcube_334713601_334972801_4FGL_J2324.7+0801_daily_bin368.fits
.....................!
real 191.27
user 185.25
sys 5.67

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/838164/ft1_filtered_4FGL_J2324.7+0801_daily_bin368.fits scfile=/scratch/kocevski/838164/ft2_4FGL_J2324.7+0801_daily_bin368.fits outfile=/scratch/kocevski/838164/cmap_334713601_334972801_4FGL_J2324.7+0801_daily_bin368.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.36
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .15989       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.0481       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.6156       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .45498E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.4636       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.0003       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.390       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .18238E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .89421E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    55.018       1.0000         .10000E-03   10000.    
    22 'Prefactor '    35.049       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.2253       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2551       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .69264       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=   5397.306     FROM MIGRAD    STATUS=CONVERGED   1065 CALLS     3426 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.4138        .15072E-02** at limit **
   2  Prefactor     .15990        .11218        .20467E-03    .21363E-03
   3  norm          .10000E-03    4.8502        .15787E-02** at limit **
   4  Prefactor     3.0477        95.025        .23239E-03    .16633E-05
   5  Prefactor     9.6151        6.4818        .12923E-03   -.37827E-05
   6  Prefactor     .10001E-03    48.031        .39890E-02** at limit **
   7  Prefactor     4.4646        13.893        .95294E-03    .14161E-04
   8  Prefactor     .10000E-03    1.9877        .10094E-02** at limit **
   9  norm          .99969        1.0340        .76934E-03    .23045E-02
  10  Prefactor     11.393        10.459        .11871E-03   -.62251E-04
  11  Prefactor     .10004E-03    76.247        .44870E-02** at limit **
  12  Prefactor     .10000E-03    12.961        .18142E-02** at limit **
  13  norm          .10000E-03    4.3352        .14881E-02** at limit **
  14  Prefactor     .10000E-03    9.2031        .49684E-01** at limit **
  15  Prefactor     .10000E-03    261.17        .18142E-02** at limit **
  16  Prefactor     .10000E-03    16.957        .18142E-02** at limit **
  17  Prefactor     .10000E-03    8.9806        .18142E-02** at limit **
  18  norm          .10000E-03    24.214        .18142E-02** at limit **
  19  norm          .10000E-03    19.268        .18142E-02** at limit **
  20  Prefactor     .10000E-03    5.3922        .32599E-03** at limit **
  21  Prefactor     55.023        42.046        .54078E-04   -.11983E-04
  22  Prefactor     35.051        26.725        .67691E-04   -.18810E-04
  23  Prefactor     1.2255        5.4277        .33554E-03   -.14196E-04
  24  Normalizat    1.2551        .24693        .25360E-03   -.14749E-04
  25  Prefactor     .69261        .14646        .20730E-03   -.16973E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.159896
  norm       = 0.0001
  Prefactor  = 3.0477
  Prefactor  = 9.61506
  Prefactor  = 0.000100014
  Prefactor  = 4.46463
  Prefactor  = 0.0001
  norm       = 0.999685
  Prefactor  = 11.3933
  Prefactor  = 0.000100038
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 55.0233
  Prefactor  = 35.0508
  Prefactor  = 1.22545
  Normalizat = 1.25511
  Prefactor  = 0.692612
 **********
 **   18 **HESSE 
 **********

 FCN=   5397.306     FROM HESSE     STATUS=OK           417 CALLS     3843 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.4138        .30145E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .15990        .11218        .81867E-05   -1.5628    
   3  norm          .10000E-03    4.8504        .31573E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.0477        94.941        .92955E-05   -1.5359    
   5  Prefactor     9.6151        6.4815        .51693E-05   -1.5088    
   6  Prefactor     .10001E-03    49.111        .79780E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.4646        13.890        .38118E-04   -1.5285    
   8  Prefactor     .10000E-03    1.9878        .20187E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .99969        1.0338        .15387E-03   -1.5508    
  10  Prefactor     11.393        10.458        .47483E-05   -1.5033    
  11  Prefactor     .10004E-03    78.388        .17948E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.961        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.3356        .29763E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.2611        .53124E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    261.17        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.968        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.9809        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    24.229        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    19.271        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.3925        .65199E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     55.023        42.048        .21631E-05   -1.4223    
  22  Prefactor     35.051        26.723        .27076E-05   -1.4523    
  23  Prefactor     1.2255        5.4270        .13422E-04   -1.5487    
  24  Normalizat    1.2551        .24700        .10144E-04   -.84917    
  25  Prefactor     .69261        .14659        .82921E-05   -1.0382    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.67787e-10
Minuit parameter uncertainties:
  1  6.50086e-07
  2  0.112179
  3  1.4403e-06
  4  34.0795
  5  6.48197
  6  0.00167965
  7  13.8997
  8  6.01894e-07
  9  1.03379
  10  10.4598
  11  0.00346048
  12  3.87005e-06
  13  9.67944e-07
  14  0.000290591
  15  0.000511036
  16  5.20165e-06
  17  2.01357e-06
  18  5.76369e-05
  19  1.16292e-05
  20  1.24587e-06
  21  42.0703
  22  26.7325
  23  5.15829
  24  0.247234
  25  0.146673
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.139e+01  1.046e+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.926e-01  1.467e-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.255e+00  2.472e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.83
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 4.10e-08 +/- 3.76e-08
Energy Flux (Fixed Index): 1.75e-05 +/- 1.61e-05

TS (Fixed Index): 1.83
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 1.26e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/838164/likelihoodResults_334713601_334972801_4FGL_J2324.7+0801_daily_bin368.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) = 5397.236468
delta logL = 0.0695754583494

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5397.23313149
delta logL = 0.0729119697799

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.9434       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5550       1.0000          .0000       10.000    
     3 'Normalizat'    1.2371       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69927       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=   5397.233     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      302 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9402        16.393        .14226E-03   -.41275E-03
   2  Index         2.5555        1.1821        .62298E-02   -.48531E-04
   3  Normalizat    1.2368        .23846        .25513E-03    .17847E-03
   4  Prefactor     .69954        .14672        .20638E-03   -.90729E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.94024
  Index      = 2.5555
  Normalizat = 1.23677
  Prefactor  = 0.699541
 **********
 **   18 **HESSE 
 **********

 FCN=   5397.233     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9402        12.560        .56906E-05   -1.5144    
   2  Index         2.5555        .90910        .24919E-03   -.51083    
   3  Normalizat    1.2368        .23564        .51026E-04   -.85474    
   4  Prefactor     .69954        .14562        .82550E-05   -1.0354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.30345e-10
Minuit parameter uncertainties:
  1  12.5647
  2  0.915816
  3  0.235841
  4  0.145694
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/838164': 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) = 5397.2331296
delta logL = 0.0729138615534

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  7.940e+00  1.256e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.556e+00  9.158e-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.995e-01  1.457e-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.237e+00  2.358e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.98
Ra Dec: 351.190 8.028
Photon Index (Free Index): 2.56 +/- 0.92
Photon Flux (Free Index): 5.53e-08 +/- 5.65e-08
Energy Flux (Free Index): 1.51e-05 +/- 1.38e-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/838164/cmap_HighResolution_334713601_334972801_4FGL_J2324.7+0801_daily_bin368.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.59e-03', comment='SUCCESS', photon_flux='4.10e-08', energy_flux2='1.51e-05', photon_flux_error='3.76e-08', dlogl='7.29e-02', energy_flux='1.75e-05', photon_flux2='5.53e-08', job_status='DONE', time_completed='2021-09-29 16:19:14.703060', photon_index_error2='0.92', photon_index2='2.56', ts='1.83', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='1.38e-05', EG='1.26', time_epoch_completed='1632957554.7', return_code='0', job_id='838164', GAL2='0.70', EG2='1.24', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='5.65e-08', ts2='1.98', photon_index='2.23' WHERE bin_id='368' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:19:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 838164: <4FGL_J2324.7+0801_daily_bin368> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin368> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 16:06:00 2021
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:06:02 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:06:02 2021
Terminated at Wed Sep 29 16:19:15 2021
Results reported at Wed Sep 29 16:19:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin368 351.19 8.0282 334713601 334972801 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 :                                   660.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            795 sec.

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

