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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin510
RA = 351.19, Dec = 8.0282
tmin = 371520001, tmax = 371779201
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='839369', job_status='RUN', time_executed='2021-09-29 16:12:07.933505', time_epoch_executed='1632957127.93' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='510'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/839369

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/839369/ft1_4FGL_J2324.7+0801_daily_bin510.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/839369/ft2_4FGL_J2324.7+0801_daily_bin510.fits


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

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

Done.
real 4.46
user 4.21
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/839369/ft1_filtered_4FGL_J2324.7+0801_daily_bin510.fits" evtable="EVENTS" scfile=/scratch/kocevski/839369/ft2_4FGL_J2324.7+0801_daily_bin510.fits sctable="SC_DATA" outfile=/scratch/kocevski/839369/ltcube_371520001_371779201_4FGL_J2324.7+0801_daily_bin510.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/839369/ft2_4FGL_J2324.7+0801_daily_bin510.fits
.....................!
real 11.44
user 11.10
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/839369/ft1_filtered_4FGL_J2324.7+0801_daily_bin510.fits evtable="EVENTS" scfile=/scratch/kocevski/839369/ft2_4FGL_J2324.7+0801_daily_bin510.fits sctable="SC_DATA" expcube=/scratch/kocevski/839369/ltcube_371520001_371779201_4FGL_J2324.7+0801_daily_bin510.fits outfile=/scratch/kocevski/839369/expmap_371520001_371779201_4FGL_J2324.7+0801_daily_bin510.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/839369/ltcube_371520001_371779201_4FGL_J2324.7+0801_daily_bin510.fits
.....................!
real 189.20
user 184.93
sys 3.95

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/839369/ft1_filtered_4FGL_J2324.7+0801_daily_bin510.fits scfile=/scratch/kocevski/839369/ft2_4FGL_J2324.7+0801_daily_bin510.fits outfile=/scratch/kocevski/839369/cmap_371520001_371779201_4FGL_J2324.7+0801_daily_bin510.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/839369/ft1_filtered_4FGL_J2324.7+0801_daily_bin510.fits scfile=/scratch/kocevski/839369/ft2_4FGL_J2324.7+0801_daily_bin510.fits outfile=/scratch/kocevski/839369/cmap_HighResolution_371520001_371779201_4FGL_J2324.7+0801_daily_bin510.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/839369/ft1_filtered_4FGL_J2324.7+0801_daily_bin510.fits evtable="EVENTS" scfile=/scratch/kocevski/839369/ft2_4FGL_J2324.7+0801_daily_bin510.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/839369/Model_4FGL_J2324.7+0801_daily_bin510.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/839369/ft1_filtered_4FGL_J2324.7+0801_daily_bin510.fits.....................!
real 68.78
user 66.89
sys 1.33

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .39303       1.0000         .10000E-03   10000.    
     3 'norm      '    1.5869       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.2154       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .84644       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.667       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.092       1.0000         .10000E-03   10000.    
     9 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.226       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.0409       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10181E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10233E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.0190       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.369       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    24.608       1.0000         .10000E-03   10000.    
    22 'Prefactor '    17.984       1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.7090       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1675       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .83699       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=   6164.138     FROM MIGRAD    STATUS=CONVERGED    594 CALLS     2957 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.899        .71300E-07** at limit **
   2  Prefactor     .39301        .14895       -.30808E-08   -.55268E-03
   3  norm          1.5855        30.132        .26119E-05    .46681E-04
   4  Prefactor     8.2113        24.529        .82995E-07    .20723E-04
   5  Prefactor     .10000E-03    1.8993       -.18735E-07** at limit **
   6  Prefactor     .83685        13.519        .37776E-05   -.42924E-03
   7  Prefactor     11.666        15.291       -.89711E-08    .25570E-05
   8  Prefactor     13.091        6.6003       -.24632E-06   -.71535E-03
   9  norm          .10000E-03    .70171        .15518E-07** at limit **
  10  Prefactor     13.226        13.076        .93334E-06    .84139E-03
  11  Prefactor     7.0401        11.316        .34487E-09   -.48611E-04
  12  Prefactor     .10000E-03    89.352        .18141E-06** at limit **
  13  norm          .10004E-03    8.2777       -.34752E-05** at limit **
  14  Prefactor     5.0194        7.1139        .14485E-05    .11142E-02
  15  Prefactor     .10000E-03    190.87       -.58970E-06** at limit **
  16  Prefactor     13.360        13.718        .23331E-06    .19147E-04
  17  Prefactor     .10000E-03    19.118       -.36239E-06** at limit **
  18  norm          .10000E-03    6.4260       -.99132E-08** at limit **
  19  norm          .10000E-03    22.268        .30175E-06** at limit **
  20  Prefactor     .10000E-03    2.4015       -.73999E-07** at limit **
  21  Prefactor     24.574        38.801       -.80469E-06   -.83062E-04
  22  Prefactor     17.981        17.153       -.47859E-07    .18716E-04
  23  Prefactor     5.7084        7.9012        .23545E-06    .92601E-04
  24  Normalizat    1.1681        .22121        .13942E-05    .32815E-03
  25  Prefactor     .83669        .13279       -.12595E-05    .35112E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.393009
  norm       = 1.58554
  Prefactor  = 8.21133
  Prefactor  = 0.0001
  Prefactor  = 0.836847
  Prefactor  = 11.6663
  Prefactor  = 13.0908
  norm       = 0.0001
  Prefactor  = 13.2258
  Prefactor  = 7.0401
  Prefactor  = 0.0001
  norm       = 0.000100037
  Prefactor  = 5.01938
  Prefactor  = 0.000100001
  Prefactor  = 13.3602
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.5736
  Prefactor  = 17.9813
  Prefactor  = 5.7084
  Normalizat = 1.16806
  Prefactor  = 0.836688
 **********
 **   18 **HESSE 
 **********

 FCN=   6164.138     FROM HESSE     STATUS=OK           427 CALLS     3384 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .39301        .14786        .17928E-04   -1.5583    
   3  norm          1.5855        29.989        .33696E-03   -1.5456    
   4  Prefactor     8.2113        24.533        .13987E-03   -1.5135    
   5  Prefactor     .10000E-03    1.9041        .10565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .83685        29.169        .44497E-02   -1.5525    
   7  Prefactor     11.666        15.294        .11728E-03   -1.5025    
   8  Prefactor     13.091        6.6590        .11071E-03   -1.4984    
   9  norm          .10000E-03    1.3216        .12658E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.226        13.303        .11014E-03   -1.4980    
  11  Prefactor     7.0401        11.310        .15118E-03   -1.5177    
  12  Prefactor     .10000E-03    89.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10004E-03    27.258        .33618E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.0194        7.5439        .17950E-03   -1.5260    
  15  Prefactor     .10000E-03    190.99        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.360        13.594        .10955E-03   -1.4977    
  17  Prefactor     .10000E-03    19.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    6.4524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    22.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.4109        .11866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     24.574        39.109        .80751E-04   -1.4716    
  22  Prefactor     17.981        17.166        .94444E-04   -1.4860    
  23  Prefactor     5.7084        7.8886        .16811E-03   -1.5230    
  24  Normalizat    1.1681        .25739        .28501E-03   -.87596    
  25  Prefactor     .83669        .15217        .20866E-03   -.98390    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.97351e-09
Minuit parameter uncertainties:
  1  9.15283e-06
  2  0.147861
  3  13.7988
  4  24.5631
  5  2.33955e-06
  6  9.88595
  7  15.2991
  8  6.65934
  9  4.66999e-06
  10  13.3062
  11  11.3135
  12  0.000317214
  13  0.00201157
  14  7.54529
  15  0.000766279
  16  13.5976
  17  0.000125181
  18  1.54693e-06
  19  0.000208482
  20  4.14185e-06
  21  39.1502
  22  17.1711
  23  7.89004
  24  0.257666
  25  0.152242
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.323e+01  1.331e+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.367e-01  1.522e-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.168e+00  2.577e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.39
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 4.76e-08 +/- 4.79e-08
Energy Flux (Fixed Index): 2.03e-05 +/- 2.04e-05

TS (Fixed Index): 1.39
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 1.45e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.11e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/839369/likelihoodResults_371520001_371779201_4FGL_J2324.7+0801_daily_bin510.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) = 6163.84006706
delta logL = 0.298079710291

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6163.82997039
delta logL = 0.308176386544

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9835       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8589       1.0000          .0000       10.000    
     3 'Normalizat'    1.1243       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85409       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=   6163.830     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      303 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9874        25.375        .14389E-03    .76252E-03
   2  Index         2.8589        1.9713        .52213E-02    .19464E-03
   3  Normalizat    1.1242        .26425        .28967E-03   -.58584E-03
   4  Prefactor     .85410        .16305        .20670E-03   -.24888E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.98742
  Index      = 2.85887
  Normalizat = 1.12424
  Prefactor  = 0.854097
 **********
 **   18 **HESSE 
 **********

 FCN=   6163.830     FROM HESSE     STATUS=OK            25 CALLS      328 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9874        11.594        .57556E-05   -1.5219    
   2  Index         2.8589        .94991        .20885E-03   -.44253    
   3  Normalizat    1.1242        .24795        .57934E-04   -.88977    
   4  Prefactor     .85410        .15359        .41341E-04   -.97764    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7559e-09
Minuit parameter uncertainties:
  1  11.5988
  2  0.957049
  3  0.24821
  4  0.153668
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/839369': 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) = 6163.82997005
delta logL = 0.3081767266

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  5.987e+00  1.160e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.859e+00  9.570e-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.541e-01  1.537e-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.124e+00  2.482e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.02
Ra Dec: 351.190 8.028
Photon Index (Free Index): 2.86 +/- 0.96
Photon Flux (Free Index): 8.00e-08 +/- 6.98e-08
Energy Flux (Free Index): 1.72e-05 +/- 1.45e-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/839369/cmap_HighResolution_371520001_371779201_4FGL_J2324.7+0801_daily_bin510.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', comment='SUCCESS', photon_flux='4.76e-08', energy_flux2='1.72e-05', photon_flux_error='4.79e-08', dlogl='3.08e-01', energy_flux='2.03e-05', photon_flux2='8.00e-08', job_status='DONE', time_completed='2021-09-29 16:23:32.212302', photon_index_error2='0.96', photon_index2='2.86', ts='1.39', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='1.45e-07', energy_flux_error2='1.45e-05', EG='1.17', time_epoch_completed='1632957812.21', return_code='0', job_id='839369', GAL2='0.85', EG2='1.12', return_code2='0', energy_flux_error='2.04e-05', photon_flux_error2='6.98e-08', ts2='2.02', photon_index='2.23' WHERE bin_id='510' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:23:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 839369: <4FGL_J2324.7+0801_daily_bin510> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin510 351.19 8.0282 371520001 371779201 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 :                                   683.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             342.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   785 sec.
    Turnaround time :                            786 sec.

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

