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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1432
RA = 351.19, Dec = 8.0282
tmin = 610502401, tmax = 610761601
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='843992', job_status='RUN', time_executed='2021-09-29 16:27:00.193713', time_epoch_executed='1632958020.19' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1432'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/843992

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/843992/ft1_4FGL_J2324.7+0801_daily_bin1432.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/843992/ft2_4FGL_J2324.7+0801_daily_bin1432.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/843992/ft1_4FGL_J2324.7+0801_daily_bin1432.fits outfile=/scratch/kocevski/843992/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1432.fits ra=351.19 dec=8.0282 rad=12.0 tmin=610502401.0 tmax=610761601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.62
user 3.41
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/843992/ft2_4FGL_J2324.7+0801_daily_bin1432.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/843992/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1432.fits evtable="EVENTS" outfile="/scratch/kocevski/843992/ft1_filtered_4FGL_J2324.7+0801_daily_bin1432.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/843992/ft1_filtered_4FGL_J2324.7+0801_daily_bin1432.fits" evtable="EVENTS" scfile=/scratch/kocevski/843992/ft2_4FGL_J2324.7+0801_daily_bin1432.fits sctable="SC_DATA" outfile=/scratch/kocevski/843992/ltcube_610502401_610761601_4FGL_J2324.7+0801_daily_bin1432.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/843992/ft2_4FGL_J2324.7+0801_daily_bin1432.fits
.....................!
real 11.65
user 11.32
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/843992/ft1_filtered_4FGL_J2324.7+0801_daily_bin1432.fits evtable="EVENTS" scfile=/scratch/kocevski/843992/ft2_4FGL_J2324.7+0801_daily_bin1432.fits sctable="SC_DATA" expcube=/scratch/kocevski/843992/ltcube_610502401_610761601_4FGL_J2324.7+0801_daily_bin1432.fits outfile=/scratch/kocevski/843992/expmap_610502401_610761601_4FGL_J2324.7+0801_daily_bin1432.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/843992/ltcube_610502401_610761601_4FGL_J2324.7+0801_daily_bin1432.fits
.....................!
real 190.00
user 185.15
sys 4.54

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/843992/ft1_filtered_4FGL_J2324.7+0801_daily_bin1432.fits scfile=/scratch/kocevski/843992/ft2_4FGL_J2324.7+0801_daily_bin1432.fits outfile=/scratch/kocevski/843992/cmap_610502401_610761601_4FGL_J2324.7+0801_daily_bin1432.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.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10496E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .29012       1.0000         .10000E-03   10000.    
     3 'norm      '    30.199       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .88100       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.9979       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .55905       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.0877       1.0000         .10000E-03   10000.    
     9 'norm      '    .90417       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.531       1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.180       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.8101       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.7821       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .24296E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.4026       1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.104       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.4912       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .99089       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .85362       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=   6396.389     FROM MIGRAD    STATUS=CONVERGED    556 CALLS     2892 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    41.206       -.26504E-04** at limit **
   2  Prefactor     .29011        .13198       -.70498E-09    .37026E-02
   3  norm          30.196        19.059       -.47247E-06    .40665E-04
   4  Prefactor     .85641        14.761       -.38896E-05    .13513E-03
   5  Prefactor     4.9982        5.7015       -.77230E-06   -.14478E-03
   6  Prefactor     .10000E-03    3.6071       -.19438E-07** at limit **
   7  Prefactor     .50909        10.247       -.95779E-06   -.88043E-04
   8  Prefactor     3.0873        5.9472       -.15505E-05   -.41493E-03
   9  norm          .90424        .86859       -.69268E-07   -.21961E-03
  10  Prefactor     12.530        10.993        .10064E-05    .69493E-04
  11  Prefactor     19.176        21.426       -.35095E-05   -.22056E-04
  12  Prefactor     .10000E-03    52.333        .32692E-04** at limit **
  13  norm          3.8091        6.0043        .16790E-05   -.19741E-03
  14  Prefactor     4.7810        6.2444        .62274E-06   -.31209E-03
  15  Prefactor     .10000E-03    72.340       -.44975E-04** at limit **
  16  Prefactor     .10000E-03    9.1529        .71286E-05** at limit **
  17  Prefactor     .10000E-03    9.0705       -.65875E-05** at limit **
  18  norm          .10001E-03    49.747        .29188E-04** at limit **
  19  norm          .10000E-03    11.456       -.32708E-06** at limit **
  20  Prefactor     4.4041        4.5046        .81393E-06   -.30062E-03
  21  Prefactor     19.073        37.876       -.43915E-04   -.11472E-04
  22  Prefactor     .10000E-03    6.4826        .25311E-06** at limit **
  23  Prefactor     9.4891        11.033       -.25376E-06   -.86411E-04
  24  Normalizat    .99108        .20342        .51653E-05   -.97594E-04
  25  Prefactor     .85349        .12123        .14023E-06    .21781E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.290107
  norm       = 30.1962
  Prefactor  = 0.856408
  Prefactor  = 4.99818
  Prefactor  = 0.0001
  Prefactor  = 0.509086
  Prefactor  = 3.0873
  norm       = 0.90424
  Prefactor  = 12.5304
  Prefactor  = 19.176
  Prefactor  = 0.0001
  norm       = 3.80913
  Prefactor  = 4.781
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100011
  norm       = 0.0001
  Prefactor  = 4.40405
  Prefactor  = 19.0727
  Prefactor  = 0.0001
  Prefactor  = 9.48906
  Normalizat = 0.99108
  Prefactor  = 0.853487
 **********
 **   18 **HESSE 
 **********

 FCN=   6396.389     FROM HESSE     STATUS=OK           435 CALLS     3327 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    42.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .29011        .13072        .18817E-04   -1.5600    
   3  norm          30.196        19.052        .72909E-04   -1.4608    
   4  Prefactor     .85641        80.500        .59069E-02   -1.5523    
   5  Prefactor     4.9982        5.6968        .17988E-03   -1.5261    
   6  Prefactor     .10000E-03    3.6165        .14834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .50909        97.545        .48926E-02   -1.5565    
   8  Prefactor     3.0873        5.9125        .23081E-03   -1.5357    
   9  norm          .90424        .86283        .70339E-04   -1.5518    
  10  Prefactor     12.530        10.977        .11316E-03   -1.5000    
  11  Prefactor     19.176        21.358        .91454E-04   -1.4832    
  12  Prefactor     .10000E-03    52.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.8091        5.9633        .20679E-03   -1.5318    
  14  Prefactor     4.7810        6.2319        .18398E-03   -1.5271    
  15  Prefactor     .10000E-03    72.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.2078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.0817        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10001E-03    51.535        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    11.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.4041        4.4998        .16357E-03   -1.5288    
  21  Prefactor     19.073        38.095        .91636E-04   -1.4834    
  22  Prefactor     .10000E-03    6.4930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     9.4891        11.055        .13008E-03   -1.5092    
  24  Normalizat    .99108        .23873        .29143E-03   -.93330    
  25  Prefactor     .85349        .14341        .19609E-03   -.97786    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06101e-09
Minuit parameter uncertainties:
  1  0.000158628
  2  0.130716
  3  19.0555
  4  16.6282
  5  5.69745
  6  9.05016e-06
  7  14.1158
  8  5.9136
  9  0.862839
  10  10.9792
  11  21.3669
  12  7.24588e-05
  13  5.96426
  14  6.23271
  15  8.03908e-06
  16  3.16411e-05
  17  4.1764e-06
  18  0.00147805
  19  6.81062e-06
  20  4.50018
  21  38.1434
  22  4.73305e-05
  23  11.0572
  24  0.238988
  25  0.143468
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.253e+01  1.098e+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:  8.535e-01  1.435e-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:  9.911e-01  2.390e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.29
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 4.51e-08 +/- 3.95e-08
Energy Flux (Fixed Index): 1.93e-05 +/- 1.69e-05

TS (Fixed Index): 2.29
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 1.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.95e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/843992/likelihoodResults_610502401_610761601_4FGL_J2324.7+0801_daily_bin1432.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) = 6396.3731705
delta logL = 0.0154224681773

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6396.36356939
delta logL = 0.0250235783706

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.783       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3506       1.0000          .0000       10.000    
     3 'Normalizat'    .98687       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85492       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=   6396.364     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      217 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.795        264.41        .30502E-02    .23564E-03
   2  Index         2.3502        3.5106        .12716        .17031E-03
   3  Normalizat    .98649        .89938E-01    .66023E-01    .39054E-03
   4  Prefactor     .85523        .49495E-01    .44428E-01    .68529E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.7948
  Index      = 2.35024
  Normalizat = 0.986491
  Prefactor  = 0.855226
 **********
 **   18 **HESSE 
 **********

 FCN=   6396.364     FROM HESSE     STATUS=OK            29 CALLS      246 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.795        13.258        .12201E-03   -1.5051    
   2  Index         2.3502        .59826        .63036E-02   -.55854    
   3  Normalizat    .98649        .22430        .29203E-03   -.93484    
   4  Prefactor     .85523        .14165        .19590E-03   -.97724    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15927e-10
Minuit parameter uncertainties:
  1  13.2618
  2  0.600259
  3  0.224518
  4  0.141712
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/843992': 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) = 6396.36356643
delta logL = 0.0250265361519

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.079e+01  1.326e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.350e+00  6.003e-01  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:  8.552e-01  1.417e-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:  9.865e-01  2.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.34
Ra Dec: 351.190 8.028
Photon Index (Free Index): 2.35 +/- 0.60
Photon Flux (Free Index): 4.94e-08 +/- 4.43e-08
Energy Flux (Free Index): 1.73e-05 +/- 1.76e-05

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/843992/cmap_HighResolution_610502401_610761601_4FGL_J2324.7+0801_daily_bin1432.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.95e-03', comment='SUCCESS', photon_flux='4.51e-08', energy_flux2='1.73e-05', photon_flux_error='3.95e-08', dlogl='2.50e-02', energy_flux='1.93e-05', photon_flux2='4.94e-08', job_status='DONE', time_completed='2021-09-29 16:39:12.657321', photon_index_error2='0.60', photon_index2='2.35', ts='2.29', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='1.30e-07', energy_flux_error2='1.76e-05', EG='0.99', time_epoch_completed='1632958752.66', return_code='0', job_id='843992', GAL2='0.86', EG2='0.99', return_code2='0', energy_flux_error='1.69e-05', photon_flux_error2='4.43e-08', ts2='2.34', photon_index='2.23' WHERE bin_id='1432' 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 <scs@bullet0256>
Subject: Job 843992: <4FGL_J2324.7+0801_daily_bin1432> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1432> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 16:26:00 2021
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:26:01 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:01 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_bin1432 351.19 8.0282 610502401 610761601 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 :                                   673.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            793 sec.

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

