/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 114 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 = 7404
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2324.7+0801_daily_bin246
RA = 351.19, Dec = 8.0282
tmin = 303091201, tmax = 303350401
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='837975', job_status='RUN', time_executed='2021-09-29 16:07:45.091073', time_epoch_executed='1632956865.09' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='246'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/837975

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/837975/ft1_4FGL_J2324.7+0801_daily_bin246.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/837975/ft2_4FGL_J2324.7+0801_daily_bin246.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/837975/ft1_4FGL_J2324.7+0801_daily_bin246.fits outfile=/scratch/kocevski/837975/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin246.fits ra=351.19 dec=8.0282 rad=12.0 tmin=303091201.0 tmax=303350401.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.46
user 3.26
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/837975/ft1_filtered_4FGL_J2324.7+0801_daily_bin246.fits" evtable="EVENTS" scfile=/scratch/kocevski/837975/ft2_4FGL_J2324.7+0801_daily_bin246.fits sctable="SC_DATA" outfile=/scratch/kocevski/837975/ltcube_303091201_303350401_4FGL_J2324.7+0801_daily_bin246.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/837975/ft2_4FGL_J2324.7+0801_daily_bin246.fits
.....................!
real 12.17
user 11.83
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/837975/ft1_filtered_4FGL_J2324.7+0801_daily_bin246.fits evtable="EVENTS" scfile=/scratch/kocevski/837975/ft2_4FGL_J2324.7+0801_daily_bin246.fits sctable="SC_DATA" expcube=/scratch/kocevski/837975/ltcube_303091201_303350401_4FGL_J2324.7+0801_daily_bin246.fits outfile=/scratch/kocevski/837975/expmap_303091201_303350401_4FGL_J2324.7+0801_daily_bin246.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/837975/ltcube_303091201_303350401_4FGL_J2324.7+0801_daily_bin246.fits
.....................!
real 190.26
user 184.88
sys 5.01

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/837975/ft1_filtered_4FGL_J2324.7+0801_daily_bin246.fits scfile=/scratch/kocevski/837975/ft2_4FGL_J2324.7+0801_daily_bin246.fits outfile=/scratch/kocevski/837975/cmap_303091201_303350401_4FGL_J2324.7+0801_daily_bin246.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/837975/ft1_filtered_4FGL_J2324.7+0801_daily_bin246.fits scfile=/scratch/kocevski/837975/ft2_4FGL_J2324.7+0801_daily_bin246.fits outfile=/scratch/kocevski/837975/cmap_HighResolution_303091201_303350401_4FGL_J2324.7+0801_daily_bin246.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/837975/ft1_filtered_4FGL_J2324.7+0801_daily_bin246.fits evtable="EVENTS" scfile=/scratch/kocevski/837975/ft2_4FGL_J2324.7+0801_daily_bin246.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/837975/Model_4FGL_J2324.7+0801_daily_bin246.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/837975/ft1_filtered_4FGL_J2324.7+0801_daily_bin246.fits.....................!
real 88.49
user 86.98
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    6.2811       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.314       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.3735       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.0419       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10769E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.5021       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.1396       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12716E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.1783       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13719E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    19.933       1.0000         .10000E-03   10000.    
    19 'norm      '    .10229E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.3073       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .84211E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.0791       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .76254       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0207       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=   7878.652     FROM MIGRAD    STATUS=CONVERGED    561 CALLS     2868 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.6395        .63355E-08** at limit **
   2  Prefactor     6.2812        .42489       -.42103E-09    .15245E-03
   3  norm          .10000E-03    6.3119        .17045E-07** at limit **
   4  Prefactor     21.318        34.456        .17133E-06    .16913E-05
   5  Prefactor     7.3752        6.8704        .48726E-07    .16785E-05
   6  Prefactor     7.0452        10.588        .30849E-05   -.32214E-04
   7  Prefactor     .10000E-03    8.8862        .37375E-07** at limit **
   8  Prefactor     .10000E-03    3.5017       -.32314E-06** at limit **
   9  norm          1.5021        1.1117       -.22499E-08   -.31807E-04
  10  Prefactor     8.1388        9.5599        .32967E-07   -.11986E-04
  11  Prefactor     .10000E-03    5.0863        .47545E-08** at limit **
  12  Prefactor     .10000E-03    140.36       -.25171E-05** at limit **
  13  norm          7.2114        9.4779       -.22671E-06    .41485E-04
  14  Prefactor     .10001E-03    5.2924       -.11092E-06** at limit **
  15  Prefactor     .10000E-03    107.04        .12228E-05** at limit **
  16  Prefactor     .10000E-03    9.8338        .62237E-06** at limit **
  17  Prefactor     .10000E-03    12.731        .22044E-07** at limit **
  18  norm          19.940        13.347        .25121E-07   -.12120E-04
  19  norm          .10000E-03    26.532        .98649E-06** at limit **
  20  Prefactor     4.3072        5.3904        .23135E-06    .18322E-05
  21  Prefactor     .10000E-03    159.13        .43717E-06** at limit **
  22  Prefactor     .10000E-03    11.985        .89562E-07** at limit **
  23  Prefactor     4.0810        6.6891        .27648E-06   -.20216E-05
  24  Normalizat    .76240        .20956       -.10537E-05    .12902E-04
  25  Prefactor     1.0206        .13216       -.29814E-06    .19078E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.28124
  norm       = 0.0001
  Prefactor  = 21.3177
  Prefactor  = 7.37523
  Prefactor  = 7.0452
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 1.50214
  Prefactor  = 8.13876
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 7.21137
  Prefactor  = 0.000100005
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 19.94
  norm       = 0.0001
  Prefactor  = 4.30724
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.08097
  Normalizat = 0.762398
  Prefactor  = 1.02063
 **********
 **   18 **HESSE 
 **********

 FCN=   7878.652     FROM HESSE     STATUS=OK           427 CALLS     3295 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.6417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.2812        .42510        .14454E-04   -1.5207    
   3  norm          .10000E-03    6.3266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     21.318        34.451        .86759E-04   -1.4784    
   5  Prefactor     7.3752        6.8726        .14770E-03   -1.5165    
   6  Prefactor     7.0452        10.579        .75586E-03   -1.5177    
   7  Prefactor     .10000E-03    8.9027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.4564        .32032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.5021        1.1118        .34932E-04   -1.5463    
  10  Prefactor     8.1388        9.5325        .14053E-03   -1.5137    
  11  Prefactor     .10000E-03    5.0922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    142.41        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.2114        8.7324        .14972E-03   -1.5171    
  14  Prefactor     .10001E-03    17.223        .35824E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    107.61        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.8780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    12.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          19.940        13.342        .89710E-04   -1.4815    
  19  norm          .10000E-03    26.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.3072        5.3527        .19411E-03   -1.5293    
  21  Prefactor     .10000E-03    162.76        .20871E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    12.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.0810        6.6795        .19962E-03   -1.5304    
  24  Normalizat    .76240        .23938        .38865E-03   -1.0148    
  25  Prefactor     1.0206        .15233        .21897E-03   -.92045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.49386e-10
Minuit parameter uncertainties:
  1  2.25249e-06
  2  0.425103
  3  2.41149e-06
  4  34.4832
  5  6.87336
  6  10.5821
  7  1.14428e-05
  8  0.000273105
  9  1.11178
  10  9.53429
  11  3.36092e-06
  12  0.00151851
  13  8.73393
  14  0.000589591
  15  0.00103219
  16  1.17641e-05
  17  1.47249e-05
  18  13.3438
  19  3.21724e-05
  20  5.35332
  21  0.000378012
  22  2.30286e-05
  23  6.68067
  24  0.239708
  25  0.152398
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.021e+00  1.524e-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.624e-01  2.397e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.54
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 2.93e-08 +/- 3.43e-08
Energy Flux (Fixed Index): 1.25e-05 +/- 1.47e-05

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

Saving results to:
/scratch/kocevski/837975/likelihoodResults_303091201_303350401_4FGL_J2324.7+0801_daily_bin246.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) = 7878.10262057
delta logL = 0.549502172737

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7878.09495249
delta logL = 0.557170252542

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2121       1.0000         .10000E-03   10000.    
     2 'Index     '    1.3180       1.0000          .0000       10.000    
     3 'Normalizat'    .78162       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0171       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7878.095     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      209 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2173        8.3100        .37340E-02   -.95123E-03
   2  Index         1.3177        .53177        .32303       -.65967E-04
   3  Normalizat    .78154        .20265        .86760E-01    .39118E-04
   4  Prefactor     1.0172        .13080        .42441E-01    .25319E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.21733
  Index      = 1.31773
  Normalizat = 0.781545
  Prefactor  = 1.01716
 **********
 **   18 **HESSE 
 **********

 FCN=   7878.095     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2173        9.9602        .74681E-03   -1.5171    
   2  Index         1.3177        .73413        .13180E-01   -.82781    
   3  Normalizat    .78154        .23296        .38431E-03   -1.0076    
   4  Prefactor     1.0172        .15122        .21930E-03   -.92160    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24526e-11
Minuit parameter uncertainties:
  1  9.96251
  2  0.740022
  3  0.233253
  4  0.151286
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/837975': 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) = 7878.09495193
delta logL = 0.557170807969

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  7.217e+00  9.963e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  1.318e+00  7.400e-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:  1.017e+00  1.513e-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.815e-01  2.333e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.62
Ra Dec: 351.190 8.028
Photon Index (Free Index): 1.32 +/- 0.74
Photon Flux (Free Index): 7.41e-09 +/- 1.19e-08
Energy Flux (Free Index): 4.28e-05 +/- 7.14e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/837975/cmap_HighResolution_303091201_303350401_4FGL_J2324.7+0801_daily_bin246.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.80e-03', comment='SUCCESS', photon_flux='2.93e-08', energy_flux2='4.28e-05', photon_flux_error='3.43e-08', dlogl='5.57e-01', energy_flux='1.25e-05', photon_flux2='7.41e-09', job_status='DONE', time_completed='2021-09-29 16:21:19.064921', photon_index_error2='0.74', photon_index2='1.32', ts='1.54', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='7.14e-05', EG='0.76', time_epoch_completed='1632957679.06', return_code='0', job_id='837975', GAL2='1.02', EG2='0.78', return_code2='0', energy_flux_error='1.47e-05', photon_flux_error2='1.19e-08', ts2='2.62', photon_index='2.23' WHERE bin_id='246' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:21:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 837975: <4FGL_J2324.7+0801_daily_bin246> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin246> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 16:05:43 2021
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:05:44 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:05:44 2021
Terminated at Wed Sep 29 16:21:19 2021
Results reported at Wed Sep 29 16:21:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin246 351.19 8.0282 303091201 303350401 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 :                                   809.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             307.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            936 sec.

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

