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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin786
RA = 351.19, Dec = 8.0282
tmin = 443059201, tmax = 443318401
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='844201', job_status='RUN', time_executed='2021-09-29 16:28:53.092113', time_epoch_executed='1632958133.09' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='786'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/844201

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/844201/ft1_4FGL_J2324.7+0801_daily_bin786.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/844201/ft2_4FGL_J2324.7+0801_daily_bin786.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/844201/ft1_4FGL_J2324.7+0801_daily_bin786.fits outfile=/scratch/kocevski/844201/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin786.fits ra=351.19 dec=8.0282 rad=12.0 tmin=443059201.0 tmax=443318401.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.82
user 3.59
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/844201/ft1_filtered_4FGL_J2324.7+0801_daily_bin786.fits" evtable="EVENTS" scfile=/scratch/kocevski/844201/ft2_4FGL_J2324.7+0801_daily_bin786.fits sctable="SC_DATA" outfile=/scratch/kocevski/844201/ltcube_443059201_443318401_4FGL_J2324.7+0801_daily_bin786.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/844201/ft2_4FGL_J2324.7+0801_daily_bin786.fits
.....................!
real 12.28
user 11.86
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/844201/ft1_filtered_4FGL_J2324.7+0801_daily_bin786.fits evtable="EVENTS" scfile=/scratch/kocevski/844201/ft2_4FGL_J2324.7+0801_daily_bin786.fits sctable="SC_DATA" expcube=/scratch/kocevski/844201/ltcube_443059201_443318401_4FGL_J2324.7+0801_daily_bin786.fits outfile=/scratch/kocevski/844201/expmap_443059201_443318401_4FGL_J2324.7+0801_daily_bin786.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/844201/ltcube_443059201_443318401_4FGL_J2324.7+0801_daily_bin786.fits
.....................!
real 190.57
user 184.96
sys 4.94

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/844201/ft1_filtered_4FGL_J2324.7+0801_daily_bin786.fits scfile=/scratch/kocevski/844201/ft2_4FGL_J2324.7+0801_daily_bin786.fits outfile=/scratch/kocevski/844201/cmap_443059201_443318401_4FGL_J2324.7+0801_daily_bin786.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/844201/ft1_filtered_4FGL_J2324.7+0801_daily_bin786.fits scfile=/scratch/kocevski/844201/ft2_4FGL_J2324.7+0801_daily_bin786.fits outfile=/scratch/kocevski/844201/cmap_HighResolution_443059201_443318401_4FGL_J2324.7+0801_daily_bin786.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.55
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/844201/ft1_filtered_4FGL_J2324.7+0801_daily_bin786.fits evtable="EVENTS" scfile=/scratch/kocevski/844201/ft2_4FGL_J2324.7+0801_daily_bin786.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/844201/Model_4FGL_J2324.7+0801_daily_bin786.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/844201/ft1_filtered_4FGL_J2324.7+0801_daily_bin786.fits.....................!
real 94.16
user 92.79
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    2.0179       1.0000         .10000E-03   10000.    
     3 'norm      '    11.751       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.7616       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.080       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.1599       1.0000         .10000E-03   10000.    
     9 'norm      '    .10079E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    40.809       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.411       1.0000         .10000E-03   10000.    
    13 'norm      '    .10157E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.0034       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.2290       1.0000         .10000E-03   10000.    
    17 'Prefactor '    32.721       1.0000         .10000E-03   10000.    
    18 'norm      '    10.436       1.0000         .10000E-03   10000.    
    19 'norm      '    .14598E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.7280       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .97377       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0208       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=   8475.173     FROM MIGRAD    STATUS=CONVERGED    575 CALLS     2926 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.9656        .56471E-06** at limit **
   2  Prefactor     2.0178        .28756       -.11378E-07   -.78956E-04
   3  norm          11.750        10.811        .12718E-06   -.63165E-05
   4  Prefactor     .10000E-03    35.529       -.12917E-06** at limit **
   5  Prefactor     5.7612        8.2316        .31364E-06   -.46100E-03
   6  Prefactor     .10000E-03    8.1922       -.70479E-07** at limit **
   7  Prefactor     16.079        15.005        .29197E-06   -.48056E-06
   8  Prefactor     1.1615        13.596        .29683E-06   -.63595E-04
   9  norm          .10000E-03    .39546        .14169E-06** at limit **
  10  Prefactor     .10000E-03    4.6104        .32938E-07** at limit **
  11  Prefactor     40.801        25.888       -.15565E-05   -.19958E-04
  12  Prefactor     13.399        34.401       -.12075E-04   -.24537E-04
  13  norm          .10000E-03    10.634       -.38680E-06** at limit **
  14  Prefactor     5.0080        6.2315       -.24700E-06   -.77838E-03
  15  Prefactor     .10000E-03    86.940        .10780E-05** at limit **
  16  Prefactor     5.2268        8.2837       -.12125E-05   -.83256E-04
  17  Prefactor     32.732        26.165        .25267E-05    .27518E-04
  18  norm          10.432        18.857        .73118E-06    .13757E-05
  19  norm          .10000E-03    27.587        .30691E-06** at limit **
  20  Prefactor     .10000E-03    1.1233        .16097E-06** at limit **
  21  Prefactor     .10000E-03    10.016       -.56290E-06** at limit **
  22  Prefactor     1.7192        20.397        .13871E-05   -.29386E-03
  23  Prefactor     .10000E-03    3.7381        .83785E-07** at limit **
  24  Normalizat    .97408        .19901        .58324E-06   -.64392E-04
  25  Prefactor     1.0207        .12438       -.22713E-06   -.19755E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.01784
  norm       = 11.7501
  Prefactor  = 0.0001
  Prefactor  = 5.76119
  Prefactor  = 0.0001
  Prefactor  = 16.0791
  Prefactor  = 1.16147
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.8014
  Prefactor  = 13.3988
  norm       = 0.0001
  Prefactor  = 5.00798
  Prefactor  = 0.0001
  Prefactor  = 5.22682
  Prefactor  = 32.7315
  norm       = 10.4317
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.71916
  Prefactor  = 0.0001
  Normalizat = 0.974077
  Prefactor  = 1.02068
 **********
 **   18 **HESSE 
 **********

 FCN=   8475.173     FROM HESSE     STATUS=OK           431 CALLS     3357 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.9736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.0178        .28783        .17636E-04   -1.5424    
   3  norm          11.750        10.829        .11686E-03   -1.5022    
   4  Prefactor     .10000E-03    35.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.7612        8.6880        .83665E-03   -1.5228    
   6  Prefactor     .10000E-03    8.2495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.079        15.036        .99879E-04   -1.4906    
   8  Prefactor     1.1615        13.674        .42795E-03   -1.5492    
   9  norm          .10000E-03    .64291        .11161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.6257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     40.801        25.517        .62749E-04   -1.4430    
  12  Prefactor     13.399        34.367        .10938E-03   -1.4976    
  13  norm          .10000E-03    10.854        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.0080        7.0610        .89890E-03   -1.5260    
  15  Prefactor     .10000E-03    86.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.2268        8.2528        .17578E-03   -1.5251    
  17  Prefactor     32.732        26.336        .70050E-04   -1.4563    
  18  norm          10.432        18.855        .12403E-03   -1.5062    
  19  norm          .10000E-03    28.089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.1295        .95258E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    10.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.7192        48.736        .15970E-02   -1.5446    
  23  Prefactor     .10000E-03    3.7530        .17383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .97408        .23641        .33690E-03   -.93904    
  25  Prefactor     1.0207        .14549        .21031E-03   -.92043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63869e-09
Minuit parameter uncertainties:
  1  2.64264e-06
  2  0.287833
  3  10.8309
  4  1.41861e-05
  5  8.68992
  6  3.68885e-06
  7  15.04
  8  7.97235
  9  5.3386e-06
  10  1.28e-05
  11  25.5239
  12  34.4174
  13  5.35433e-05
  14  7.06222
  15  6.03409e-05
  16  8.25457
  17  26.3458
  18  18.8654
  19  0.000205542
  20  4.20651e-06
  21  2.60614e-06
  22  18.3229
  23  3.57004e-08
  24  0.236663
  25  0.145544
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.000e-04  1.280e-05  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.021e+00  1.455e-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:  9.741e-01  2.367e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/844201/likelihoodResults_443059201_443318401_4FGL_J2324.7+0801_daily_bin786.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): 102
logL (Free Index) = 8475.173707
delta logL = -0.00103006805693

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8475.17267874
delta logL = -1.8107057258e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2249       1.0000          .0000       10.000    
     3 'Normalizat'    .97405       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0206       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=   8475.173     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      203 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.5563        .90712E-02** at limit **
   2  Index         2.2221        5.0373        .50000        .51910E-05
   3  Normalizat    .97408        .49162E-02    .76128E-01   -.21573E-04
   4  Prefactor     1.0207        .31497E-02    .42085E-01   -.85404E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.22206
  Normalizat = 0.974078
  Prefactor  = 1.02068
 **********
 **   18 **HESSE 
 **********

 FCN=   8475.173     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      236 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    34.747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2221        5.7919        .50000       -.58907    
   3  Normalizat    .97408        .13616E-01    .33690E-03   -.93904    
   4  Prefactor     1.0207        .87376E-02    .21031E-03   -.92043    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.11165e-08
Minuit parameter uncertainties:
  1  0.000170502
  2  166.335
  3  0.0136161
  4  0.0087376
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/844201': 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): 102
logL (Free Index) = 8475.17267693
delta logL = 7.36145011615e-09

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.000e-04  1.705e-04  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.222e+00  1.663e+02  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.021e+00  8.738e-03  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:  9.741e-01  1.362e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.190 8.028

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/844201/cmap_HighResolution_443059201_443318401_4FGL_J2324.7+0801_daily_bin786.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.08e-03', job_status='DONE', photon_flux_upper_limit='6.66e-08', time_completed='2021-09-29 16:42:25.599914', job_id='844201', GAL2='1.02', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1632958945.6', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='7.36e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='786' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:42:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 841962: <4FGL_J2324.7+0801_daily_bin786> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin786 351.19 8.0282 443059201 443318401 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 :                                   812.46 sec.
    Max Memory :                                 617 MB
    Average Memory :                             279.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            920 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 844201: <4FGL_J2324.7+0801_daily_bin786> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin786 351.19 8.0282 443059201 443318401 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 :                                   811.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   963 sec.
    Turnaround time :                            964 sec.

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

