/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 24 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 = 7394
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1454
RA = 351.19, Dec = 8.0282
tmin = 616204801, tmax = 616464001
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='844024', job_status='RUN', time_executed='2021-09-29 16:26:48.012470', time_epoch_executed='1632958008.01' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1454'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/844024

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/844024/ft1_4FGL_J2324.7+0801_daily_bin1454.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/844024/ft2_4FGL_J2324.7+0801_daily_bin1454.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/844024/ft1_4FGL_J2324.7+0801_daily_bin1454.fits outfile=/scratch/kocevski/844024/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1454.fits ra=351.19 dec=8.0282 rad=12.0 tmin=616204801.0 tmax=616464001.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.05
user 3.82
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/844024/ft1_filtered_4FGL_J2324.7+0801_daily_bin1454.fits evtable="EVENTS" scfile=/scratch/kocevski/844024/ft2_4FGL_J2324.7+0801_daily_bin1454.fits sctable="SC_DATA" expcube=/scratch/kocevski/844024/ltcube_616204801_616464001_4FGL_J2324.7+0801_daily_bin1454.fits outfile=/scratch/kocevski/844024/expmap_616204801_616464001_4FGL_J2324.7+0801_daily_bin1454.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/844024/ltcube_616204801_616464001_4FGL_J2324.7+0801_daily_bin1454.fits
.....................!
real 191.60
user 186.33
sys 4.93

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/844024/ft1_filtered_4FGL_J2324.7+0801_daily_bin1454.fits scfile=/scratch/kocevski/844024/ft2_4FGL_J2324.7+0801_daily_bin1454.fits outfile=/scratch/kocevski/844024/cmap_616204801_616464001_4FGL_J2324.7+0801_daily_bin1454.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/844024/ft1_filtered_4FGL_J2324.7+0801_daily_bin1454.fits scfile=/scratch/kocevski/844024/ft2_4FGL_J2324.7+0801_daily_bin1454.fits outfile=/scratch/kocevski/844024/cmap_HighResolution_616204801_616464001_4FGL_J2324.7+0801_daily_bin1454.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/844024/ft1_filtered_4FGL_J2324.7+0801_daily_bin1454.fits evtable="EVENTS" scfile=/scratch/kocevski/844024/ft2_4FGL_J2324.7+0801_daily_bin1454.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/844024/Model_4FGL_J2324.7+0801_daily_bin1454.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/844024/ft1_filtered_4FGL_J2324.7+0801_daily_bin1454.fits....................!
real 78.53
user 77.24
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .24072       1.0000         .10000E-03   10000.    
     3 'norm      '    52.476       1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.759       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.2580       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.132       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.971       1.0000         .10000E-03   10000.    
     9 'norm      '    .78365       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13505       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.6672       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.5484       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    19.697       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    47.285       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.3399       1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.2036       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .73697       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0923       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=   7359.688     FROM MIGRAD    STATUS=CONVERGED    593 CALLS     2529 TOTAL
                     EDM=   .45E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.1922        .15184E-07** at limit **
   2  Prefactor     .24075        .14495        .62776E-09   -.12686E-04
   3  norm          52.481        21.615        .72548E-06    .13930E-05
   4  Prefactor     22.756        26.607       -.24279E-05    .21492E-05
   5  Prefactor     2.2592        6.8913       -.34497E-06   -.16133E-04
   6  Prefactor     .10000E-03    17.546        .82271E-06** at limit **
   7  Prefactor     12.133        13.177        .95689E-07    .26334E-05
   8  Prefactor     11.972        7.7707        .81477E-06    .19155E-04
   9  norm          .78384        .81228       -.53771E-08   -.31453E-04
  10  Prefactor     .24432        7.6415       -.24177E-06   -.31022E-05
  11  Prefactor     .10000E-03    17.613       -.70790E-06** at limit **
  12  Prefactor     .10000E-03    30.785       -.92333E-07** at limit **
  13  norm          5.6217        8.7443        .66060E-06    .52519E-04
  14  Prefactor     2.5609        .80149        .31237E-08   -.19956E-03
  15  Prefactor     .10000E-03    63.772        .26417E-06** at limit **
  16  Prefactor     .10000E-03    2.3280       -.17224E-08** at limit **
  17  Prefactor     .10000E-03    15.662       -.11326E-06** at limit **
  18  norm          19.697        15.851       -.28023E-06    .28753E-05
  19  norm          .10000E-03    5.3775       -.21343E-08** at limit **
  20  Prefactor     .10000E-03    1.1100       -.19719E-08** at limit **
  21  Prefactor     47.286        33.242        .77688E-06    .31935E-05
  22  Prefactor     8.3418        13.965       -.12043E-06    .85905E-06
  23  Prefactor     5.2041        5.3377       -.82358E-06    .39612E-05
  24  Normalizat    .73685        .20015       -.41447E-06    .27136E-04
  25  Prefactor     1.0922        .12482        .10351E-06    .18401E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.240752
  norm       = 52.4807
  Prefactor  = 22.7557
  Prefactor  = 2.25915
  Prefactor  = 0.0001
  Prefactor  = 12.1334
  Prefactor  = 11.972
  norm       = 0.783839
  Prefactor  = 0.244325
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.62175
  Prefactor  = 2.56094
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 19.6971
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 47.2862
  Prefactor  = 8.34182
  Prefactor  = 5.20409
  Normalizat = 0.736852
  Prefactor  = 1.09225
 **********
 **   18 **HESSE 
 **********

 FCN=   7359.688     FROM HESSE     STATUS=OK           435 CALLS     2964 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.2014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .24075        .14094        .24053E-04   -1.5610    
   3  norm          52.481        21.612        .55366E-04   -1.4258    
   4  Prefactor     22.756        26.571        .83961E-04   -1.4754    
   5  Prefactor     2.2592        6.8595        .27339E-03   -1.5407    
   6  Prefactor     .10000E-03    17.846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.133        13.181        .11501E-03   -1.5011    
   8  Prefactor     11.972        7.7711        .11578E-03   -1.5016    
   9  norm          .78384        .78309        .76151E-03   -1.5531    
  10  Prefactor     .24432        139.53        .40530E-02   -1.5609    
  11  Prefactor     .10000E-03    17.769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    30.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.6217        10.454        .16874E-03   -1.5234    
  14  Prefactor     2.5609        7.3705        .12789E-02   -1.5388    
  15  Prefactor     .10000E-03    63.780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.3304        .12782E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    15.733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          19.697        15.887        .90246E-04   -1.4820    
  19  norm          .10000E-03    5.3811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.1165        .88253E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     47.286        33.324        .58311E-04   -1.4332    
  22  Prefactor     8.3418        13.961        .13882E-03   -1.5130    
  23  Prefactor     5.2041        5.3371        .17622E-03   -1.5252    
  24  Normalizat    .73685        .22801        .34598E-03   -1.0246    
  25  Prefactor     1.0922        .14324        .18733E-03   -.89715    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.0648e-08
Minuit parameter uncertainties:
  1  3.90619e-07
  2  0.140939
  3  21.6148
  4  26.5845
  5  6.86186
  6  8.74657e-06
  7  13.1841
  8  7.77175
  9  0.783098
  10  11.7024
  11  3.83192e-05
  12  3.60217e-06
  13  10.4572
  14  7.37315
  15  1.73624e-07
  16  3.4441e-07
  17  6.23771e-06
  18  15.8901
  19  3.12745e-07
  20  1.43772e-07
  21  33.3372
  22  13.9665
  23  5.33762
  24  0.2283
  25  0.143293
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  2.443e-01  1.170e+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.092e+00  1.433e-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.369e-01  2.283e-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.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.82e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/844024/likelihoodResults_616204801_616464001_4FGL_J2324.7+0801_daily_bin1454.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) = 7359.6861795
delta logL = 0.0015376037918

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7359.68617331
delta logL = 0.00154379505966

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24441       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5159       1.0000          .0000       10.000    
     3 'Normalizat'    .73628       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0923       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=   7359.686     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      261 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .48603        9.5134        .64647E-01    .49581E-03
   2  Index         2.4834        .51321        .50000        .97026E-05
   3  Normalizat    .73576        .65109E-02    .78201E-01    .18964E-03
   4  Prefactor     1.0921        .42378E-02    .37885E-01    .22623E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.48603
  Index      = 2.48341
  Normalizat = 0.735758
  Prefactor  = 1.0921
 **********
 **   18 **HESSE 
 **********

 FCN=   7359.686     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .91E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .48603        56.178        .38087E-02   -1.5569    
   2  Index         2.4834        6.2371        .73499E-02   -.52743    
   3  Normalizat    .73576        .21670        .34621E-03   -1.0250    
   4  Prefactor     1.0921        .14120        .18733E-03   -.89719    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.14834e-08
Minuit parameter uncertainties:
  1  10.4596
  2  4.76912
  3  0.216956
  4  0.141251
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/844024': 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) = 7359.68561725
delta logL = 0.00209985489073

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  4.860e-01  1.046e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.483e+00  4.769e+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.092e+00  1.413e-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.358e-01  2.170e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/844024/cmap_HighResolution_616204801_616464001_4FGL_J2324.7+0801_daily_bin1454.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.82e-03', job_status='DONE', photon_flux_upper_limit='8.94e-08', time_completed='2021-09-29 16:39:12.351978', job_id='844024', GAL2='1.09', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1632958752.35', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='2.10e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1454' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:39:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 844024: <4FGL_J2324.7+0801_daily_bin1454> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1454> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 16:26:02 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:26:04 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:26:04 2021
Terminated at Wed Sep 29 16:39:13 2021
Results reported at Wed Sep 29 16:39:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1454 351.19 8.0282 616204801 616464001 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 :                                   706.51 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             292.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            791 sec.

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

