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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin704
RA = 351.19, Dec = 8.0282
tmin = 421804801, tmax = 422064001
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='840763', job_status='RUN', time_executed='2021-09-29 16:18:36.469647', time_epoch_executed='1632957516.47' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='704'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/840763

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/840763/ft1_4FGL_J2324.7+0801_daily_bin704.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/840763/ft2_4FGL_J2324.7+0801_daily_bin704.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/840763/ft1_4FGL_J2324.7+0801_daily_bin704.fits outfile=/scratch/kocevski/840763/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin704.fits ra=351.19 dec=8.0282 rad=12.0 tmin=421804801.0 tmax=422064001.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.35
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/840763/ft2_4FGL_J2324.7+0801_daily_bin704.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/840763/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin704.fits evtable="EVENTS" outfile="/scratch/kocevski/840763/ft1_filtered_4FGL_J2324.7+0801_daily_bin704.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/840763/ft1_filtered_4FGL_J2324.7+0801_daily_bin704.fits" evtable="EVENTS" scfile=/scratch/kocevski/840763/ft2_4FGL_J2324.7+0801_daily_bin704.fits sctable="SC_DATA" outfile=/scratch/kocevski/840763/ltcube_421804801_422064001_4FGL_J2324.7+0801_daily_bin704.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/840763/ft2_4FGL_J2324.7+0801_daily_bin704.fits
.....................!
real 12.04
user 11.70
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/840763/ft1_filtered_4FGL_J2324.7+0801_daily_bin704.fits evtable="EVENTS" scfile=/scratch/kocevski/840763/ft2_4FGL_J2324.7+0801_daily_bin704.fits sctable="SC_DATA" expcube=/scratch/kocevski/840763/ltcube_421804801_422064001_4FGL_J2324.7+0801_daily_bin704.fits outfile=/scratch/kocevski/840763/expmap_421804801_422064001_4FGL_J2324.7+0801_daily_bin704.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/840763/ltcube_421804801_422064001_4FGL_J2324.7+0801_daily_bin704.fits
.....................!
real 191.35
user 186.56
sys 4.48

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/840763/ft1_filtered_4FGL_J2324.7+0801_daily_bin704.fits scfile=/scratch/kocevski/840763/ft2_4FGL_J2324.7+0801_daily_bin704.fits outfile=/scratch/kocevski/840763/cmap_421804801_422064001_4FGL_J2324.7+0801_daily_bin704.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.3701       1.0000         .10000E-03   10000.    
     3 'norm      '    10.569       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.4922       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .36853       1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.392       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .27152       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.6009       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.4299       1.0000         .10000E-03   10000.    
    15 'Prefactor '    30.666       1.0000         .10000E-03   10000.    
    16 'Prefactor '    28.640       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .23528       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .18073E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.7630       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .21531E-02   1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.5520       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .83925       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0348       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7728.115     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     2508 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.076       -.17419E-05** at limit **
   2  Prefactor     3.3701        .30793       -.69068E-07    .63453E-03
   3  norm          10.566        1.9457        .28219E-06   -.18700E-02
   4  Prefactor     6.4886        1.1568        .11937E-06   -.32975E-03
   5  Prefactor     .10000E-03    2.4656       -.16134E-06** at limit **
   6  Prefactor     .40234        47.896        .10760E-04    .37770E-03
   7  Prefactor     21.390        1.4553        .15815E-06   -.17708E-02
   8  Prefactor     .10000E-03    1.7878       -.19571E-06** at limit **
   9  norm          .27127        1.1717        .84156E-07   -.70426E-06
  10  Prefactor     2.6099        3.5975        .29835E-05   -.21296E-03
  11  Prefactor     .10000E-03    4.3213        .13684E-06** at limit **
  12  Prefactor     .10000E-03    17.733        .18619E-05** at limit **
  13  norm          .10000E-03    2.4053       -.20803E-06** at limit **
  14  Prefactor     5.4334        5.9156        .20483E-05   -.11771E-03
  15  Prefactor     30.662        1.1382       -.48800E-07    .53825E-03
  16  Prefactor     28.647        5.2934        .88853E-06   -.54779E-02
  17  Prefactor     .10006E-03    2098.5       -.20265E-04** at limit **
  18  norm          .10000E-03    4.1114       -.19015E-05** at limit **
  19  norm          .10000E-03    14.314       -.74630E-06** at limit **
  20  Prefactor     .10000E-03    13.255       -.55051E-05** at limit **
  21  Prefactor     5.7662        1.2392        .12445E-06   -.12863E-03
  22  Prefactor     .10006E-03    93.592        .35948E-05** at limit **
  23  Prefactor     1.5509        7.3270       -.69135E-05   -.51871E-03
  24  Normalizat    .83929        .22225       -.24005E-05    .31168E-04
  25  Prefactor     1.0349        .14128        .42580E-05    .22140E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Prefactor  = 3.37006
  norm       = 10.566
  Prefactor  = 6.48856
  Prefactor  = 0.0001
  Prefactor  = 0.402338
  Prefactor  = 21.3899
  Prefactor  = 0.0001
  norm       = 0.271265
  Prefactor  = 2.60987
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 5.43337
  Prefactor  = 30.6621
  Prefactor  = 28.6469
  Prefactor  = 0.000100057
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 5.76625
  Prefactor  = 0.000100062
  Prefactor  = 1.55093
  Normalizat = 0.839288
  Prefactor  = 1.03487
 **********
 **   18 **HESSE 
 **********

 FCN=   7728.115     FROM HESSE     STATUS=OK           503 CALLS     3011 TOTAL
                     EDM=   .87E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.636        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.3701        .30853        .32257E-02   -1.5341    
   3  norm          10.566        17.207        .30810E-02   -1.5058    
   4  Prefactor     6.4886        19.263        .39377E-02   -1.5198    
   5  Prefactor     .10000E-03    2.4404        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .40234        5.6242        .10722       -1.5581    
   7  Prefactor     21.390        17.106        .21650E-02   -1.4783    
   8  Prefactor     .10000E-03    1.7799        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .27127        .92697        .27151E-01   -1.5604    
  10  Prefactor     2.6099        7.7458        .63243E-02   -1.5385    
  11  Prefactor     .10000E-03    4.3241        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.821        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.4045        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.4334        6.0286        .43111E-02   -1.5242    
  15  Prefactor     30.662        263.96        .18088E-02   -1.4600    
  16  Prefactor     28.647        17.242        .18715E-02   -1.4637    
  17  Prefactor     .10006E-03    14.157        .11774       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.1110        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    14.375        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.4386        .53996E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.7662        29.286        .41827E-02   -1.5228    
  22  Prefactor     .10006E-03    12.256        .10081       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.5509        9.4416        .85462E-02   -1.5459    
  24  Normalizat    .83929        .20299        .78335E-01   -.98628    
  25  Prefactor     1.0349        .12379        .40896E-01   -.91576    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.69591e-07
Minuit parameter uncertainties:
  1  0.0005678
  2  0.308528
  3  17.2153
  4  19.281
  5  2.27419e-06
  6  3.0085
  7  17.1101
  8  1.2881e-06
  9  0.927017
  10  7.74876
  11  2.64908e-08
  12  0.000354997
  13  1.85211e-06
  14  6.02926
  15  181.014
  16  17.2446
  17  0.00180292
  18  1.02651e-05
  19  0.000293315
  20  3.84498e-05
  21  26.01
  22  0.00174094
  23  7.65487
  24  0.203177
  25  0.12382
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  2.610e+00  7.749e+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.035e+00  1.238e-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:  8.393e-01  2.032e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 8.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/840763/likelihoodResults_421804801_422064001_4FGL_J2324.7+0801_daily_bin704.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) = 7728.1126443
delta logL = 0.00235823512048

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7728.11223419
delta logL = 0.00276834888427

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3966       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3181       1.0000          .0000       10.000    
     3 'Normalizat'    .83813       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0353       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=   7728.112     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      254 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3938        8.8629        .13226E-02   -.61992E-04
   2  Index         2.3203        1.4068        .13054E-01   -.11203E-04
   3  Normalizat    .83842        .21641        .34694E-03    .46302E-04
   4  Prefactor     1.0351        .14142        .20442E-03    .16962E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.39383
  Index      = 2.32033
  Normalizat = 0.838416
  Prefactor  = 1.0351
 **********
 **   18 **HESSE 
 **********

 FCN=   7728.112     FROM HESSE     STATUS=OK            27 CALLS      281 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3938        7.7809        .52904E-04   -1.5399    
   2  Index         2.3203        1.2418        .52215E-03   -.56561    
   3  Normalizat    .83842        .21651        .13877E-04   -.98659    
   4  Prefactor     1.0351        .14143        .81769E-05   -.91569    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.32547e-11
Minuit parameter uncertainties:
  1  7.78422
  2  1.26049
  3  0.216732
  4  0.141479
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/840763': 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) = 7728.1122314
delta logL = 0.00277113340962

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  2.394e+00  7.784e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.320e+00  1.260e+00  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.035e+00  1.415e-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:  8.384e-01  2.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
Ra Dec: 351.190 8.028

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/840763/cmap_HighResolution_421804801_422064001_4FGL_J2324.7+0801_daily_bin704.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.22e-03', job_status='DONE', photon_flux_upper_limit='8.14e-08', time_completed='2021-09-29 16:31:16.396190', job_id='840763', GAL2='1.04', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1632958276.4', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.77e-03', ts2='0.14', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='704' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:31:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 840763: <4FGL_J2324.7+0801_daily_bin704> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin704> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 16:15:32 2021
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:15:33 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:33 2021
Terminated at Wed Sep 29 16:31:17 2021
Results reported at Wed Sep 29 16:31:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin704 351.19 8.0282 421804801 422064001 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 :                                   760.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   943 sec.
    Turnaround time :                            945 sec.

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

