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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin649
RA = 351.19, Dec = 8.0282
tmin = 407548801, tmax = 407808001
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='840681', job_status='RUN', time_executed='2021-09-29 16:17:50.705611', time_epoch_executed='1632957470.71' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='649'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/840681

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/840681/ft1_4FGL_J2324.7+0801_daily_bin649.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/840681/ft2_4FGL_J2324.7+0801_daily_bin649.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/840681/ft1_4FGL_J2324.7+0801_daily_bin649.fits outfile=/scratch/kocevski/840681/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin649.fits ra=351.19 dec=8.0282 rad=12.0 tmin=407548801.0 tmax=407808001.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.51
user 3.28
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/840681/ft1_filtered_4FGL_J2324.7+0801_daily_bin649.fits" evtable="EVENTS" scfile=/scratch/kocevski/840681/ft2_4FGL_J2324.7+0801_daily_bin649.fits sctable="SC_DATA" outfile=/scratch/kocevski/840681/ltcube_407548801_407808001_4FGL_J2324.7+0801_daily_bin649.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/840681/ft2_4FGL_J2324.7+0801_daily_bin649.fits
.....................!
real 11.91
user 11.56
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/840681/ft1_filtered_4FGL_J2324.7+0801_daily_bin649.fits evtable="EVENTS" scfile=/scratch/kocevski/840681/ft2_4FGL_J2324.7+0801_daily_bin649.fits sctable="SC_DATA" expcube=/scratch/kocevski/840681/ltcube_407548801_407808001_4FGL_J2324.7+0801_daily_bin649.fits outfile=/scratch/kocevski/840681/expmap_407548801_407808001_4FGL_J2324.7+0801_daily_bin649.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/840681/ltcube_407548801_407808001_4FGL_J2324.7+0801_daily_bin649.fits
.....................!
real 189.52
user 184.93
sys 4.27

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/840681/ft1_filtered_4FGL_J2324.7+0801_daily_bin649.fits scfile=/scratch/kocevski/840681/ft2_4FGL_J2324.7+0801_daily_bin649.fits outfile=/scratch/kocevski/840681/cmap_407548801_407808001_4FGL_J2324.7+0801_daily_bin649.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.65
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/840681/ft1_filtered_4FGL_J2324.7+0801_daily_bin649.fits scfile=/scratch/kocevski/840681/ft2_4FGL_J2324.7+0801_daily_bin649.fits outfile=/scratch/kocevski/840681/cmap_HighResolution_407548801_407808001_4FGL_J2324.7+0801_daily_bin649.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/840681/ft1_filtered_4FGL_J2324.7+0801_daily_bin649.fits evtable="EVENTS" scfile=/scratch/kocevski/840681/ft2_4FGL_J2324.7+0801_daily_bin649.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/840681/Model_4FGL_J2324.7+0801_daily_bin649.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/840681/ft1_filtered_4FGL_J2324.7+0801_daily_bin649.fits.....................!
real 73.83
user 72.53
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.883       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.7555       1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .22365E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.299       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.4153       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.6739       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.4766       1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.423       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.5200       1.0000         .10000E-03   10000.    
    13 'norm      '    2.2666       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.569       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .60907       1.0000         .10000E-03   10000.    
    17 'Prefactor '    28.827       1.0000         .10000E-03   10000.    
    18 'norm      '    1.7811       1.0000         .10000E-03   10000.    
    19 'norm      '    .13165E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.7616       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.0471       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.7865       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .85697       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0430       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=   6827.128     FROM MIGRAD    STATUS=CONVERGED    594 CALLS     2926 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.887        23.745        .11238E-06    .61342E-05
   2  Prefactor     1.7555        .26859        .36351E-08    .14058E-03
   3  norm          .10000E-03    7.5200       -.65787E-07** at limit **
   4  Prefactor     .10000E-03    108.04       -.53404E-05** at limit **
   5  Prefactor     .10000E-03    4.2728        .57027E-07** at limit **
   6  Prefactor     17.302        16.497       -.17166E-06    .39392E-04
   7  Prefactor     7.4149        17.197        .44192E-07    .50463E-04
   8  Prefactor     .10000E-03    5.3492        .36835E-07** at limit **
   9  norm          1.6735        1.2575        .11820E-07    .10240E-02
  10  Prefactor     1.4817        9.1237        .36067E-06    .86896E-04
  11  Prefactor     26.429        20.284        .10407E-06   -.63366E-06
  12  Prefactor     9.4093        51.398        .11560E-04    .35299E-04
  13  norm          2.2684        8.3160        .10342E-04    .66755E-03
  14  Prefactor     12.574        7.5542       -.19884E-05    .69659E-05
  15  Prefactor     .10000E-03    70.262        .30833E-05** at limit **
  16  Prefactor     .66434        14.336       -.78580E-05    .93271E-03
  17  Prefactor     28.847        21.992       -.63813E-06    .14063E-05
  18  norm          1.7824        6.6686        .60840E-06    .38812E-04
  19  norm          .10000E-03    60.149        .13431E-05** at limit **
  20  Prefactor     8.7501        6.8401        .18958E-06    .91418E-03
  21  Prefactor     9.0451        20.210       -.35566E-09    .39845E-04
  22  Prefactor     3.7875        11.603        .19617E-06    .18631E-04
  23  Prefactor     .10000E-03    2.5594        .18312E-07** at limit **
  24  Normalizat    .85688        .22190       -.25867E-06    .30527E-03
  25  Prefactor     1.0430        .13482       -.26626E-06    .46856E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.8874
  Prefactor  = 1.75549
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.3018
  Prefactor  = 7.41491
  Prefactor  = 0.0001
  norm       = 1.67351
  Prefactor  = 1.48169
  Prefactor  = 26.4288
  Prefactor  = 9.40934
  norm       = 2.26838
  Prefactor  = 12.5736
  Prefactor  = 0.0001
  Prefactor  = 0.664344
  Prefactor  = 28.8465
  norm       = 1.78244
  norm       = 0.000100003
  Prefactor  = 8.75012
  Prefactor  = 9.04508
  Prefactor  = 3.78749
  Prefactor  = 0.0001
  Normalizat = 0.856879
  Prefactor  = 1.043
 **********
 **   18 **HESSE 
 **********

 FCN=   6827.128     FROM HESSE     STATUS=OK           437 CALLS     3363 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.887        23.801        .77265E-04   -1.4670    
   2  Prefactor     1.7555        .26936        .15824E-04   -1.5443    
   3  norm          .10000E-03    7.5521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    109.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.3198        .16674E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.302        16.495        .96297E-04   -1.4876    
   7  Prefactor     7.4149        17.192        .14728E-03   -1.5163    
   8  Prefactor     .10000E-03    5.4024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.6735        1.2432        .75862E-04   -1.5449    
  10  Prefactor     1.4817        9.0383        .35339E-03   -1.5465    
  11  Prefactor     26.429        20.290        .77934E-04   -1.4679    
  12  Prefactor     9.4093        51.458        .12988E-03   -1.5094    
  13  norm          2.2684        8.5403        .13641E-02   -1.5407    
  14  Prefactor     12.574        7.6143        .11299E-03   -1.4999    
  15  Prefactor     .10000E-03    70.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .66434        78.044        .42438E-02   -1.5545    
  17  Prefactor     28.847        21.982        .74619E-04   -1.4633    
  18  norm          1.7824        6.6331        .31358E-03   -1.5441    
  19  norm          .10000E-03    61.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.7501        7.2642        .13542E-03   -1.5116    
  21  Prefactor     9.0451        20.198        .13325E-03   -1.5106    
  22  Prefactor     3.7875        11.585        .20745E-03   -1.5319    
  23  Prefactor     .10000E-03    2.5620        .12910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .85688        .25257        .35301E-03   -.97992    
  25  Prefactor     1.0430        .15434        .20539E-03   -.91310    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65474e-08
Minuit parameter uncertainties:
  1  23.8092
  2  0.269358
  3  1.08185e-06
  4  0.000441812
  5  6.1727e-06
  6  16.4995
  7  17.2035
  8  3.48922e-06
  9  1.24317
  10  7.32043
  11  20.295
  12  44.0669
  13  8.54492
  14  7.6149
  15  1.74313e-05
  16  14.4193
  17  21.9878
  18  6.63582
  19  0.000867806
  20  7.26493
  21  20.213
  22  11.5917
  23  1.16008e-06
  24  0.252916
  25  0.154409
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.482e+00  7.320e+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:  1.043e+00  1.544e-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.569e-01  2.529e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/840681/likelihoodResults_407548801_407808001_4FGL_J2324.7+0801_daily_bin649.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) = 6827.12376944
delta logL = 0.00385518768144

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6827.12150316
delta logL = 0.00612147421725

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1130       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0263       1.0000          .0000       10.000    
     3 'Normalizat'    .85776       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0423       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=   6827.122     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      259 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1111        12.587        .28379E-03   -.33759E-03
   2  Index         2.0271        1.6839        .65893E-02   -.91860E-04
   3  Normalizat    .85780        .23740        .35284E-03   -.48401E-03
   4  Prefactor     1.0423        .15263        .20545E-03   -.10434E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.11111
  Index      = 2.0271
  Normalizat = 0.857797
  Prefactor  = 1.04227
 **********
 **   18 **HESSE 
 **********

 FCN=   6827.122     FROM HESSE     STATUS=OK            23 CALLS      282 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1111        11.888        .11352E-04   -1.5417    
   2  Index         2.0271        1.6397        .26357E-03   -.63674    
   3  Normalizat    .85780        .23753        .70567E-04   -.97959    
   4  Prefactor     1.0423        .15271        .41089E-04   -.91334    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92002e-09
Minuit parameter uncertainties:
  1  10.0223
  2  1.68898
  3  0.237822
  4  0.152769
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/840681': 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) = 6827.12150292
delta logL = 0.00612171420744

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  2.111e+00  1.002e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.027e+00  1.689e+00  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:  1.042e+00  1.528e-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.578e-01  2.378e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.57e-03', job_status='DONE', photon_flux_upper_limit='8.61e-08', time_completed='2021-09-29 16:29:39.456622', job_id='840681', GAL2='1.04', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1632958179.46', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='6.12e-03', ts2='0.06', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='649' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:29:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 840681: <4FGL_J2324.7+0801_daily_bin649> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin649 351.19 8.0282 407548801 407808001 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 :                                   709.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             254.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   852 sec.
    Turnaround time :                            855 sec.

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

