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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin632
RA = 351.19, Dec = 8.0282
tmin = 403142401, tmax = 403401601
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='840657', job_status='RUN', time_executed='2021-09-29 16:16:38.773000', time_epoch_executed='1632957398.77' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='632'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/840657

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/840657/ft1_4FGL_J2324.7+0801_daily_bin632.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/840657/ft2_4FGL_J2324.7+0801_daily_bin632.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/840657/ft1_4FGL_J2324.7+0801_daily_bin632.fits outfile=/scratch/kocevski/840657/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin632.fits ra=351.19 dec=8.0282 rad=12.0 tmin=403142401.0 tmax=403401601.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.55
user 3.32
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/840657/ft1_filtered_4FGL_J2324.7+0801_daily_bin632.fits" evtable="EVENTS" scfile=/scratch/kocevski/840657/ft2_4FGL_J2324.7+0801_daily_bin632.fits sctable="SC_DATA" outfile=/scratch/kocevski/840657/ltcube_403142401_403401601_4FGL_J2324.7+0801_daily_bin632.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/840657/ft2_4FGL_J2324.7+0801_daily_bin632.fits
.....................!
real 11.76
user 11.38
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/840657/ft1_filtered_4FGL_J2324.7+0801_daily_bin632.fits evtable="EVENTS" scfile=/scratch/kocevski/840657/ft2_4FGL_J2324.7+0801_daily_bin632.fits sctable="SC_DATA" expcube=/scratch/kocevski/840657/ltcube_403142401_403401601_4FGL_J2324.7+0801_daily_bin632.fits outfile=/scratch/kocevski/840657/expmap_403142401_403401601_4FGL_J2324.7+0801_daily_bin632.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/840657/ltcube_403142401_403401601_4FGL_J2324.7+0801_daily_bin632.fits
.....................!
real 191.79
user 185.75
sys 5.66

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/840657/ft1_filtered_4FGL_J2324.7+0801_daily_bin632.fits scfile=/scratch/kocevski/840657/ft2_4FGL_J2324.7+0801_daily_bin632.fits outfile=/scratch/kocevski/840657/cmap_403142401_403401601_4FGL_J2324.7+0801_daily_bin632.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.54
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/840657/ft1_filtered_4FGL_J2324.7+0801_daily_bin632.fits scfile=/scratch/kocevski/840657/ft2_4FGL_J2324.7+0801_daily_bin632.fits outfile=/scratch/kocevski/840657/cmap_HighResolution_403142401_403401601_4FGL_J2324.7+0801_daily_bin632.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.9637       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    27.209       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.7686       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    30.165       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .77518       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.221       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    18.352       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .49703E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    124.89       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.822       1.0000         .10000E-03   10000.    
    18 'norm      '    23.558       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.3084       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    30.802       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .84766E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2026       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .77307       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=   6488.502     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2498 TOTAL
                     EDM=   .94E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.937       -.31474E-06** at limit **
   2  Prefactor     1.9637        .27058       -.65864E-08   -.48993E-03
   3  norm          .10000E-03    8.3439       -.14017E-06** at limit **
   4  Prefactor     27.212        28.012        .51304E-06    .44977E-05
   5  Prefactor     6.7685        6.5132        .82996E-09   -.55506E-04
   6  Prefactor     .10000E-03    10.345        .51666E-06** at limit **
   7  Prefactor     30.147        23.447       -.11043E-05   -.95127E-04
   8  Prefactor     .76944        7.7013        .32546E-05   -.15854E-03
   9  norm          .10000E-03    .31143       -.49162E-07** at limit **
  10  Prefactor     13.222        11.431       -.93009E-07   -.98623E-04
  11  Prefactor     .10000E-03    4.4337       -.11318E-06** at limit **
  12  Prefactor     .10000E-03    21.920        .24709E-06** at limit **
  13  norm          18.373        12.559       -.47541E-06   -.31074E-03
  14  Prefactor     .10000E-03    8.1538        .80738E-06** at limit **
  15  Prefactor     124.84        161.79       -.35186E-05   -.18856E-04
  16  Prefactor     .10000E-03    5.1193       -.19063E-06** at limit **
  17  Prefactor     11.842        21.478        .17678E-05    .20077E-04
  18  norm          23.554        19.324       -.30765E-06   -.68247E-04
  19  norm          .10000E-03    13.413       -.57936E-06** at limit **
  20  Prefactor     1.3084        3.3212        .64506E-06    .80550E-06
  21  Prefactor     .10000E-03    17.385        .41701E-06** at limit **
  22  Prefactor     30.804        22.553        .26819E-06   -.30161E-05
  23  Prefactor     .10000E-03    4.9199        .13353E-06** at limit **
  24  Normalizat    1.2027        .22080       -.72143E-06   -.16308E-03
  25  Prefactor     .77312        .13065       -.11392E-06   -.18841E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.9637
  norm       = 0.0001
  Prefactor  = 27.2119
  Prefactor  = 6.76854
  Prefactor  = 0.0001
  Prefactor  = 30.1472
  Prefactor  = 0.769442
  norm       = 0.0001
  Prefactor  = 13.2218
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.3734
  Prefactor  = 0.0001
  Prefactor  = 124.842
  Prefactor  = 0.0001
  Prefactor  = 11.8415
  norm       = 23.5539
  norm       = 0.0001
  Prefactor  = 1.3084
  Prefactor  = 0.0001
  Prefactor  = 30.8044
  Prefactor  = 0.0001
  Normalizat = 1.20266
  Prefactor  = 0.773122
 **********
 **   18 **HESSE 
 **********

 FCN=   6488.502     FROM HESSE     STATUS=OK           433 CALLS     2931 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.978        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.9637        .27090        .14905E-04   -1.5428    
   3  norm          .10000E-03    8.3977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.212        28.061        .76802E-04   -1.4664    
   5  Prefactor     6.7685        6.5099        .15423E-03   -1.5188    
   6  Prefactor     .10000E-03    10.443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     30.147        23.704        .72950E-04   -1.4609    
   8  Prefactor     .76944        8.0140        .42785E-02   -1.5533    
   9  norm          .10000E-03    .32317        .87704E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.222        11.416        .11016E-03   -1.4981    
  11  Prefactor     .10000E-03    4.4386        .16569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    21.948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          18.373        11.610        .93494E-04   -1.4850    
  14  Prefactor     .10000E-03    20.562        .38996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     124.84        162.38        .18009E-03   -1.3469    
  16  Prefactor     .10000E-03    5.1398        .17787E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.842        21.628        .11651E-03   -1.5020    
  18  norm          23.554        19.320        .82529E-04   -1.4737    
  19  norm          .10000E-03    13.457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.3084        3.2824        .22549E-03   -1.5479    
  21  Prefactor     .10000E-03    17.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     30.804        22.624        .72194E-04   -1.4597    
  23  Prefactor     .10000E-03    20.872        .34686E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.2027        .25654        .29900E-03   -.86521    
  25  Prefactor     .77312        .15211        .22468E-03   -1.0073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09485e-07
Minuit parameter uncertainties:
  1  1.18335e-05
  2  0.270897
  3  4.65948e-06
  4  28.0745
  5  6.51055
  6  2.12606e-05
  7  23.7116
  8  4.96694
  9  8.87454e-07
  10  11.4176
  11  5.42415e-06
  12  2.85128e-05
  13  11.6115
  14  9.57789e-05
  15  162.967
  16  3.83779e-06
  17  21.6426
  18  19.3249
  19  1.28512e-05
  20  3.28288
  21  1.63293e-05
  22  22.6301
  23  6.96717e-05
  24  0.256807
  25  0.152194
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.322e+01  1.142e+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:  7.731e-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.203e+00  2.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.73
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 4.76e-08 +/- 4.11e-08
Energy Flux (Fixed Index): 2.03e-05 +/- 1.75e-05

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

Saving results to:
/scratch/kocevski/840657/likelihoodResults_403142401_403401601_4FGL_J2324.7+0801_daily_bin632.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) = 6488.43683729
delta logL = 0.064805545755

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6488.43377487
delta logL = 0.0678679624725

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.226       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5067       1.0000          .0000       10.000    
     3 'Normalizat'    1.1848       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77920       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=   6488.434     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      296 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.225        14.295        .12530E-03    .10198E-03
   2  Index         2.5067        .89606        .68980E-02    .35336E-04
   3  Normalizat    1.1850        .25199        .30076E-03   -.15933E-03
   4  Prefactor     .77918        .15289        .22385E-03   -.30887E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.2249
  Index      = 2.50666
  Normalizat = 1.18501
  Prefactor  = 0.779177
 **********
 **   18 **HESSE 
 **********

 FCN=   6488.434     FROM HESSE     STATUS=OK            25 CALLS      321 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.225        12.316        .50120E-05   -1.5068    
   2  Index         2.5067        .77217        .27592E-03   -.52206    
   3  Normalizat    1.1850        .25050        .12030E-04   -.87067    
   4  Prefactor     .77918        .15249        .44769E-04   -1.0050    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.96168e-11
Minuit parameter uncertainties:
  1  12.3191
  2  0.776318
  3  0.250753
  4  0.152571
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/840657': 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) = 6488.43377419
delta logL = 0.0678686520232

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.022e+01  1.232e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.507e+00  7.763e-01  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  7.792e-01  1.526e-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.185e+00  2.508e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.87
Ra Dec: 351.190 8.028
Photon Index (Free Index): 2.51 +/- 0.78
Photon Flux (Free Index): 6.43e-08 +/- 6.53e-08
Energy Flux (Free Index): 1.85e-05 +/- 1.45e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/840657/cmap_HighResolution_403142401_403401601_4FGL_J2324.7+0801_daily_bin632.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', comment='SUCCESS', photon_flux='4.76e-08', energy_flux2='1.85e-05', photon_flux_error='4.11e-08', dlogl='6.79e-02', energy_flux='2.03e-05', photon_flux2='6.43e-08', job_status='DONE', time_completed='2021-09-29 16:28:00.542332', photon_index_error2='0.78', photon_index2='2.51', ts='2.73', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='1.38e-07', energy_flux_error2='1.45e-05', EG='1.20', time_epoch_completed='1632958080.54', return_code='0', job_id='840657', GAL2='0.78', EG2='1.19', return_code2='0', energy_flux_error='1.75e-05', photon_flux_error2='6.53e-08', ts2='2.87', photon_index='2.23' WHERE bin_id='632' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:28:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 840657: <4FGL_J2324.7+0801_daily_bin632> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin632 351.19 8.0282 403142401 403401601 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 :                                   680.16 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             290.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   755 sec.
    Turnaround time :                            758 sec.

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

