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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin598
RA = 351.19, Dec = 8.0282
tmin = 394329601, tmax = 394588801
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='840606', job_status='RUN', time_executed='2021-09-29 16:19:26.632583', time_epoch_executed='1632957566.63' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='598'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/840606

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

Retrieving the FT1 file...

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

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

Retrieving 53 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/840606/ft1_4FGL_J2324.7+0801_daily_bin598.fits


Retrieving the FT1 file...

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

Retrieving 53 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/840606/ft2_4FGL_J2324.7+0801_daily_bin598.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/840606/ft1_4FGL_J2324.7+0801_daily_bin598.fits outfile=/scratch/kocevski/840606/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin598.fits ra=351.19 dec=8.0282 rad=12.0 tmin=394329601.0 tmax=394588801.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 7.42
user 7.14
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/840606/ft1_filtered_4FGL_J2324.7+0801_daily_bin598.fits" evtable="EVENTS" scfile=/scratch/kocevski/840606/ft2_4FGL_J2324.7+0801_daily_bin598.fits sctable="SC_DATA" outfile=/scratch/kocevski/840606/ltcube_394329601_394588801_4FGL_J2324.7+0801_daily_bin598.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/840606/ft2_4FGL_J2324.7+0801_daily_bin598.fits
.....................!
real 11.66
user 11.29
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/840606/ft1_filtered_4FGL_J2324.7+0801_daily_bin598.fits evtable="EVENTS" scfile=/scratch/kocevski/840606/ft2_4FGL_J2324.7+0801_daily_bin598.fits sctable="SC_DATA" expcube=/scratch/kocevski/840606/ltcube_394329601_394588801_4FGL_J2324.7+0801_daily_bin598.fits outfile=/scratch/kocevski/840606/expmap_394329601_394588801_4FGL_J2324.7+0801_daily_bin598.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/840606/ltcube_394329601_394588801_4FGL_J2324.7+0801_daily_bin598.fits
.....................!
real 191.49
user 186.46
sys 4.62

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/840606/ft1_filtered_4FGL_J2324.7+0801_daily_bin598.fits scfile=/scratch/kocevski/840606/ft2_4FGL_J2324.7+0801_daily_bin598.fits outfile=/scratch/kocevski/840606/cmap_394329601_394588801_4FGL_J2324.7+0801_daily_bin598.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.19 yref=8.0282 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/840606/ft1_filtered_4FGL_J2324.7+0801_daily_bin598.fits scfile=/scratch/kocevski/840606/ft2_4FGL_J2324.7+0801_daily_bin598.fits outfile=/scratch/kocevski/840606/cmap_HighResolution_394329601_394588801_4FGL_J2324.7+0801_daily_bin598.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.56
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/840606/ft1_filtered_4FGL_J2324.7+0801_daily_bin598.fits evtable="EVENTS" scfile=/scratch/kocevski/840606/ft2_4FGL_J2324.7+0801_daily_bin598.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/840606/Model_4FGL_J2324.7+0801_daily_bin598.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/840606/ft1_filtered_4FGL_J2324.7+0801_daily_bin598.fits.....................!
real 62.50
user 61.07
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    2.5164       1.0000         .10000E-03   10000.    
     3 'norm      '    10.095       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.530       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.1298       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .28362       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.2207       1.0000         .10000E-03   10000.    
     9 'norm      '    1.9207       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17108E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .12807E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.1707       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.911       1.0000         .10000E-03   10000.    
    18 'norm      '    12.835       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.5074       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10919E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.9511       1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.0046       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .56612       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1132       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=   5641.163     FROM MIGRAD    STATUS=CONVERGED    629 CALLS     2943 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.5606       -.31792E-07** at limit **
   2  Prefactor     2.5163        .31361       -.70569E-08   -.50668E-03
   3  norm          10.099        13.864        .24373E-06    .26348E-04
   4  Prefactor     11.530        15.672        .10766E-06    .13740E-04
   5  Prefactor     1.1277        5.7918        .22389E-05    .47038E-04
   6  Prefactor     .10000E-03    4.1213       -.44994E-07** at limit **
   7  Prefactor     .32649E-03    20.324       -.88124E-06** at limit **
   8  Prefactor     3.2185        7.6880        .63489E-06   -.62914E-05
   9  norm          1.9209        1.1992        .41969E-07    .53597E-04
  10  Prefactor     .10000E-03    20.050        .25389E-05** at limit **
  11  Prefactor     .10000E-03    21.949       -.74122E-06** at limit **
  12  Prefactor     .10000E-03    34.751       -.35274E-07** at limit **
  13  norm          .10000E-03    9.5738        .11657E-05** at limit **
  14  Prefactor     3.1657        8.2836        .12023E-05   -.27922E-04
  15  Prefactor     .10000E-03    89.426        .11177E-06** at limit **
  16  Prefactor     .10000E-03    7.4106       -.10561E-06** at limit **
  17  Prefactor     22.830        31.098       -.38895E-06    .28378E-04
  18  norm          12.831        13.990       -.22193E-07   -.15214E-04
  19  norm          .10000E-03    10.656       -.49697E-07** at limit **
  20  Prefactor     3.5077        3.8345        .80320E-07    .12019E-04
  21  Prefactor     .10000E-03    117.04       -.26746E-06** at limit **
  22  Prefactor     4.9469        27.129        .10825E-05    .82978E-06
  23  Prefactor     3.9996        8.6598        .44089E-06    .24203E-04
  24  Normalizat    .56649        .23776       -.18659E-05   -.33149E-04
  25  Prefactor     1.1132        .14526        .15492E-06   -.90784E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.51628
  norm       = 10.0991
  Prefactor  = 11.5304
  Prefactor  = 1.12772
  Prefactor  = 0.0001
  Prefactor  = 0.000326489
  Prefactor  = 3.21852
  norm       = 1.92095
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.16575
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.8299
  norm       = 12.8305
  norm       = 0.0001
  Prefactor  = 3.50775
  Prefactor  = 0.0001
  Prefactor  = 4.94687
  Prefactor  = 3.99955
  Normalizat = 0.566492
  Prefactor  = 1.1132
 **********
 **   18 **HESSE 
 **********

 FCN=   5641.163     FROM HESSE     STATUS=OK           437 CALLS     3380 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.5668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.5163        .31344        .14219E-04   -1.5391    
   3  norm          10.099        13.857        .12612E-03   -1.5072    
   4  Prefactor     11.530        15.668        .11798E-03   -1.5029    
   5  Prefactor     1.1277        5.8241        .34905E-03   -1.5496    
   6  Prefactor     .10000E-03    4.1354        .14891E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .32649E-03    23.504        .90223E-01   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.2185        7.6735        .22573E-03   -1.5349    
   9  norm          1.9209        1.1986        .62522E-04   -1.5431    
  10  Prefactor     .10000E-03    20.388        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    22.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    34.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    9.5388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.1657        8.1552        .22760E-03   -1.5352    
  15  Prefactor     .10000E-03    89.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.4457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     22.830        30.917        .83683E-04   -1.4752    
  18  norm          12.831        13.985        .11181E-03   -1.4991    
  19  norm          .10000E-03    10.666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.5077        3.8285        .14865E-03   -1.5333    
  21  Prefactor     .10000E-03    118.75        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.9469        27.143        .18075E-03   -1.5263    
  23  Prefactor     3.9996        8.6528        .20153E-03   -1.5308    
  24  Normalizat    .56649        .26137        .38623E-03   -1.0943    
  25  Prefactor     1.1132        .16158        .18823E-03   -.89046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.3037e-10
Minuit parameter uncertainties:
  1  8.56095e-08
  2  0.313444
  3  13.8614
  4  15.6735
  5  5.12616
  6  8.34833e-07
  7  0.145981
  8  7.67582
  9  1.19863
  10  3.8644e-05
  11  4.18819e-05
  12  1.15115e-05
  13  1.72347e-05
  14  8.15809
  15  0.000135611
  16  3.96521e-06
  17  30.9389
  18  13.9884
  19  1.9679e-06
  20  3.82877
  21  0.000169717
  22  23.1912
  23  8.65549
  24  0.261939
  25  0.161649
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.000e-04  3.864e-05  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.113e+00  1.616e-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:  5.665e-01  2.619e-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: 9.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.57e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/840606/likelihoodResults_394329601_394588801_4FGL_J2324.7+0801_daily_bin598.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) = 5641.16372732
delta logL = -0.000233964156905

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5641.16349339
delta logL = -3.38932295563e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2536       1.0000          .0000       10.000    
     3 'Normalizat'    .56640       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1133       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5641.163     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      253 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10167E-03    42.584        .36285E-02** at limit **
   2  Index         2.3139        7.5841        .50000       -.10593E-04
   3  Normalizat    .56649        .74543E-02    .38624E-03    .10005E-03
   4  Prefactor     1.1132        .50021E-02    .18823E-03    .19570E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101674
  Index      = 2.31394
  Normalizat = 0.566492
  Prefactor  = 1.1132
 **********
 **   18 **HESSE 
 **********

 FCN=   5641.163     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      282 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10167E-03    361.36        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3139        5.4975        .50000       -.56713    
   3  Normalizat    .56649        .22105E-01    .15449E-04   -1.0943    
   4  Prefactor     1.1132        .14832E-01    .37646E-04   -.89046    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.88425e-09
Minuit parameter uncertainties:
  1  0.0494855
  2  425.06
  3  0.0221049
  4  0.0148319
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/840606': 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): 102
logL (Free Index) = 5641.16349317
delta logL = 1.79022208613e-07

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.017e-04  4.949e-02  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.314e+00  4.251e+02  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.113e+00  1.483e-02  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:  5.665e-01  2.210e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/840606/cmap_HighResolution_394329601_394588801_4FGL_J2324.7+0801_daily_bin598.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.57e-03', job_status='DONE', photon_flux_upper_limit='9.92e-08', time_completed='2021-09-29 16:30:37.070375', job_id='840606', GAL2='1.11', fit_tolerance='1e-08', EG2='0.57', EG='0.57', time_epoch_completed='1632958237.07', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='1.79e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='598' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:30:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 840606: <4FGL_J2324.7+0801_daily_bin598> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin598> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 16:15:19 2021
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:15:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 16:15:21 2021
Terminated at Wed Sep 29 16:30:37 2021
Results reported at Wed Sep 29 16:30:37 2021

Your job looked like:

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

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

