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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin739
RA = 351.19, Dec = 8.0282
tmin = 430876801, tmax = 431136001
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='840813', job_status='RUN', time_executed='2021-09-29 16:16:58.583754', time_epoch_executed='1632957418.58' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='739'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/840813

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/840813/ft1_4FGL_J2324.7+0801_daily_bin739.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/840813/ft2_4FGL_J2324.7+0801_daily_bin739.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/840813/ft1_4FGL_J2324.7+0801_daily_bin739.fits outfile=/scratch/kocevski/840813/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin739.fits ra=351.19 dec=8.0282 rad=12.0 tmin=430876801.0 tmax=431136001.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.35
user 5.06
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/840813/ft1_filtered_4FGL_J2324.7+0801_daily_bin739.fits" evtable="EVENTS" scfile=/scratch/kocevski/840813/ft2_4FGL_J2324.7+0801_daily_bin739.fits sctable="SC_DATA" outfile=/scratch/kocevski/840813/ltcube_430876801_431136001_4FGL_J2324.7+0801_daily_bin739.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/840813/ft2_4FGL_J2324.7+0801_daily_bin739.fits
.....................!
real 12.06
user 11.68
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/840813/ft1_filtered_4FGL_J2324.7+0801_daily_bin739.fits evtable="EVENTS" scfile=/scratch/kocevski/840813/ft2_4FGL_J2324.7+0801_daily_bin739.fits sctable="SC_DATA" expcube=/scratch/kocevski/840813/ltcube_430876801_431136001_4FGL_J2324.7+0801_daily_bin739.fits outfile=/scratch/kocevski/840813/expmap_430876801_431136001_4FGL_J2324.7+0801_daily_bin739.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/840813/ltcube_430876801_431136001_4FGL_J2324.7+0801_daily_bin739.fits
.....................!
real 190.27
user 185.46
sys 4.51

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/840813/ft1_filtered_4FGL_J2324.7+0801_daily_bin739.fits scfile=/scratch/kocevski/840813/ft2_4FGL_J2324.7+0801_daily_bin739.fits outfile=/scratch/kocevski/840813/cmap_430876801_431136001_4FGL_J2324.7+0801_daily_bin739.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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/840813/ft1_filtered_4FGL_J2324.7+0801_daily_bin739.fits scfile=/scratch/kocevski/840813/ft2_4FGL_J2324.7+0801_daily_bin739.fits outfile=/scratch/kocevski/840813/cmap_HighResolution_430876801_431136001_4FGL_J2324.7+0801_daily_bin739.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/840813/ft1_filtered_4FGL_J2324.7+0801_daily_bin739.fits evtable="EVENTS" scfile=/scratch/kocevski/840813/ft2_4FGL_J2324.7+0801_daily_bin739.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/840813/Model_4FGL_J2324.7+0801_daily_bin739.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/840813/ft1_filtered_4FGL_J2324.7+0801_daily_bin739.fits.....................!
real 67.20
user 65.94
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.1971       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.251       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .87058E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.003       1.0000         .10000E-03   10000.    
     7 'Prefactor '    39.954       1.0000         .10000E-03   10000.    
     8 'Prefactor '    28.886       1.0000         .10000E-03   10000.    
     9 'norm      '    1.1380       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.5169       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    8.1536       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    286.35       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.6730       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    43.032       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0654       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .72708       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=   5349.528     FROM MIGRAD    STATUS=CONVERGED    593 CALLS     2912 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    84.847        .14176E-05** at limit **
   2  Prefactor     6.1972        .49451        .24803E-07    .22436E-02
   3  norm          .10000E-03    16.100        .52920E-07** at limit **
   4  Prefactor     19.326        58.473        .40627E-04   -.13605E-04
   5  Prefactor     .10105E-03    6.7944       -.17454E-05** at limit **
   6  Prefactor     25.004        19.350        .10912E-06    .65515E-04
   7  Prefactor     39.950        35.339       -.12196E-05   -.51830E-04
   8  Prefactor     28.887        13.790        .42005E-06    .57877E-04
   9  norm          1.1380        1.4673        .24165E-07   -.29768E-03
  10  Prefactor     8.5002        40.141        .42081E-05   -.12642E-03
  11  Prefactor     .10000E-03    9.1607        .19920E-07** at limit **
  12  Prefactor     .10000E-03    39.757        .69339E-05** at limit **
  13  norm          8.1579        26.038       -.31843E-05   -.18183E-03
  14  Prefactor     .10000E-03    5.5256        .79651E-07** at limit **
  15  Prefactor     286.35        345.99       -.36450E-05   -.34376E-05
  16  Prefactor     4.6722        32.682        .24920E-05   -.49405E-04
  17  Prefactor     .10103E-03    50.876        .31915E-05** at limit **
  18  norm          .10000E-03    6.9773        .21184E-07** at limit **
  19  norm          .10000E-03    23.975        .15472E-06** at limit **
  20  Prefactor     .10000E-03    4.5138       -.63481E-08** at limit **
  21  Prefactor     43.030        74.494        .18251E-05   -.37665E-04
  22  Prefactor     .10000E-03    34.561       -.30981E-05** at limit **
  23  Prefactor     .10000E-03    6.3294        .33661E-07** at limit **
  24  Normalizat    1.0654        .30370       -.44996E-05    .35670E-05
  25  Prefactor     .72707        .16788       -.13189E-05   -.45131E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.19718
  norm       = 0.0001
  Prefactor  = 19.3256
  Prefactor  = 0.000101046
  Prefactor  = 25.0041
  Prefactor  = 39.9499
  Prefactor  = 28.887
  norm       = 1.13795
  Prefactor  = 8.50015
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.1579
  Prefactor  = 0.0001
  Prefactor  = 286.347
  Prefactor  = 4.67223
  Prefactor  = 0.000101034
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 43.0303
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.06538
  Prefactor  = 0.727072
 **********
 **   18 **HESSE 
 **********

 FCN=   5349.528     FROM HESSE     STATUS=OK           431 CALLS     3343 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    85.961        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.1972        .49112        .13834E-04   -1.5210    
   3  norm          .10000E-03    16.134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     19.326        58.414        .91286E-04   -1.4828    
   5  Prefactor     .10105E-03    61.887        .35632E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     25.004        19.274        .80111E-04   -1.4707    
   7  Prefactor     39.950        35.386        .63414E-04   -1.4443    
   8  Prefactor     28.887        13.786        .74544E-04   -1.4633    
   9  norm          1.1380        1.4286        .96252E-04   -1.5495    
  10  Prefactor     8.5002        37.161        .13736E-03   -1.5125    
  11  Prefactor     .10000E-03    9.1633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    39.764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.1579        25.132        .14041E-03   -1.5137    
  14  Prefactor     .10000E-03    5.5364        .16780E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     286.35        345.10        .11992E-03   -1.2307    
  16  Prefactor     4.6722        32.309        .18616E-03   -1.5276    
  17  Prefactor     .10103E-03    49.350        .14144       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    6.9782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    23.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.5158        .15166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     43.030        74.686        .61112E-04   -1.4395    
  22  Prefactor     .10000E-03    34.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    6.3426        .17972E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0654        .35917        .38840E-03   -.90871    
  25  Prefactor     .72707        .19733        .26615E-03   -1.0248    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67673e-08
Minuit parameter uncertainties:
  1  0.000131216
  2  0.491121
  3  2.5276e-05
  4  58.5874
  5  0.0161099
  6  19.2792
  7  35.4046
  8  13.7872
  9  1.4286
  10  35.5828
  11  5.58015e-06
  12  4.87804e-06
  13  25.1644
  14  1.86116e-05
  15  347.614
  16  24.5916
  17  0.0143013
  18  5.68039e-06
  19  5.34335e-06
  20  1.21405e-06
  21  74.8491
  22  6.27486e-05
  23  8.47324e-06
  24  0.359994
  25  0.197516
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  8.500e+00  3.558e+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:  7.271e-01  1.975e-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.065e+00  3.600e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/840813/likelihoodResults_430876801_431136001_4FGL_J2324.7+0801_daily_bin739.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) = 5349.42711129
delta logL = 0.100880340126

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5349.40753216
delta logL = 0.120459477431

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6346       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7192       1.0000          .0000       10.000    
     3 'Normalizat'    1.0422       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73198       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=   5349.408     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      229 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6450        302.12        .38948E-02    .21201E-03
   2  Index         2.7190        3.1847        .19635        .11589E-03
   3  Normalizat    1.0421        .71390E-01    .88510E-01   -.12805E-03
   4  Prefactor     .73191        .40612E-01    .42825E-01   -.17884E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.64498
  Index      = 2.71904
  Normalizat = 1.04208
  Prefactor  = 0.731909
 **********
 **   18 **HESSE 
 **********

 FCN=   5349.408     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6450        17.182        .15579E-03   -1.5192    
   2  Index         2.7190        1.1071        .66756E-02   -.47371    
   3  Normalizat    1.0421        .34127        .39199E-03   -.91634    
   4  Prefactor     .73191        .19537        .26520E-03   -1.0229    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16453e-10
Minuit parameter uncertainties:
  1  17.1944
  2  1.11884
  3  0.341995
  4  0.195558
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/840813': 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) = 5349.40753125
delta logL = 0.120460382457

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  6.645e+00  1.719e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.719e+00  1.119e+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:  7.319e-01  1.956e-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.042e+00  3.420e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
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/840813/cmap_HighResolution_430876801_431136001_4FGL_J2324.7+0801_daily_bin739.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.63e-02', job_status='DONE', photon_flux_upper_limit='2.14e-07', time_completed='2021-09-29 16:27:43.375556', job_id='840813', GAL2='0.73', fit_tolerance='1e-08', EG2='1.04', EG='1.07', time_epoch_completed='1632958063.38', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='1.20e-01', ts2='0.46', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='739' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:27:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 840813: <4FGL_J2324.7+0801_daily_bin739> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin739 351.19 8.0282 430876801 431136001 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 :                                   644.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             279.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   727 sec.
    Turnaround time :                            729 sec.

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

