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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1332
RA = 351.19, Dec = 8.0282
tmin = 584582401, tmax = 584841601
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='843842', job_status='RUN', time_executed='2021-09-29 16:27:53.019874', time_epoch_executed='1632958073.02' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1332'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/843842

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/843842/ft1_4FGL_J2324.7+0801_daily_bin1332.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/843842/ft2_4FGL_J2324.7+0801_daily_bin1332.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/843842/ft1_4FGL_J2324.7+0801_daily_bin1332.fits outfile=/scratch/kocevski/843842/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1332.fits ra=351.19 dec=8.0282 rad=12.0 tmin=584582401.0 tmax=584841601.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 2.84
user 2.66
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/843842/ft2_4FGL_J2324.7+0801_daily_bin1332.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/843842/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1332.fits evtable="EVENTS" outfile="/scratch/kocevski/843842/ft1_filtered_4FGL_J2324.7+0801_daily_bin1332.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/843842/ft1_filtered_4FGL_J2324.7+0801_daily_bin1332.fits" evtable="EVENTS" scfile=/scratch/kocevski/843842/ft2_4FGL_J2324.7+0801_daily_bin1332.fits sctable="SC_DATA" outfile=/scratch/kocevski/843842/ltcube_584582401_584841601_4FGL_J2324.7+0801_daily_bin1332.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/843842/ft2_4FGL_J2324.7+0801_daily_bin1332.fits
.....................!
real 12.62
user 12.27
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/843842/ft1_filtered_4FGL_J2324.7+0801_daily_bin1332.fits evtable="EVENTS" scfile=/scratch/kocevski/843842/ft2_4FGL_J2324.7+0801_daily_bin1332.fits sctable="SC_DATA" expcube=/scratch/kocevski/843842/ltcube_584582401_584841601_4FGL_J2324.7+0801_daily_bin1332.fits outfile=/scratch/kocevski/843842/expmap_584582401_584841601_4FGL_J2324.7+0801_daily_bin1332.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/843842/ltcube_584582401_584841601_4FGL_J2324.7+0801_daily_bin1332.fits
.....................!
real 192.23
user 186.97
sys 4.91

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/843842/ft1_filtered_4FGL_J2324.7+0801_daily_bin1332.fits scfile=/scratch/kocevski/843842/ft2_4FGL_J2324.7+0801_daily_bin1332.fits outfile=/scratch/kocevski/843842/cmap_584582401_584841601_4FGL_J2324.7+0801_daily_bin1332.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/843842/ft1_filtered_4FGL_J2324.7+0801_daily_bin1332.fits scfile=/scratch/kocevski/843842/ft2_4FGL_J2324.7+0801_daily_bin1332.fits outfile=/scratch/kocevski/843842/cmap_HighResolution_584582401_584841601_4FGL_J2324.7+0801_daily_bin1332.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/843842/ft1_filtered_4FGL_J2324.7+0801_daily_bin1332.fits evtable="EVENTS" scfile=/scratch/kocevski/843842/ft2_4FGL_J2324.7+0801_daily_bin1332.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/843842/Model_4FGL_J2324.7+0801_daily_bin1332.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/843842/ft1_filtered_4FGL_J2324.7+0801_daily_bin1332.fits.....................!
real 82.58
user 81.01
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.4341       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    85.789       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.3638       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.620       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .56373       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.1059       1.0000         .10000E-03   10000.    
    11 'Prefactor '    27.851       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.4274       1.0000         .10000E-03   10000.    
    13 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13378E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .16280       1.0000         .10000E-03   10000.    
    19 'norm      '    .10124E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.311       1.0000         .10000E-03   10000.    
    21 'Prefactor '    56.033       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0397       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .73781       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=   7436.938     FROM MIGRAD    STATUS=CONVERGED    588 CALLS     3029 TOTAL
                     EDM=   .33E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.239        .97761E-06** at limit **
   2  Prefactor     1.4342        .23811       -.29816E-07   -.37957E-03
   3  norm          .10000E-03    6.6162       -.64599E-08** at limit **
   4  Prefactor     85.784        43.111        .40368E-06   -.49451E-05
   5  Prefactor     4.3626        7.8129        .26180E-05    .96163E-07
   6  Prefactor     11.622        13.204       -.47357E-06   -.21511E-05
   7  Prefactor     .10000E-03    15.986        .15327E-06** at limit **
   8  Prefactor     .10000E-03    2.7723        .27990E-07** at limit **
   9  norm          .56417        .97933        .68032E-07   -.12055E-03
  10  Prefactor     8.1059        6.8506        .51363E-07    .83771E-05
  11  Prefactor     27.854        17.812       -.97572E-07    .12322E-05
  12  Prefactor     3.3353        74.123        .43390E-05   -.26654E-05
  13  norm          .10000E-03    3.7883       -.59429E-09** at limit **
  14  Prefactor     .10000E-03    2.2340        .17322E-07** at limit **
  15  Prefactor     .10000E-03    170.76       -.17865E-05** at limit **
  16  Prefactor     .10007E-03    6.4216        .43174E-06** at limit **
  17  Prefactor     .10000E-03    11.062       -.39687E-06** at limit **
  18  norm          .17450        6.2772       -.18677E-07   -.97672E-05
  19  norm          .10000E-03    13.176       -.15588E-05** at limit **
  20  Prefactor     13.329        5.8385        .17097E-06    .26587E-04
  21  Prefactor     56.055        37.584       -.91399E-06   -.17116E-04
  22  Prefactor     .10000E-03    12.254        .86493E-06** at limit **
  23  Prefactor     .10000E-03    2.3304       -.32888E-08** at limit **
  24  Normalizat    1.0394        .19423       -.77972E-06   -.69730E-04
  25  Prefactor     .73804        .11293        .18025E-06   -.22503E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.43416
  norm       = 0.0001
  Prefactor  = 85.7836
  Prefactor  = 4.36264
  Prefactor  = 11.6219
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.564169
  Prefactor  = 8.10585
  Prefactor  = 27.8535
  Prefactor  = 3.33527
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100074
  Prefactor  = 0.0001
  norm       = 0.174498
  norm       = 0.0001
  Prefactor  = 13.3287
  Prefactor  = 56.0547
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.03935
  Prefactor  = 0.738038
 **********
 **   18 **HESSE 
 **********

 FCN=   7436.938     FROM HESSE     STATUS=OK           431 CALLS     3460 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.4342        .23848        .16104E-04   -1.5468    
   3  norm          .10000E-03    6.6331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     85.784        43.197        .43373E-04   -1.3853    
   5  Prefactor     4.3626        7.8515        .96406E-03   -1.5290    
   6  Prefactor     11.622        13.213        .11752E-03   -1.5026    
   7  Prefactor     .10000E-03    16.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.7890        .14013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .56417        .94144        .10595E-03   -1.5558    
  10  Prefactor     8.1059        6.8509        .14082E-03   -1.5138    
  11  Prefactor     27.854        17.822        .75912E-04   -1.4652    
  12  Prefactor     3.3353        74.280        .21849E-03   -1.5343    
  13  norm          .10000E-03    3.8210        .16380E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.2505        .12583E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    170.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10007E-03    95.152        .38087E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .17450        85.415        .41766E-02   -1.5624    
  19  norm          .10000E-03    13.212        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     13.329        5.4921        .10979E-03   -1.4978    
  21  Prefactor     56.055        37.878        .53589E-04   -1.4209    
  22  Prefactor     .10000E-03    12.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    2.3398        .12856E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0394        .22949        .29026E-03   -.91724    
  25  Prefactor     .73804        .13425        .20920E-03   -1.0205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.59585e-08
Minuit parameter uncertainties:
  1  8.01249e-06
  2  0.238484
  3  2.35136e-06
  4  43.2124
  5  7.85334
  6  13.2167
  7  2.56887e-05
  8  1.55341e-06
  9  0.941463
  10  6.8516
  11  17.8257
  12  31.5236
  13  1.47609e-06
  14  4.13743e-07
  15  4.52497e-06
  16  0.00531825
  17  1.06617e-05
  18  7.73021
  19  2.37689e-06
  20  5.49228
  21  37.8948
  22  1.56872e-05
  23  4.47931e-07
  24  0.22971
  25  0.134307
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  8.106e+00  6.852e+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

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  7.380e-01  1.343e-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.039e+00  2.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.41
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 2.92e-08 +/- 2.46e-08
Energy Flux (Fixed Index): 1.25e-05 +/- 1.05e-05

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) = 7435.95578279
delta logL = 0.981719640736

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7435.91785484
delta logL = 1.01964759475

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5877       1.0000         .10000E-03   10000.    
     2 'Index     '    1.1785       1.0000          .0000       10.000    
     3 'Normalizat'    1.0557       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73779       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=   7435.918     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      212 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5581        5.5974        .42488E-02   -.37684E-03
   2  Index         1.1759        .45208        .28959       -.26882E-04
   3  Normalizat    1.0557        .18003        .65168E-01    .80185E-05
   4  Prefactor     .73777        .11173        .42902E-01    .20967E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55814
  Index      = 1.17595
  Normalizat = 1.05574
  Prefactor  = 0.73777
 **********
 **   18 **HESSE 
 **********

 FCN=   7435.918     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5581        7.9919        .16995E-03   -1.5236    
   2  Index         1.1759        .70518        .11654E-01   -.87075    
   3  Normalizat    1.0557        .21154        .28827E-03   -.91186    
   4  Prefactor     .73777        .13146        .20930E-03   -1.0206    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45026e-11
Minuit parameter uncertainties:
  1  7.99341
  2  0.710936
  3  0.211707
  4  0.13152
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/843842': 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) = 7435.91784798
delta logL = 1.01965445311

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  5.558e+00  7.993e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  1.176e+00  7.109e-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:  7.378e-01  1.315e-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.056e+00  2.117e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.40
Ra Dec: 351.190 8.028
Photon Index (Free Index): 1.18 +/- 0.71
Photon Flux (Free Index): 5.53e-09 +/- 7.85e-09
Energy Flux (Free Index): 4.97e-05 +/- 7.28e-05

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/843842/cmap_HighResolution_584582401_584841601_4FGL_J2324.7+0801_daily_bin1332.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.92e-08', energy_flux2='4.97e-05', photon_flux_error='2.46e-08', dlogl='1.02e+00', energy_flux='1.25e-05', photon_flux2='5.53e-09', job_status='DONE', time_completed='2021-09-29 16:41:06.582973', photon_index_error2='0.71', photon_index2='1.18', ts='7.41', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', energy_flux_error2='7.28e-05', EG='1.04', time_epoch_completed='1632958866.58', return_code='0', job_id='843842', GAL2='0.74', EG2='1.06', return_code2='0', energy_flux_error='1.05e-05', photon_flux_error2='7.85e-09', ts2='9.40', photon_index='2.23' WHERE bin_id='1332' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:41:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 843842: <4FGL_J2324.7+0801_daily_bin1332> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1332> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 16:25:46 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:25:48 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:25:48 2021
Terminated at Wed Sep 29 16:41:07 2021
Results reported at Wed Sep 29 16:41:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1332 351.19 8.0282 584582401 584841601 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 :                                   687.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            921 sec.

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

