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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin855
RA = 351.19, Dec = 8.0282
tmin = 460944001, tmax = 461203201
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='842062', job_status='RUN', time_executed='2021-09-29 16:21:34.830175', time_epoch_executed='1632957694.83' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='855'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/842062

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/842062/ft1_4FGL_J2324.7+0801_daily_bin855.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/842062/ft2_4FGL_J2324.7+0801_daily_bin855.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/842062/ft1_4FGL_J2324.7+0801_daily_bin855.fits outfile=/scratch/kocevski/842062/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin855.fits ra=351.19 dec=8.0282 rad=12.0 tmin=460944001.0 tmax=461203201.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.43
user 3.22
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/842062/ft2_4FGL_J2324.7+0801_daily_bin855.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/842062/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin855.fits evtable="EVENTS" outfile="/scratch/kocevski/842062/ft1_filtered_4FGL_J2324.7+0801_daily_bin855.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/842062/ft1_filtered_4FGL_J2324.7+0801_daily_bin855.fits" evtable="EVENTS" scfile=/scratch/kocevski/842062/ft2_4FGL_J2324.7+0801_daily_bin855.fits sctable="SC_DATA" outfile=/scratch/kocevski/842062/ltcube_460944001_461203201_4FGL_J2324.7+0801_daily_bin855.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/842062/ft2_4FGL_J2324.7+0801_daily_bin855.fits
.....................!
real 11.84
user 11.46
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/842062/ft1_filtered_4FGL_J2324.7+0801_daily_bin855.fits evtable="EVENTS" scfile=/scratch/kocevski/842062/ft2_4FGL_J2324.7+0801_daily_bin855.fits sctable="SC_DATA" expcube=/scratch/kocevski/842062/ltcube_460944001_461203201_4FGL_J2324.7+0801_daily_bin855.fits outfile=/scratch/kocevski/842062/expmap_460944001_461203201_4FGL_J2324.7+0801_daily_bin855.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/842062/ltcube_460944001_461203201_4FGL_J2324.7+0801_daily_bin855.fits
.....................!
real 192.08
user 186.39
sys 5.31

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/842062/ft1_filtered_4FGL_J2324.7+0801_daily_bin855.fits scfile=/scratch/kocevski/842062/ft2_4FGL_J2324.7+0801_daily_bin855.fits outfile=/scratch/kocevski/842062/cmap_460944001_461203201_4FGL_J2324.7+0801_daily_bin855.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/842062/ft1_filtered_4FGL_J2324.7+0801_daily_bin855.fits scfile=/scratch/kocevski/842062/ft2_4FGL_J2324.7+0801_daily_bin855.fits outfile=/scratch/kocevski/842062/cmap_HighResolution_460944001_461203201_4FGL_J2324.7+0801_daily_bin855.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    5.9946       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.2222       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.9688       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.2770       1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.244       1.0000         .10000E-03   10000.    
     9 'norm      '    2.4983       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.280       1.0000         .10000E-03   10000.    
    11 'Prefactor '    22.252       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .15134E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .23367E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.9685       1.0000         .10000E-03   10000.    
    15 'Prefactor '    77.661       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.7944       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    73.983       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .62247       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1747       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=   10311.51     FROM MIGRAD    STATUS=CONVERGED    558 CALLS     2866 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.930       -.35168E-05** at limit **
   2  Prefactor     5.9947        .41532       -.16503E-07    .90153E-03
   3  norm          .10000E-03    5.5281       -.89498E-07** at limit **
   4  Prefactor     4.2072        48.077       -.30907E-04    .66328E-04
   5  Prefactor     .10000E-03    3.5375       -.33339E-07** at limit **
   6  Prefactor     1.9723        15.798       -.27886E-05   -.19021E-03
   7  Prefactor     6.2770        11.793       -.24211E-06   -.33629E-04
   8  Prefactor     17.244        8.9984       -.27448E-06   -.33028E-04
   9  norm          2.4982        .97838       -.56611E-07   -.30322E-04
  10  Prefactor     13.287        8.7689        .13781E-06    .48103E-04
  11  Prefactor     22.253        22.641       -.51083E-06   -.22187E-04
  12  Prefactor     .10000E-03    63.359        .14452E-05** at limit **
  13  norm          .10000E-03    11.470        .10575E-06** at limit **
  14  Prefactor     1.9914        7.4986       -.32934E-05   -.56818E-03
  15  Prefactor     77.660        146.86       -.11271E-05   -.92455E-07
  16  Prefactor     3.7933        6.3188       -.28024E-06   -.21223E-03
  17  Prefactor     .10000E-03    16.643        .29262E-05** at limit **
  18  norm          .10000E-03    4.3102       -.22133E-07** at limit **
  19  norm          .10000E-03    6.8056        .17887E-06** at limit **
  20  Prefactor     .10000E-03    1.2308        .15686E-08** at limit **
  21  Prefactor     73.969        38.932       -.99007E-05    .28377E-03
  22  Prefactor     .10000E-03    8.8590       -.51061E-06** at limit **
  23  Prefactor     .10000E-03    11.108        .98822E-06** at limit **
  24  Normalizat    .62249        .21270        .74914E-05    .17138E-04
  25  Prefactor     1.1747        .12817       -.43707E-06    .27784E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.99471
  norm       = 0.0001
  Prefactor  = 4.20719
  Prefactor  = 0.0001
  Prefactor  = 1.9723
  Prefactor  = 6.27704
  Prefactor  = 17.2444
  norm       = 2.49818
  Prefactor  = 13.2867
  Prefactor  = 22.2533
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.99139
  Prefactor  = 77.6604
  Prefactor  = 3.79326
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 73.9691
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.622485
  Prefactor  = 1.17469
 **********
 **   18 **HESSE 
 **********

 FCN=   10311.51     FROM HESSE     STATUS=OK           423 CALLS     3289 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.9947        .41524        .16585E-04   -1.5218    
   3  norm          .10000E-03    5.5581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.2072        47.993        .19611E-03   -1.5298    
   5  Prefactor     .10000E-03    3.5587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.9723        15.962        .29553E-03   -1.5427    
   7  Prefactor     6.2770        11.785        .16022E-03   -1.5207    
   8  Prefactor     17.244        8.9919        .96449E-04   -1.4877    
   9  norm          2.4982        .97698        .60078E-04   -1.5392    
  10  Prefactor     13.287        8.7421        .10992E-03   -1.4979    
  11  Prefactor     22.253        22.622        .84912E-04   -1.4764    
  12  Prefactor     .10000E-03    64.395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    11.598        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.9914        7.5514        .29556E-03   -1.5426    
  15  Prefactor     77.660        146.85        .45568E-04   -1.3943    
  16  Prefactor     3.7933        6.3005        .20723E-03   -1.5318    
  17  Prefactor     .10000E-03    16.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.3148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.8094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.2390        .10994E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     73.969        38.736        .46679E-04   -1.3986    
  22  Prefactor     .10000E-03    8.8808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    11.291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .62249        .23189        .44087E-03   -1.0704    
  25  Prefactor     1.1747        .14224        .21340E-03   -.87114    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57505e-09
Minuit parameter uncertainties:
  1  7.62837e-05
  2  0.415244
  3  1.21193e-05
  4  28.448
  5  5.04135e-06
  6  11.2255
  7  11.7897
  8  8.99265
  9  0.976987
  10  8.74289
  11  22.6305
  12  2.9171e-05
  13  0.000135222
  14  7.55499
  15  147.545
  16  6.30164
  17  4.43586e-05
  18  4.62724e-06
  19  1.747e-06
  20  3.84955e-07
  21  38.7493
  22  2.46488e-05
  23  0.00010839
  24  0.232258
  25  0.142284
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.329e+01  8.743e+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.175e+00  1.423e-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:  6.225e-01  2.323e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.35
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 4.78e-08 +/- 3.14e-08
Energy Flux (Fixed Index): 2.04e-05 +/- 1.34e-05

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) = 10311.1680613
delta logL = 0.3465271675

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10311.1488705
delta logL = 0.365717938368

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.191       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7821       1.0000          .0000       10.000    
     3 'Normalizat'    .64240       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1699       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=   10311.15     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      271 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.190        11.886        .99537E-04    .17940E-02
   2  Index         1.7817        .52462        .10713E-01    .45980E-03
   3  Normalizat    .64244        .21590        .43446E-03   -.16543E-03
   4  Prefactor     1.1699        .14075        .21384E-03   -.35426E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.1902
  Index      = 1.7817
  Normalizat = 0.64244
  Prefactor  = 1.16995
 **********
 **   18 **HESSE 
 **********

 FCN=   10311.15     FROM HESSE     STATUS=OK            23 CALLS      294 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.190        11.942        .19907E-04   -1.4903    
   2  Index         1.7817        .52699        .42852E-03   -.69927    
   3  Normalizat    .64244        .21598        .17379E-04   -1.0621    
   4  Prefactor     1.1699        .14084        .42768E-04   -.87261    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.96363e-09
Minuit parameter uncertainties:
  1  11.9434
  2  0.528668
  3  0.216263
  4  0.140881
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/842062': 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) = 10311.1488702
delta logL = 0.365718258405

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.619e+01  1.194e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  1.782e+00  5.287e-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:  1.170e+00  1.409e-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:  6.424e-01  2.163e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.05
Ra Dec: 351.190 8.028
Photon Index (Free Index): 1.78 +/- 0.53
Photon Flux (Free Index): 2.69e-08 +/- 3.07e-08
Energy Flux (Free Index): 3.40e-05 +/- 3.52e-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/842062/cmap_HighResolution_460944001_461203201_4FGL_J2324.7+0801_daily_bin855.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.78e-08', energy_flux2='3.40e-05', photon_flux_error='3.14e-08', dlogl='3.66e-01', energy_flux='2.04e-05', photon_flux2='2.69e-08', job_status='DONE', time_completed='2021-09-29 16:35:24.452251', photon_index_error2='0.53', photon_index2='1.78', ts='9.35', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='3.52e-05', EG='0.62', time_epoch_completed='1632958524.45', return_code='0', job_id='842062', GAL2='1.17', EG2='0.64', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='3.07e-08', ts2='10.05', photon_index='2.23' WHERE bin_id='855' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:35:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 842062: <4FGL_J2324.7+0801_daily_bin855> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin855 351.19 8.0282 460944001 461203201 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 :                                   827.14 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             348.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            902 sec.

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

