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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin534
RA = 351.19, Dec = 8.0282
tmin = 377740801, tmax = 378000001
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='839406', job_status='RUN', time_executed='2021-09-29 16:11:05.832877', time_epoch_executed='1632957065.83' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='534'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/839406

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/839406/ft1_4FGL_J2324.7+0801_daily_bin534.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/839406/ft2_4FGL_J2324.7+0801_daily_bin534.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/839406/ft1_4FGL_J2324.7+0801_daily_bin534.fits outfile=/scratch/kocevski/839406/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin534.fits ra=351.19 dec=8.0282 rad=12.0 tmin=377740801.0 tmax=378000001.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 4.45
user 4.20
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/839406/ft2_4FGL_J2324.7+0801_daily_bin534.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/839406/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin534.fits evtable="EVENTS" outfile="/scratch/kocevski/839406/ft1_filtered_4FGL_J2324.7+0801_daily_bin534.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/839406/ft1_filtered_4FGL_J2324.7+0801_daily_bin534.fits" evtable="EVENTS" scfile=/scratch/kocevski/839406/ft2_4FGL_J2324.7+0801_daily_bin534.fits sctable="SC_DATA" outfile=/scratch/kocevski/839406/ltcube_377740801_378000001_4FGL_J2324.7+0801_daily_bin534.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/839406/ft2_4FGL_J2324.7+0801_daily_bin534.fits
.....................!
real 11.85
user 11.52
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/839406/ft1_filtered_4FGL_J2324.7+0801_daily_bin534.fits evtable="EVENTS" scfile=/scratch/kocevski/839406/ft2_4FGL_J2324.7+0801_daily_bin534.fits sctable="SC_DATA" expcube=/scratch/kocevski/839406/ltcube_377740801_378000001_4FGL_J2324.7+0801_daily_bin534.fits outfile=/scratch/kocevski/839406/expmap_377740801_378000001_4FGL_J2324.7+0801_daily_bin534.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/839406/ltcube_377740801_378000001_4FGL_J2324.7+0801_daily_bin534.fits
.....................!
real 191.18
user 185.71
sys 5.15

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/839406/ft1_filtered_4FGL_J2324.7+0801_daily_bin534.fits scfile=/scratch/kocevski/839406/ft2_4FGL_J2324.7+0801_daily_bin534.fits outfile=/scratch/kocevski/839406/cmap_377740801_378000001_4FGL_J2324.7+0801_daily_bin534.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.19 yref=8.0282 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/839406/ft1_filtered_4FGL_J2324.7+0801_daily_bin534.fits scfile=/scratch/kocevski/839406/ft2_4FGL_J2324.7+0801_daily_bin534.fits outfile=/scratch/kocevski/839406/cmap_HighResolution_377740801_378000001_4FGL_J2324.7+0801_daily_bin534.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/839406/ft1_filtered_4FGL_J2324.7+0801_daily_bin534.fits evtable="EVENTS" scfile=/scratch/kocevski/839406/ft2_4FGL_J2324.7+0801_daily_bin534.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/839406/Model_4FGL_J2324.7+0801_daily_bin534.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/839406/ft1_filtered_4FGL_J2324.7+0801_daily_bin534.fits.....................!
real 78.39
user 77.08
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.493       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.5083       1.0000         .10000E-03   10000.    
     3 'norm      '    12.845       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .39990       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.9490       1.0000         .10000E-03   10000.    
     8 'Prefactor '    26.653       1.0000         .10000E-03   10000.    
     9 'norm      '    .82008       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.191       1.0000         .10000E-03   10000.    
    13 'norm      '    16.763       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10219E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    28.898       1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.0876       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.8671       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .79064       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .94195       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=   6932.665     FROM MIGRAD    STATUS=CONVERGED   1029 CALLS     3342 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.481        26.487        .68232E-04   -.64981E-05
   2  Prefactor     1.5084        .26648        .16961E-04    .16663E-03
   3  norm          12.844        12.596        .11177E-03   -.68151E-05
   4  Prefactor     .30520        25.876        .11781        .15133E-03
   5  Prefactor     .10000E-03    3.9032        .15991E-02** at limit **
   6  Prefactor     .10000E-03    4.6706        .17554E-02** at limit **
   7  Prefactor     6.9483        19.368        .15219E-03   -.88894E-05
   8  Prefactor     26.653        11.320        .77596E-04    .82046E-05
   9  norm          .81892        .90319        .87214E-03    .29410E-03
  10  Prefactor     .10000E-03    7.8071        .18142E-02** at limit **
  11  Prefactor     .10000E-03    40.707        .18142E-02** at limit **
  12  Prefactor     14.255        34.343        .10632E-03   -.91955E-05
  13  norm          16.764        11.006        .97824E-04   -.81351E-05
  14  Prefactor     .10000E-03    3.6861        .15567E-02** at limit **
  15  Prefactor     .10000E-03    181.95        .18142E-02** at limit **
  16  Prefactor     .10000E-03    10.568        .18142E-02** at limit **
  17  Prefactor     28.893        25.745        .74529E-04    .91525E-06
  18  norm          .10000E-03    11.552        .18142E-02** at limit **
  19  norm          .10000E-03    8.1239        .18142E-02** at limit **
  20  Prefactor     5.0887        5.0746        .17358E-03   -.14291E-03
  21  Prefactor     .10000E-03    15.924        .18142E-02** at limit **
  22  Prefactor     .10000E-03    13.741        .18142E-02** at limit **
  23  Prefactor     6.8670        7.8940        .15310E-03   -.91333E-05
  24  Normalizat    .79070        .24235        .34277E-03    .45438E-05
  25  Prefactor     .94197        .14574        .19937E-03    .84964E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.4814
  Prefactor  = 1.5084
  norm       = 12.8444
  Prefactor  = 0.305203
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.94828
  Prefactor  = 26.653
  norm       = 0.818923
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.255
  norm       = 16.7642
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.8929
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.08865
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.86699
  Normalizat = 0.790705
  Prefactor  = 0.941972
 **********
 **   18 **HESSE 
 **********

 FCN=   6932.665     FROM HESSE     STATUS=OK           413 CALLS     3755 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.481        26.483        .27293E-05   -1.4533    
   2  Prefactor     1.5084        .26648        .33923E-05   -1.5462    
   3  norm          12.844        12.596        .44707E-05   -1.4991    
   4  Prefactor     .30520        24.784        .12159       -1.5597    
   5  Prefactor     .10000E-03    3.9042        .31982E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.6709        .35109E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.9483        19.369        .60876E-05   -1.5181    
   8  Prefactor     26.653        11.319        .31039E-05   -1.4675    
   9  norm          .81892        .90262        .34886E-04   -1.5527    
  10  Prefactor     .10000E-03    7.8089        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    40.718        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.255        34.346        .42530E-05   -1.4953    
  13  norm          16.764        11.005        .39130E-05   -1.4889    
  14  Prefactor     .10000E-03    3.6864        .31134E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    181.95        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.570        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     28.893        25.743        .29811E-05   -1.4632    
  18  norm          .10000E-03    11.553        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    8.1241        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.0887        5.0733        .69434E-05   -1.5257    
  21  Prefactor     .10000E-03    15.926        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    13.743        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.8670        7.8938        .61242E-05   -1.5184    
  24  Normalizat    .79070        .24253        .13711E-04   -1.0041    
  25  Prefactor     .94197        .14587        .79748E-05   -.94690    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3486e-10
Minuit parameter uncertainties:
  1  26.4919
  2  0.266481
  3  12.5991
  4  5.5021
  5  1.86454e-06
  6  7.4032e-07
  7  19.3862
  8  11.3198
  9  0.902637
  10  1.66959e-06
  11  7.11603e-06
  12  34.3933
  13  11.0061
  14  5.27749e-07
  15  0.000513933
  16  6.75387e-05
  17  25.7525
  18  6.69745e-06
  19  2.03177e-05
  20  5.07372
  21  1.57976e-07
  22  5.84611e-06
  23  7.89503
  24  0.242861
  25  0.145932
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.000e-04  1.670e-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.420e-01  1.459e-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:  7.907e-01  2.429e-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: 8.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/839406/likelihoodResults_377740801_378000001_4FGL_J2324.7+0801_daily_bin534.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) = 6932.66566418
delta logL = -0.000610536659224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6932.66505378
delta logL = -1.37486495078e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2384       1.0000          .0000       10.000    
     3 'Normalizat'    .79062       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94203       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=   6932.665     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      245 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10030E-03    57.837        .18142E-02** at limit **
   2  Index         2.2640        5.9093        .50000       -.10027E-04
   3  Normalizat    .79070        .13730E-01    .34277E-03    .23051E-04
   4  Prefactor     .94197        .87158E-02    .19937E-03    .35639E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100298
  Index      = 2.26399
  Normalizat = 0.790705
  Prefactor  = 0.941972
 **********
 **   18 **HESSE 
 **********

 FCN=   6932.665     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10030E-03    298.68        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2640        6.0067        .50000       -.57902    
   3  Normalizat    .79070        .32431E-01    .13711E-04   -1.0041    
   4  Prefactor     .94197        .20585E-01    .79748E-05   -.94690    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.01019e-09
Minuit parameter uncertainties:
  1  0.0189587
  2  476.133
  3  0.0324321
  4  0.0205854
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/839406': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6932.66505357
delta logL = 7.34225977794e-08

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.003e-04  1.896e-02  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.264e+00  4.761e+02  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  9.420e-01  2.059e-02  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:  7.907e-01  3.243e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/839406/cmap_HighResolution_377740801_378000001_4FGL_J2324.7+0801_daily_bin534.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.28e-03', job_status='DONE', photon_flux_upper_limit='8.23e-08', time_completed='2021-09-29 16:23:32.005338', job_id='839406', GAL2='0.94', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1632957812.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='7.34e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='534' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:23:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 839406: <4FGL_J2324.7+0801_daily_bin534> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin534 351.19 8.0282 377740801 378000001 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 :                                   744.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             319.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            783 sec.

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

