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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin691
RA = 351.19, Dec = 8.0282
tmin = 418435201, tmax = 418694401
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='840743', job_status='RUN', time_executed='2021-09-29 16:17:44.131778', time_epoch_executed='1632957464.13' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='691'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/840743

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/840743/ft1_4FGL_J2324.7+0801_daily_bin691.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/840743/ft2_4FGL_J2324.7+0801_daily_bin691.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/840743/ft1_4FGL_J2324.7+0801_daily_bin691.fits outfile=/scratch/kocevski/840743/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin691.fits ra=351.19 dec=8.0282 rad=12.0 tmin=418435201.0 tmax=418694401.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.19
user 4.93
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/840743/ft1_filtered_4FGL_J2324.7+0801_daily_bin691.fits" evtable="EVENTS" scfile=/scratch/kocevski/840743/ft2_4FGL_J2324.7+0801_daily_bin691.fits sctable="SC_DATA" outfile=/scratch/kocevski/840743/ltcube_418435201_418694401_4FGL_J2324.7+0801_daily_bin691.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/840743/ft2_4FGL_J2324.7+0801_daily_bin691.fits
.....................!
real 11.80
user 11.46
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/840743/ft1_filtered_4FGL_J2324.7+0801_daily_bin691.fits evtable="EVENTS" scfile=/scratch/kocevski/840743/ft2_4FGL_J2324.7+0801_daily_bin691.fits sctable="SC_DATA" expcube=/scratch/kocevski/840743/ltcube_418435201_418694401_4FGL_J2324.7+0801_daily_bin691.fits outfile=/scratch/kocevski/840743/expmap_418435201_418694401_4FGL_J2324.7+0801_daily_bin691.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/840743/ltcube_418435201_418694401_4FGL_J2324.7+0801_daily_bin691.fits
.....................!
real 189.56
user 185.01
sys 4.24

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/840743/ft1_filtered_4FGL_J2324.7+0801_daily_bin691.fits scfile=/scratch/kocevski/840743/ft2_4FGL_J2324.7+0801_daily_bin691.fits outfile=/scratch/kocevski/840743/cmap_418435201_418694401_4FGL_J2324.7+0801_daily_bin691.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/840743/ft1_filtered_4FGL_J2324.7+0801_daily_bin691.fits scfile=/scratch/kocevski/840743/ft2_4FGL_J2324.7+0801_daily_bin691.fits outfile=/scratch/kocevski/840743/cmap_HighResolution_418435201_418694401_4FGL_J2324.7+0801_daily_bin691.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/840743/ft1_filtered_4FGL_J2324.7+0801_daily_bin691.fits evtable="EVENTS" scfile=/scratch/kocevski/840743/ft2_4FGL_J2324.7+0801_daily_bin691.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/840743/Model_4FGL_J2324.7+0801_daily_bin691.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/840743/ft1_filtered_4FGL_J2324.7+0801_daily_bin691.fits.....................!
real 57.47
user 56.18
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.9901       1.0000         .10000E-03   10000.    
     3 'norm      '    .12303E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10258E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.8950       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .36129E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.272       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.125       1.0000         .10000E-03   10000.    
     9 'norm      '    1.2433       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.2273       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.5565       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    8.4315       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    72.670       1.0000         .10000E-03   10000.    
    18 'norm      '    18.455       1.0000         .10000E-03   10000.    
    19 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.1895       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.4552       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10339E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0152       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1314       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=   4683.712     FROM MIGRAD    STATUS=CONVERGED    571 CALLS     2915 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    55.909        .86958E-06** at limit **
   2  Prefactor     5.9902        .60403       -.11827E-08    .12025E-04
   3  norm          .10000E-03    58.188       -.14308E-05** at limit **
   4  Prefactor     .10000E-03    80.637       -.16175E-06** at limit **
   5  Prefactor     6.8955        12.077        .92757E-07   -.16585E-05
   6  Prefactor     .10001E-03    16.775       -.33114E-06** at limit **
   7  Prefactor     11.264        28.378        .28722E-06    .63458E-05
   8  Prefactor     11.126        10.547       -.49384E-06   -.31866E-04
   9  norm          1.2423        2.2303        .29379E-06   -.40694E-04
  10  Prefactor     5.2308        14.519        .55816E-06    .69371E-05
  11  Prefactor     4.5538        26.297        .72879E-05   -.11011E-03
  12  Prefactor     .10000E-03    81.960        .45094E-06** at limit **
  13  norm          8.4346        12.079        .54120E-06    .29819E-04
  14  Prefactor     .10000E-03    3.9478       -.42566E-07** at limit **
  15  Prefactor     .10000E-03    203.78        .90377E-06** at limit **
  16  Prefactor     .10000E-03    29.298        .19603E-06** at limit **
  17  Prefactor     72.634        50.729       -.26898E-05   -.20246E-03
  18  norm          18.456        16.880       -.25315E-07   -.90266E-06
  19  norm          .10000E-03    56.560        .66438E-06** at limit **
  20  Prefactor     9.1888        9.2997        .10389E-08   -.29471E-04
  21  Prefactor     6.4748        131.11        .69607E-05    .32024E-04
  22  Prefactor     .10000E-03    22.357        .16364E-06** at limit **
  23  Prefactor     .10000E-03    8.4222        .70861E-07** at limit **
  24  Normalizat    1.0148        .32954       -.30364E-07    .75259E-05
  25  Prefactor     1.1315        .19823       -.39723E-06    .36239E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.99021
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.89549
  Prefactor  = 0.000100009
  Prefactor  = 11.264
  Prefactor  = 11.1264
  norm       = 1.24229
  Prefactor  = 5.23078
  Prefactor  = 4.55383
  Prefactor  = 0.0001
  norm       = 8.43455
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 72.6342
  norm       = 18.4565
  norm       = 0.0001
  Prefactor  = 9.1888
  Prefactor  = 6.47481
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.01481
  Prefactor  = 1.13153
 **********
 **   18 **HESSE 
 **********

 FCN=   4683.712     FROM HESSE     STATUS=OK           427 CALLS     3342 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    56.431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.9902        .60448        .16120E-04   -1.5218    
   3  norm          .10000E-03    59.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    80.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.8955        12.063        .15279E-03   -1.5183    
   6  Prefactor     .10001E-03    83.565        .53540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.264        28.386        .11932E-03   -1.5037    
   8  Prefactor     11.126        10.558        .12011E-03   -1.5041    
   9  norm          1.2423        2.1993        .12976E-03   -1.5485    
  10  Prefactor     5.2308        14.477        .17581E-03   -1.5251    
  11  Prefactor     4.5538        28.554        .94294E-03   -1.5281    
  12  Prefactor     .10000E-03    82.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.4346        12.080        .13806E-03   -1.5127    
  14  Prefactor     .10000E-03    3.9592        .13272E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    203.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    29.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     72.634        53.654        .47095E-04   -1.4001    
  18  norm          18.456        16.881        .93231E-04   -1.4848    
  19  norm          .10000E-03    56.661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.1888        9.2772        .13221E-03   -1.5102    
  21  Prefactor     6.4748        136.39        .15797E-03   -1.5199    
  22  Prefactor     .10000E-03    22.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    8.4919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0148        .38949        .40399E-03   -.92536    
  25  Prefactor     1.1315        .23660        .24099E-03   -.88465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.04763e-10
Minuit parameter uncertainties:
  1  0.000176497
  2  0.604482
  3  0.000332853
  4  4.81496e-05
  5  12.0671
  6  0.00171084
  7  28.42
  8  10.5594
  9  2.19943
  10  14.4866
  11  22.822
  12  4.31291e-05
  13  12.0836
  14  9.26587e-07
  15  0.00034997
  16  3.1379e-05
  17  53.6902
  18  16.8851
  19  8.592e-05
  20  9.27867
  21  59.5884
  22  3.50157e-05
  23  3.10347e-06
  24  0.39059
  25  0.23682
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  5.231e+00  1.449e+01  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.132e+00  2.368e-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.015e+00  3.906e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.18
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 1.68e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.28e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/840743/likelihoodResults_418435201_418694401_4FGL_J2324.7+0801_daily_bin691.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4683.71040105
delta logL = 0.00176329884289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4683.70982039
delta logL = 0.00234395007919

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7261       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3379       1.0000          .0000       10.000    
     3 'Normalizat'    1.0123       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1319       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=   4683.710     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      258 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7204        16.612        .18509E-03    .61115E-04
   2  Index         2.3384        1.7547        .12001E-01    .13131E-04
   3  Normalizat    1.0123        .37058        .40443E-03   -.85046E-03
   4  Prefactor     1.1325        .23318        .24090E-03   -.16740E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.72045
  Index      = 2.33841
  Normalizat = 1.01227
  Prefactor  = 1.13248
 **********
 **   18 **HESSE 
 **********

 FCN=   4683.710     FROM HESSE     STATUS=OK            25 CALLS      283 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7204        15.183        .74037E-05   -1.5273    
   2  Index         2.3384        1.6111        .48004E-03   -.56134    
   3  Normalizat    1.0123        .37025        .80885E-04   -.92621    
   4  Prefactor     1.1325        .23305        .48179E-04   -.88435    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.84504e-09
Minuit parameter uncertainties:
  1  15.1955
  2  1.65284
  3  0.371194
  4  0.233258
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/840743': 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) = 4683.70980688
delta logL = 0.002357462904

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  4.720e+00  1.520e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.338e+00  1.653e+00  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.132e+00  2.333e-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.012e+00  3.712e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.18
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/840743/cmap_HighResolution_418435201_418694401_4FGL_J2324.7+0801_daily_bin691.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.28e-02', job_status='DONE', photon_flux_upper_limit='1.68e-07', time_completed='2021-09-29 16:27:50.029306', job_id='840743', GAL2='1.13', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1632958070.03', return_code2='0', ts='0.18', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='2.36e-03', ts2='0.18', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='691' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:27:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 840743: <4FGL_J2324.7+0801_daily_bin691> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin691 351.19 8.0282 418435201 418694401 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 :                                   604.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   739 sec.
    Turnaround time :                            740 sec.

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

