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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1579
RA = 351.19, Dec = 8.0282
tmin = 648604801, tmax = 648864001
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='844169', job_status='RUN', time_executed='2021-09-29 16:28:22.013152', time_epoch_executed='1632958102.01' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1579'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/844169

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/844169/ft1_4FGL_J2324.7+0801_daily_bin1579.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/844169/ft2_4FGL_J2324.7+0801_daily_bin1579.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/844169/ft1_4FGL_J2324.7+0801_daily_bin1579.fits outfile=/scratch/kocevski/844169/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1579.fits ra=351.19 dec=8.0282 rad=12.0 tmin=648604801.0 tmax=648864001.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.93
user 2.71
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/844169/ft1_filtered_4FGL_J2324.7+0801_daily_bin1579.fits" evtable="EVENTS" scfile=/scratch/kocevski/844169/ft2_4FGL_J2324.7+0801_daily_bin1579.fits sctable="SC_DATA" outfile=/scratch/kocevski/844169/ltcube_648604801_648864001_4FGL_J2324.7+0801_daily_bin1579.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/844169/ft2_4FGL_J2324.7+0801_daily_bin1579.fits
.....................!
real 12.17
user 11.81
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/844169/ft1_filtered_4FGL_J2324.7+0801_daily_bin1579.fits evtable="EVENTS" scfile=/scratch/kocevski/844169/ft2_4FGL_J2324.7+0801_daily_bin1579.fits sctable="SC_DATA" expcube=/scratch/kocevski/844169/ltcube_648604801_648864001_4FGL_J2324.7+0801_daily_bin1579.fits outfile=/scratch/kocevski/844169/expmap_648604801_648864001_4FGL_J2324.7+0801_daily_bin1579.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/844169/ltcube_648604801_648864001_4FGL_J2324.7+0801_daily_bin1579.fits
.....................!
real 189.57
user 185.19
sys 4.07

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/844169/ft1_filtered_4FGL_J2324.7+0801_daily_bin1579.fits scfile=/scratch/kocevski/844169/ft2_4FGL_J2324.7+0801_daily_bin1579.fits outfile=/scratch/kocevski/844169/cmap_648604801_648864001_4FGL_J2324.7+0801_daily_bin1579.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.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/844169/ft1_filtered_4FGL_J2324.7+0801_daily_bin1579.fits scfile=/scratch/kocevski/844169/ft2_4FGL_J2324.7+0801_daily_bin1579.fits outfile=/scratch/kocevski/844169/cmap_HighResolution_648604801_648864001_4FGL_J2324.7+0801_daily_bin1579.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/844169/ft1_filtered_4FGL_J2324.7+0801_daily_bin1579.fits evtable="EVENTS" scfile=/scratch/kocevski/844169/ft2_4FGL_J2324.7+0801_daily_bin1579.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/844169/Model_4FGL_J2324.7+0801_daily_bin1579.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/844169/ft1_filtered_4FGL_J2324.7+0801_daily_bin1579.fits.....................!
real 64.31
user 63.04
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.393       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .65195       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    38.026       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .53753       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.6645       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.4608       1.0000         .10000E-03   10000.    
     9 'norm      '    1.0551       1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.040       1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.183       1.0000         .10000E-03   10000.    
    12 'Prefactor '    64.184       1.0000         .10000E-03   10000.    
    13 'norm      '    8.3012       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .18843E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10226E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.863       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    10.598       1.0000         .10000E-03   10000.    
    19 'norm      '    3.7510       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    18.663       1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.0911       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .76615       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .86267       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=   5807.348     FROM MIGRAD    STATUS=CONVERGED    574 CALLS     2987 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.391        18.941        .69716E-07    .13597E-04
   2  Prefactor     .65194        .19726        .69826E-08    .30486E-03
   3  norm          .10000E-03    8.0983       -.25655E-07** at limit **
   4  Prefactor     37.999        41.080        .28525E-05    .31967E-04
   5  Prefactor     .50514        6.0425       -.33440E-05    .39600E-03
   6  Prefactor     7.6638        10.376        .14235E-07    .99003E-05
   7  Prefactor     .10000E-03    6.4049       -.78191E-07** at limit **
   8  Prefactor     8.4607        6.8097        .27746E-06    .55009E-04
   9  norm          1.0535        1.2713        .17984E-07    .10104E-04
  10  Prefactor     16.040        12.511       -.52503E-07    .78812E-06
  11  Prefactor     24.182        17.161       -.62444E-07    .34380E-05
  12  Prefactor     64.186        44.943       -.15058E-06   -.40111E-05
  13  norm          8.2944        9.1737        .16031E-06    .52021E-04
  14  Prefactor     .10000E-03    11.533        .23747E-06** at limit **
  15  Prefactor     .10000E-03    131.42       -.39636E-06** at limit **
  16  Prefactor     13.852        18.940        .11326E-05    .86469E-04
  17  Prefactor     .10000E-03    15.121        .10158E-06** at limit **
  18  norm          10.598        9.6176        .52750E-07    .81024E-05
  19  norm          3.7530        85.264       -.23332E-05   -.92593E-05
  20  Prefactor     .10000E-03    3.7208       -.25640E-06** at limit **
  21  Prefactor     .10000E-03    37.738        .38223E-07** at limit **
  22  Prefactor     18.661        22.691        .28239E-06   -.68238E-05
  23  Prefactor     3.0914        8.1588        .49106E-05    .23532E-03
  24  Normalizat    .76601        .20777       -.91551E-06    .76392E-04
  25  Prefactor     .86275        .12703       -.29950E-06    .82452E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.3914
  Prefactor  = 0.651936
  norm       = 0.0001
  Prefactor  = 37.9989
  Prefactor  = 0.505144
  Prefactor  = 7.6638
  Prefactor  = 0.0001
  Prefactor  = 8.46066
  norm       = 1.05347
  Prefactor  = 16.04
  Prefactor  = 24.1819
  Prefactor  = 64.1862
  norm       = 8.29437
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.8525
  Prefactor  = 0.0001
  norm       = 10.5975
  norm       = 3.75296
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.6611
  Prefactor  = 3.09139
  Normalizat = 0.766011
  Prefactor  = 0.862753
 **********
 **   18 **HESSE 
 **********

 FCN=   5807.348     FROM HESSE     STATUS=OK           437 CALLS     3424 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.391        18.960        .11379E-03   -1.5004    
   2  Prefactor     .65194        .19639        .17333E-04   -1.5546    
   3  norm          .10000E-03    8.1149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     37.999        41.064        .64996E-04   -1.4474    
   5  Prefactor     .50514        18.430        .27746E-02   -1.5566    
   6  Prefactor     7.6638        10.361        .14485E-03   -1.5154    
   7  Prefactor     .10000E-03    6.4116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.4607        6.8006        .13782E-03   -1.5126    
   9  norm          1.0535        1.2710        .47960E-04   -1.5503    
  10  Prefactor     16.040        12.493        .10000E-03   -1.4907    
  11  Prefactor     24.182        17.162        .81456E-04   -1.4724    
  12  Prefactor     64.186        44.969        .50091E-04   -1.4104    
  13  norm          8.2944        9.1021        .13914E-03   -1.5132    
  14  Prefactor     .10000E-03    11.774        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    131.45        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.852        18.618        .10757E-03   -1.4963    
  17  Prefactor     .10000E-03    15.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          10.598        9.6177        .12307E-03   -1.5057    
  19  norm          3.7530        81.797        .20847E-03   -1.5320    
  20  Prefactor     .10000E-03    3.8255        .28674E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    37.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     18.661        22.750        .92712E-04   -1.4844    
  23  Prefactor     3.0914        8.6695        .11534E-02   -1.5356    
  24  Normalizat    .76601        .24074        .32084E-03   -1.0134    
  25  Prefactor     .86275        .14934        .19143E-03   -.97455    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74128e-09
Minuit parameter uncertainties:
  1  18.9691
  2  0.196389
  3  2.06529e-07
  4  41.0947
  5  6.10385
  6  10.3634
  7  1.14056e-05
  8  6.80125
  9  1.27104
  10  12.4951
  11  17.165
  12  44.9925
  13  9.10358
  14  8.46942e-05
  15  0.000157842
  16  18.6255
  17  2.63179e-05
  18  9.61908
  19  35.0959
  20  2.9195e-05
  21  2.827e-05
  22  22.7606
  23  8.67304
  24  0.241076
  25  0.149412
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.604e+01  1.250e+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.628e-01  1.494e-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:  7.660e-01  2.411e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.16
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 5.77e-08 +/- 4.49e-08
Energy Flux (Fixed Index): 2.47e-05 +/- 1.92e-05

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

Saving results to:
/scratch/kocevski/844169/likelihoodResults_648604801_648864001_4FGL_J2324.7+0801_daily_bin1579.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) = 5807.26940902
delta logL = 0.0785582842864

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5807.26431607
delta logL = 0.0836512303295

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.581       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4687       1.0000          .0000       10.000    
     3 'Normalizat'    .75056       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86810       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=   5807.264     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      295 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.579        14.437        .11293E-03    .70477E-03
   2  Index         2.4682        .66173        .56208E-02    .19783E-03
   3  Normalizat    .75070        .23497        .32370E-03   -.31106E-03
   4  Prefactor     .86805        .14734        .19086E-03   -.77868E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.5787
  Index      = 2.46821
  Normalizat = 0.750697
  Prefactor  = 0.86805
 **********
 **   18 **HESSE 
 **********

 FCN=   5807.264     FROM HESSE     STATUS=OK            25 CALLS      320 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.579        13.125        .45173E-05   -1.4998    
   2  Index         2.4682        .60131        .22483E-03   -.53096    
   3  Normalizat    .75070        .23450        .12948E-04   -1.0192    
   4  Prefactor     .86805        .14719        .38172E-04   -.97267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.21404e-10
Minuit parameter uncertainties:
  1  13.128
  2  0.603275
  3  0.23481
  4  0.147255
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/844169': 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) = 5807.2643151
delta logL = 0.0836522055133

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.258e+01  1.313e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.468e+00  6.033e-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.680e-01  1.473e-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:  7.507e-01  2.348e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.33
Ra Dec: 351.190 8.028
Photon Index (Free Index): 2.47 +/- 0.60
Photon Flux (Free Index): 7.31e-08 +/- 6.12e-08
Energy Flux (Free Index): 2.20e-05 +/- 1.63e-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/844169/cmap_HighResolution_648604801_648864001_4FGL_J2324.7+0801_daily_bin1579.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-02', comment='SUCCESS', photon_flux='5.77e-08', energy_flux2='2.20e-05', photon_flux_error='4.49e-08', dlogl='8.37e-02', energy_flux='2.47e-05', photon_flux2='7.31e-08', job_status='DONE', time_completed='2021-09-29 16:39:09.894187', photon_index_error2='0.60', photon_index2='2.47', ts='3.16', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='1.50e-07', energy_flux_error2='1.63e-05', EG='0.77', time_epoch_completed='1632958749.89', return_code='0', job_id='844169', GAL2='0.87', EG2='0.75', return_code2='0', energy_flux_error='1.92e-05', photon_flux_error2='6.12e-08', ts2='3.33', photon_index='2.23' WHERE bin_id='1579' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:39:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 844169: <4FGL_J2324.7+0801_daily_bin1579> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1579> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 16:26:16 2021
Job was executed on host(s) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:26:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 16:26:17 2021
Terminated at Wed Sep 29 16:39:10 2021
Results reported at Wed Sep 29 16:39:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1579 351.19 8.0282 648604801 648864001 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 :                                   640.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             295.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            774 sec.

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

