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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin406
RA = 351.19, Dec = 8.0282
tmin = 344563201, tmax = 344822401
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='839214', job_status='RUN', time_executed='2021-09-29 16:12:03.646690', time_epoch_executed='1632957123.65' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='406'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/839214

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/839214/ft1_4FGL_J2324.7+0801_daily_bin406.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/839214/ft2_4FGL_J2324.7+0801_daily_bin406.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/839214/ft1_4FGL_J2324.7+0801_daily_bin406.fits outfile=/scratch/kocevski/839214/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin406.fits ra=351.19 dec=8.0282 rad=12.0 tmin=344563201.0 tmax=344822401.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.36
user 3.16
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/839214/ft2_4FGL_J2324.7+0801_daily_bin406.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/839214/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin406.fits evtable="EVENTS" outfile="/scratch/kocevski/839214/ft1_filtered_4FGL_J2324.7+0801_daily_bin406.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/839214/ft1_filtered_4FGL_J2324.7+0801_daily_bin406.fits" evtable="EVENTS" scfile=/scratch/kocevski/839214/ft2_4FGL_J2324.7+0801_daily_bin406.fits sctable="SC_DATA" outfile=/scratch/kocevski/839214/ltcube_344563201_344822401_4FGL_J2324.7+0801_daily_bin406.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/839214/ft2_4FGL_J2324.7+0801_daily_bin406.fits
.....................!
real 12.00
user 11.60
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/839214/ft1_filtered_4FGL_J2324.7+0801_daily_bin406.fits evtable="EVENTS" scfile=/scratch/kocevski/839214/ft2_4FGL_J2324.7+0801_daily_bin406.fits sctable="SC_DATA" expcube=/scratch/kocevski/839214/ltcube_344563201_344822401_4FGL_J2324.7+0801_daily_bin406.fits outfile=/scratch/kocevski/839214/expmap_344563201_344822401_4FGL_J2324.7+0801_daily_bin406.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/839214/ltcube_344563201_344822401_4FGL_J2324.7+0801_daily_bin406.fits
.....................!
real 191.86
user 186.80
sys 4.72

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/839214/ft1_filtered_4FGL_J2324.7+0801_daily_bin406.fits scfile=/scratch/kocevski/839214/ft2_4FGL_J2324.7+0801_daily_bin406.fits outfile=/scratch/kocevski/839214/cmap_344563201_344822401_4FGL_J2324.7+0801_daily_bin406.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/839214/ft1_filtered_4FGL_J2324.7+0801_daily_bin406.fits scfile=/scratch/kocevski/839214/ft2_4FGL_J2324.7+0801_daily_bin406.fits outfile=/scratch/kocevski/839214/cmap_HighResolution_344563201_344822401_4FGL_J2324.7+0801_daily_bin406.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/839214/ft1_filtered_4FGL_J2324.7+0801_daily_bin406.fits evtable="EVENTS" scfile=/scratch/kocevski/839214/ft2_4FGL_J2324.7+0801_daily_bin406.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/839214/Model_4FGL_J2324.7+0801_daily_bin406.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/839214/ft1_filtered_4FGL_J2324.7+0801_daily_bin406.fits.....................!
real 68.88
user 67.53
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .43179E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    17.800       1.0000         .10000E-03   10000.    
     4 'Prefactor '    51.366       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.6152       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10356E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    8.3969       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.0265       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10411E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    119.00       1.0000         .10000E-03   10000.    
    22 'Prefactor '    16.016       1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.0760       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0322       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .92585       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=   6148.801     FROM MIGRAD    STATUS=CONVERGED    600 CALLS     2921 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.8246       -.58486E-07** at limit **
   2  Prefactor     .43168E-01    .72171E-01   -.31630E-07   -.14222E-02
   3  norm          17.800        17.429       -.45265E-06    .38283E-05
   4  Prefactor     51.382        44.988       -.16477E-05    .40515E-05
   5  Prefactor     .10000E-03    1.5165       -.77021E-07** at limit **
   6  Prefactor     .10000E-03    5.9013        .13842E-06** at limit **
   7  Prefactor     .10000E-03    13.330       -.55171E-06** at limit **
   8  Prefactor     .10000E-03    2.1308       -.13885E-06** at limit **
   9  norm          4.6151        1.6618       -.25151E-06    .76450E-05
  10  Prefactor     .10000E-03    12.625        .58879E-06** at limit **
  11  Prefactor     .10000E-03    7.4793        .27413E-06** at limit **
  12  Prefactor     .10000E-03    83.123       -.46141E-06** at limit **
  13  norm          8.3969        9.0412        .27390E-06   -.37695E-05
  14  Prefactor     5.0266        6.7982       -.11629E-05   -.33285E-04
  15  Prefactor     .10000E-03    479.42       -.37016E-05** at limit **
  16  Prefactor     .10000E-03    11.710       -.79056E-06** at limit **
  17  Prefactor     .10000E-03    31.908        .12665E-05** at limit **
  18  norm          .10000E-03    5.6010       -.21625E-06** at limit **
  19  norm          .10000E-03    30.038        .50527E-06** at limit **
  20  Prefactor     .10000E-03    5.4121        .46278E-06** at limit **
  21  Prefactor     119.01        59.744        .12484E-05    .95390E-05
  22  Prefactor     16.021        30.631       -.47490E-05   -.10015E-05
  23  Prefactor     3.0759        1.0708        .73264E-07   -.65217E-03
  24  Normalizat    1.0322        .22337        .14979E-05   -.23201E-04
  25  Prefactor     .92587        .13010       -.45402E-07    .54144E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0431684
  norm       = 17.7997
  Prefactor  = 51.3817
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.61512
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.39693
  Prefactor  = 5.02664
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 119.005
  Prefactor  = 16.0215
  Prefactor  = 3.07595
  Normalizat = 1.0322
  Prefactor  = 0.92587
 **********
 **   18 **HESSE 
 **********

 FCN=   6148.801     FROM HESSE     STATUS=OK           423 CALLS     3344 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.8269        .16822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .43168E-01    .61026E-01    .26575E-03   -1.5666    
   3  norm          17.800        17.433        .94931E-04   -1.4864    
   4  Prefactor     51.382        45.067        .55958E-04   -1.4273    
   5  Prefactor     .10000E-03    1.5199        .94304E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.9245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.1492        .11180E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.6151        1.6597        .58396E-04   -1.5278    
  10  Prefactor     .10000E-03    12.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.5184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    83.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.3969        8.9946        .13834E-03   -1.5128    
  14  Prefactor     5.0266        6.7672        .17936E-03   -1.5260    
  15  Prefactor     .10000E-03    479.95        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    32.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.6109        .18126E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    30.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.5846        .35577E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     119.01        60.143        .36888E-04   -1.3522    
  22  Prefactor     16.021        30.659        .10008E-03   -1.4907    
  23  Prefactor     3.0759        6.6954        .11563E-02   -1.5357    
  24  Normalizat    1.0322        .26479        .30324E-03   -.91959    
  25  Prefactor     .92587        .15446        .19965E-03   -.95243    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.13668e-10
Minuit parameter uncertainties:
  1  8.61362e-07
  2  0.061026
  3  17.4384
  4  45.0972
  5  7.23932e-07
  6  2.36896e-06
  7  4.73595e-06
  8  1.73654e-06
  9  1.65967
  10  3.49631e-06
  11  5.91496e-06
  12  5.2043e-05
  13  8.99601
  14  6.76824
  15  0.000158414
  16  2.6937e-06
  17  2.53929e-05
  18  1.66493e-06
  19  7.21787e-06
  20  1.27425e-06
  21  60.174
  22  30.6888
  23  6.69698
  24  0.265125
  25  0.154538
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.000e-04  3.496e-06  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:  9.259e-01  1.545e-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.032e+00  2.651e-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: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/839214/likelihoodResults_344563201_344822401_4FGL_J2324.7+0801_daily_bin406.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) = 6148.80089356
delta logL = -0.00037511706887

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6148.80051845
delta logL = 8.16726242192e-10

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 'Index     '    2.2444       1.0000          .0000       10.000    
     3 'Normalizat'    1.0321       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92591       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6148.779     FROM MIGRAD    STATUS=FAILED       151 CALLS      306 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26528        93.691        .25903E-01   -.18081E-02
   2  Index         3.4922        6.5519        .20000        .88288E-04
   3  Normalizat    1.0173        .15729        .30324E-03    .15233E-03
   4  Prefactor     .93011        .57452E-01    .19965E-03    .49025E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6148.779     FROM SIMPLEX   STATUS=UNCHANGED     93 CALLS      399 TOTAL
                     EDM=   .73E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26528        93.691        .20142E-03   -.18081E-02
   2  Index         3.4922        6.5519        .22969E-02    .88288E-04
   3  Normalizat    1.0173        .15729        .21347E-03    .15233E-03
   4  Prefactor     .93011        .57452E-01    .24445E-04    .49025E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6148.779     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      435 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26527        3.0538        .13027E-02   -.23244E-03
   2  Index         3.4922        2.2408        .11054E-01    .12698E-04
   3  Normalizat    1.0173        .25200        .12129E-04    .95228E-04
   4  Prefactor     .93011        .15421        .39930E-04    .44364E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.265268
  Index      = 3.49216
  Normalizat = 1.0173
  Prefactor  = 0.930111
 **********
 **   18 **HESSE 
 **********

 FCN=   6148.779     FROM HESSE     STATUS=OK            27 CALLS      462 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26527        3.9742        .52110E-04   -1.5811    
   2  Index         3.4922        2.5006        .44217E-03   -.30634    
   3  Normalizat    1.0173        .25241        .24259E-05   -.92453    
   4  Prefactor     .93011        .15423        .79860E-05   -.95097    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.00028e-10
Minuit parameter uncertainties:
  1  2.05329
  2  2.63231
  3  0.252705
  4  0.154303
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/839214': 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) = 6148.7794097
delta logL = 0.0211087428024

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  2.653e-01  2.053e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  3.492e+00  2.632e+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:  9.301e-01  1.543e-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.017e+00  2.527e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/839214/cmap_HighResolution_344563201_344822401_4FGL_J2324.7+0801_daily_bin406.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.84e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2021-09-29 16:23:25.581934', job_id='839214', GAL2='0.93', fit_tolerance='1e-08', EG2='1.02', EG='1.03', time_epoch_completed='1632957805.58', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.11e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='406' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:23:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 839214: <4FGL_J2324.7+0801_daily_bin406> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin406 351.19 8.0282 344563201 344822401 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 :                                   682.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             338.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            792 sec.

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

