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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1145
RA = 351.19, Dec = 8.0282
tmin = 536112001, tmax = 536371201
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='843575', job_status='RUN', time_executed='2021-09-29 16:28:04.300426', time_epoch_executed='1632958084.3' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1145'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/843575

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/843575/ft1_4FGL_J2324.7+0801_daily_bin1145.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/843575/ft2_4FGL_J2324.7+0801_daily_bin1145.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/843575/ft1_4FGL_J2324.7+0801_daily_bin1145.fits outfile=/scratch/kocevski/843575/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1145.fits ra=351.19 dec=8.0282 rad=12.0 tmin=536112001.0 tmax=536371201.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.53
user 3.30
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/843575/ft1_filtered_4FGL_J2324.7+0801_daily_bin1145.fits" evtable="EVENTS" scfile=/scratch/kocevski/843575/ft2_4FGL_J2324.7+0801_daily_bin1145.fits sctable="SC_DATA" outfile=/scratch/kocevski/843575/ltcube_536112001_536371201_4FGL_J2324.7+0801_daily_bin1145.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/843575/ft2_4FGL_J2324.7+0801_daily_bin1145.fits
.....................!
real 12.00
user 11.58
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/843575/ft1_filtered_4FGL_J2324.7+0801_daily_bin1145.fits evtable="EVENTS" scfile=/scratch/kocevski/843575/ft2_4FGL_J2324.7+0801_daily_bin1145.fits sctable="SC_DATA" expcube=/scratch/kocevski/843575/ltcube_536112001_536371201_4FGL_J2324.7+0801_daily_bin1145.fits outfile=/scratch/kocevski/843575/expmap_536112001_536371201_4FGL_J2324.7+0801_daily_bin1145.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/843575/ltcube_536112001_536371201_4FGL_J2324.7+0801_daily_bin1145.fits
.....................!
real 191.42
user 186.21
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/843575/ft1_filtered_4FGL_J2324.7+0801_daily_bin1145.fits scfile=/scratch/kocevski/843575/ft2_4FGL_J2324.7+0801_daily_bin1145.fits outfile=/scratch/kocevski/843575/cmap_536112001_536371201_4FGL_J2324.7+0801_daily_bin1145.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/843575/ft1_filtered_4FGL_J2324.7+0801_daily_bin1145.fits scfile=/scratch/kocevski/843575/ft2_4FGL_J2324.7+0801_daily_bin1145.fits outfile=/scratch/kocevski/843575/cmap_HighResolution_536112001_536371201_4FGL_J2324.7+0801_daily_bin1145.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.19 yref=8.0282 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/843575/ft1_filtered_4FGL_J2324.7+0801_daily_bin1145.fits evtable="EVENTS" scfile=/scratch/kocevski/843575/ft2_4FGL_J2324.7+0801_daily_bin1145.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/843575/Model_4FGL_J2324.7+0801_daily_bin1145.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/843575/ft1_filtered_4FGL_J2324.7+0801_daily_bin1145.fits.....................!
real 87.94
user 86.33
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.8007       1.0000         .10000E-03   10000.    
     3 'norm      '    27.126       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.0278       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.2955       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.4215       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.0263       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    40.926       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    28.792       1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.6837       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3184       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .92319       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=   8032.821     FROM MIGRAD    STATUS=CONVERGED    591 CALLS     2935 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.335        .47695E-06** at limit **
   2  Prefactor     3.8008        .35566       -.29887E-07    .73458E-03
   3  norm          27.129        18.129       -.26468E-05    .22255E-04
   4  Prefactor     6.0340        34.331       -.10590E-04   -.78914E-05
   5  Prefactor     .10000E-03    3.3211       -.60685E-07** at limit **
   6  Prefactor     .10000E-03    10.248       -.10165E-05** at limit **
   7  Prefactor     .10000E-03    5.1161       -.44761E-05** at limit **
   8  Prefactor     .10000E-03    4.7168        .96276E-06** at limit **
   9  norm          .10000E-03    .43727       -.53344E-07** at limit **
  10  Prefactor     8.2970        7.4357       -.98841E-07    .57876E-04
  11  Prefactor     9.4297        19.502       -.14082E-04   -.43849E-04
  12  Prefactor     .10000E-03    34.843        .29320E-06** at limit **
  13  norm          .10000E-03    2.1956       -.67784E-07** at limit **
  14  Prefactor     4.0267        4.7581       -.11485E-05   -.29365E-03
  15  Prefactor     .10000E-03    279.13       -.68543E-05** at limit **
  16  Prefactor     .10000E-03    27.874       -.17153E-06** at limit **
  17  Prefactor     .10000E-03    5.5886       -.46252E-05** at limit **
  18  norm          .10000E-03    5.3441        .78073E-05** at limit **
  19  norm          40.929        28.761       -.22501E-05   -.16321E-03
  20  Prefactor     .10000E-03    3.2557        .74649E-06** at limit **
  21  Prefactor     28.750        40.790       -.96923E-05    .66041E-05
  22  Prefactor     6.6881        16.582       -.31056E-05   -.23497E-04
  23  Prefactor     .10000E-03    1.9144       -.10339E-06** at limit **
  24  Normalizat    1.3179        .22737        .42138E-05   -.13717E-03
  25  Prefactor     .92350        .13577        .44775E-06    .12307E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.80076
  norm       = 27.1286
  Prefactor  = 6.034
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 8.29704
  Prefactor  = 9.42965
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.02668
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 40.9291
  Prefactor  = 0.0001
  Prefactor  = 28.7497
  Prefactor  = 6.68805
  Prefactor  = 0.0001
  Normalizat = 1.31794
  Prefactor  = 0.923504
 **********
 **   18 **HESSE 
 **********

 FCN=   8032.821     FROM HESSE     STATUS=OK           423 CALLS     3358 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.8008        .35614        .15675E-04   -1.5318    
   3  norm          27.129        18.130        .76919E-04   -1.4666    
   4  Prefactor     6.0340        34.432        .16354E-03   -1.5217    
   5  Prefactor     .10000E-03    3.3407        .15948E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.1137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.7949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.2820        .11535E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.2970        7.4378        .13919E-03   -1.5132    
  11  Prefactor     9.4297        19.561        .13056E-03   -1.5094    
  12  Prefactor     .10000E-03    34.887        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.2021        .12966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.0267        4.7636        .20097E-03   -1.5307    
  15  Prefactor     .10000E-03    279.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    28.269        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.5846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.3342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          40.929        26.860        .62659E-04   -1.4428    
  20  Prefactor     .10000E-03    6.9271        .29406E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     28.750        40.786        .74665E-04   -1.4635    
  22  Prefactor     6.6881        16.586        .15521E-03   -1.5191    
  23  Prefactor     .10000E-03    1.9160        .12111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.3179        .26497        .33290E-03   -.83033    
  25  Prefactor     .92350        .15892        .24328E-03   -.95325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.74245e-10
Minuit parameter uncertainties:
  1  9.82266e-06
  2  0.356139
  3  18.1333
  4  28.8529
  5  2.51516e-06
  6  2.48779e-05
  7  8.40154e-07
  8  0.000113591
  9  2.39153e-06
  10  7.43861
  11  19.5738
  12  1.28295e-05
  13  4.39629e-07
  14  4.76405
  15  3.66759e-05
  16  0.000306075
  17  1.04427e-06
  18  4.48387e-06
  19  26.8681
  20  6.87786e-05
  21  40.8251
  22  16.5969
  23  7.79809e-07
  24  0.265246
  25  0.158998
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  8.297e+00  7.439e+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:  9.235e-01  1.590e-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.318e+00  2.652e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.67
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 2.99e-08 +/- 2.68e-08
Energy Flux (Fixed Index): 1.28e-05 +/- 1.14e-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) = 8032.2921007
delta logL = 0.52859158073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8032.28933415
delta logL = 0.531358137

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5968       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4497       1.0000          .0000       10.000    
     3 'Normalizat'    1.3361       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92064       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=   8032.289     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      202 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.5968        11.368        .34179E-02   -.20889E-02
   2  Index         1.4499        .67633        .30409       -.46132E-04
   3  Normalizat    1.3361        .21753        .74785E-01    .11111E-04
   4  Prefactor     .92066        .13571        .45268E-01    .11524E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.59683
  Index      = 1.44991
  Normalizat = 1.33614
  Prefactor  = 0.920658
 **********
 **   18 **HESSE 
 **********

 FCN=   8032.289     FROM HESSE     STATUS=OK            31 CALLS      233 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.5968        9.7464        .13672E-03   -1.5121    
   2  Index         1.4499        .71167        .12609E-01   -.78952    
   3  Normalizat    1.3361        .25243        .33094E-03   -.82494    
   4  Prefactor     .92066        .15869        .24363E-03   -.95423    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.7302e-09
Minuit parameter uncertainties:
  1  9.74819
  2  0.716608
  3  0.252664
  4  0.158775
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/843575': 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) = 8032.28933394
delta logL = 0.531358344108

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  8.597e+00  9.748e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  1.450e+00  7.166e-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:  9.207e-01  1.588e-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.336e+00  2.527e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.70
Ra Dec: 351.190 8.028
Photon Index (Free Index): 1.45 +/- 0.72
Photon Flux (Free Index): 9.61e-09 +/- 1.45e-08
Energy Flux (Free Index): 3.60e-05 +/- 5.78e-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/843575/cmap_HighResolution_536112001_536371201_4FGL_J2324.7+0801_daily_bin1145.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.99e-08', energy_flux2='3.60e-05', photon_flux_error='2.68e-08', dlogl='5.31e-01', energy_flux='1.28e-05', photon_flux2='9.61e-09', job_status='DONE', time_completed='2021-09-29 16:40:22.364426', photon_index_error2='0.72', photon_index2='1.45', ts='4.67', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='5.78e-05', EG='1.32', time_epoch_completed='1632958822.36', return_code='0', job_id='843575', GAL2='0.92', EG2='1.34', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='1.45e-08', ts2='5.70', photon_index='2.23' WHERE bin_id='1145' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:40:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 843575: <4FGL_J2324.7+0801_daily_bin1145> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1145 351.19 8.0282 536112001 536371201 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 :                                   733.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             286.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            900 sec.

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

