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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin617
RA = 351.19, Dec = 8.0282
tmin = 399254401, tmax = 399513601
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='840635', job_status='RUN', time_executed='2021-09-29 16:19:28.048824', time_epoch_executed='1632957568.05' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='617'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/840635

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/840635/ft1_4FGL_J2324.7+0801_daily_bin617.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/840635/ft2_4FGL_J2324.7+0801_daily_bin617.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/840635/ft1_4FGL_J2324.7+0801_daily_bin617.fits outfile=/scratch/kocevski/840635/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin617.fits ra=351.19 dec=8.0282 rad=12.0 tmin=399254401.0 tmax=399513601.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 5.49
user 5.24
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/840635/ft2_4FGL_J2324.7+0801_daily_bin617.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/840635/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin617.fits evtable="EVENTS" outfile="/scratch/kocevski/840635/ft1_filtered_4FGL_J2324.7+0801_daily_bin617.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/840635/ft1_filtered_4FGL_J2324.7+0801_daily_bin617.fits" evtable="EVENTS" scfile=/scratch/kocevski/840635/ft2_4FGL_J2324.7+0801_daily_bin617.fits sctable="SC_DATA" outfile=/scratch/kocevski/840635/ltcube_399254401_399513601_4FGL_J2324.7+0801_daily_bin617.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/840635/ft2_4FGL_J2324.7+0801_daily_bin617.fits
.....................!
real 11.86
user 11.50
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/840635/ft1_filtered_4FGL_J2324.7+0801_daily_bin617.fits evtable="EVENTS" scfile=/scratch/kocevski/840635/ft2_4FGL_J2324.7+0801_daily_bin617.fits sctable="SC_DATA" expcube=/scratch/kocevski/840635/ltcube_399254401_399513601_4FGL_J2324.7+0801_daily_bin617.fits outfile=/scratch/kocevski/840635/expmap_399254401_399513601_4FGL_J2324.7+0801_daily_bin617.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/840635/ltcube_399254401_399513601_4FGL_J2324.7+0801_daily_bin617.fits
.....................!
real 190.43
user 185.56
sys 4.55

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/840635/ft1_filtered_4FGL_J2324.7+0801_daily_bin617.fits scfile=/scratch/kocevski/840635/ft2_4FGL_J2324.7+0801_daily_bin617.fits outfile=/scratch/kocevski/840635/cmap_399254401_399513601_4FGL_J2324.7+0801_daily_bin617.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.55
user 0.38
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/840635/ft1_filtered_4FGL_J2324.7+0801_daily_bin617.fits evtable="EVENTS" scfile=/scratch/kocevski/840635/ft2_4FGL_J2324.7+0801_daily_bin617.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/840635/Model_4FGL_J2324.7+0801_daily_bin617.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/840635/ft1_filtered_4FGL_J2324.7+0801_daily_bin617.fits.....................!
real 82.53
user 81.19
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    1.6363       1.0000         .10000E-03   10000.    
     3 'norm      '    5.1904       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.958       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.7437       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.2420       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.0908       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.183       1.0000         .10000E-03   10000.    
    11 'Prefactor '    42.054       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    11.025       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .21669E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    25.596       1.0000         .10000E-03   10000.    
    18 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .11205E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .48006       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    22.216       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0704       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .84463       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=   7693.729     FROM MIGRAD    STATUS=CONVERGED    576 CALLS     2914 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.6847        .31717E-05** at limit **
   2  Prefactor     1.6364        .23432       -.60393E-08   -.96920E-04
   3  norm          5.1925        8.9310       -.13733E-05   -.13428E-03
   4  Prefactor     11.961        14.551       -.36769E-06   -.39850E-06
   5  Prefactor     9.7453        7.5488       -.86934E-06   -.83502E-04
   6  Prefactor     9.2467        14.339       -.85588E-06   -.43795E-04
   7  Prefactor     .10000E-03    3.8465       -.64606E-07** at limit **
   8  Prefactor     .10000E-03    2.7839        .91199E-07** at limit **
   9  norm          1.0891        .88792       -.11734E-06   -.75588E-03
  10  Prefactor     11.184        9.5783       -.10076E-05   -.37464E-05
  11  Prefactor     42.063        23.932       -.33369E-05    .40070E-05
  12  Prefactor     .10000E-03    43.838        .39938E-04** at limit **
  13  norm          11.028        8.8151       -.12307E-05   -.64937E-04
  14  Prefactor     .10000E-03    2.1354        .74570E-07** at limit **
  15  Prefactor     .10000E-03    196.86       -.22183E-04** at limit **
  16  Prefactor     .10000E-03    5.4021       -.12543E-06** at limit **
  17  Prefactor     25.602        23.498       -.32848E-05   -.84109E-05
  18  norm          .10000E-03    9.1179       -.10588E-05** at limit **
  19  norm          .10000E-03    40.824       -.36787E-04** at limit **
  20  Prefactor     .53372        2.5215        .15878E-05   -.13695E-02
  21  Prefactor     .10000E-03    18.614        .10458E-05** at limit **
  22  Prefactor     22.225        24.139       -.49448E-05   -.17887E-04
  23  Prefactor     .10000E-03    4.6709       -.10084E-06** at limit **
  24  Normalizat    1.0702        .20483        .16528E-05   -.12929E-03
  25  Prefactor     .84463        .12207        .77122E-06   -.46764E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.63639
  norm       = 5.19253
  Prefactor  = 11.9611
  Prefactor  = 9.74532
  Prefactor  = 9.24674
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.08912
  Prefactor  = 11.1845
  Prefactor  = 42.0625
  Prefactor  = 0.0001
  norm       = 11.0278
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.6018
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.533723
  Prefactor  = 0.0001
  Prefactor  = 22.2255
  Prefactor  = 0.0001
  Normalizat = 1.07018
  Prefactor  = 0.844628
 **********
 **   18 **HESSE 
 **********

 FCN=   7693.729     FROM HESSE     STATUS=OK           431 CALLS     3345 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.6943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.6364        .23463        .15339E-04   -1.5452    
   3  norm          5.1925        8.9358        .17645E-03   -1.5252    
   4  Prefactor     11.961        14.557        .11584E-03   -1.5016    
   5  Prefactor     9.7453        7.5567        .12838E-03   -1.5084    
   6  Prefactor     9.2467        14.346        .13183E-03   -1.5100    
   7  Prefactor     .10000E-03    3.8493        .16801E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.7925        .14286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.0891        .86412        .71132E-04   -1.5499    
  10  Prefactor     11.184        9.5678        .11980E-03   -1.5039    
  11  Prefactor     42.063        23.946        .61816E-04   -1.4410    
  12  Prefactor     .10000E-03    43.817        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          11.028        8.8116        .12066E-03   -1.5044    
  14  Prefactor     .10000E-03    2.1417        .12511E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    196.95        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.4167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     25.602        23.496        .79180E-04   -1.4696    
  18  norm          .10000E-03    9.1606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    40.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .53372        11.283        .25823E-02   -1.5562    
  21  Prefactor     .10000E-03    18.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     22.225        24.203        .84981E-04   -1.4765    
  23  Prefactor     .10000E-03    4.6819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0702        .24148        .31307E-03   -.90715    
  25  Prefactor     .84463        .14410        .21507E-03   -.98104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.30035e-09
Minuit parameter uncertainties:
  1  3.70011e-06
  2  0.234633
  3  8.93814
  4  14.5608
  5  7.55748
  6  14.3516
  7  3.04533e-06
  8  1.41419e-05
  9  0.864132
  10  9.56908
  11  23.9515
  12  0.000109109
  13  8.81262
  14  1.01978e-05
  15  0.000116291
  16  1.31903e-05
  17  23.5042
  18  7.96373e-08
  19  0.000122613
  20  4.90848
  21  9.808e-07
  22  24.2138
  23  2.38869e-06
  24  0.241729
  25  0.144161
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.118e+01  9.569e+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:  8.446e-01  1.442e-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.070e+00  2.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.92
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 4.03e-08 +/- 3.44e-08
Energy Flux (Fixed Index): 1.72e-05 +/- 1.47e-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) = 7692.54952854
delta logL = 1.17916177115

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7692.48895151
delta logL = 1.23973880569

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6048       1.0000         .10000E-03   10000.    
     2 'Index     '    1.1730       1.0000          .0000       10.000    
     3 'Normalizat'    1.0859       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84796       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=   7692.489     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      211 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6048        6.7763        .39037E-02   -.14666E-02
   2  Index         1.1723        .42306        .26789       -.55671E-04
   3  Normalizat    1.0858        .19495        .70346E-01    .18433E-04
   4  Prefactor     .84800        .12113        .44338E-01    .96934E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.60483
  Index      = 1.1723
  Normalizat = 1.08579
  Prefactor  = 0.848
 **********
 **   18 **HESSE 
 **********

 FCN=   7692.489     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6048        11.271        .15615E-03   -1.5194    
   2  Index         1.1723        .76065        .10885E-01   -.87188    
   3  Normalizat    1.0858        .23029        .31126E-03   -.90209    
   4  Prefactor     .84800        .14342        .21486E-03   -.97983    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24858e-08
Minuit parameter uncertainties:
  1  11.2746
  2  0.767927
  3  0.230507
  4  0.143481
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/840635': 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) = 7692.48894997
delta logL = 1.23974034574

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  6.605e+00  1.127e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  1.172e+00  7.679e-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:  8.480e-01  1.435e-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.086e+00  2.305e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.36
Ra Dec: 351.190 8.028
Photon Index (Free Index): 1.17 +/- 0.77
Photon Flux (Free Index): 6.58e-09 +/- 1.10e-08
Energy Flux (Free Index): 5.97e-05 +/- 8.00e-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/840635/cmap_HighResolution_399254401_399513601_4FGL_J2324.7+0801_daily_bin617.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.03e-08', energy_flux2='5.97e-05', photon_flux_error='3.44e-08', dlogl='1.24e+00', energy_flux='1.72e-05', photon_flux2='6.58e-09', job_status='DONE', time_completed='2021-09-29 16:30:57.826955', photon_index_error2='0.77', photon_index2='1.17', ts='6.92', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='8.00e-05', EG='1.07', time_epoch_completed='1632958257.83', return_code='0', job_id='840635', GAL2='0.85', EG2='1.09', return_code2='0', energy_flux_error='1.47e-05', photon_flux_error2='1.10e-08', ts2='9.36', photon_index='2.23' WHERE bin_id='617' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:30:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 840635: <4FGL_J2324.7+0801_daily_bin617> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin617 351.19 8.0282 399254401 399513601 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 :                                   689.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   934 sec.
    Turnaround time :                            936 sec.

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

