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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin394
RA = 351.19, Dec = 8.0282
tmin = 341452801, tmax = 341712001
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='839197', job_status='RUN', time_executed='2021-09-29 16:14:22.284647', time_epoch_executed='1632957262.28' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='394'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/839197

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/839197/ft1_4FGL_J2324.7+0801_daily_bin394.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/839197/ft2_4FGL_J2324.7+0801_daily_bin394.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/839197/ft1_4FGL_J2324.7+0801_daily_bin394.fits outfile=/scratch/kocevski/839197/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin394.fits ra=351.19 dec=8.0282 rad=12.0 tmin=341452801.0 tmax=341712001.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.38
user 3.17
sys 0.19

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/839197/ft1_filtered_4FGL_J2324.7+0801_daily_bin394.fits" evtable="EVENTS" scfile=/scratch/kocevski/839197/ft2_4FGL_J2324.7+0801_daily_bin394.fits sctable="SC_DATA" outfile=/scratch/kocevski/839197/ltcube_341452801_341712001_4FGL_J2324.7+0801_daily_bin394.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/839197/ft2_4FGL_J2324.7+0801_daily_bin394.fits
.....................!
real 11.74
user 11.44
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/839197/ft1_filtered_4FGL_J2324.7+0801_daily_bin394.fits evtable="EVENTS" scfile=/scratch/kocevski/839197/ft2_4FGL_J2324.7+0801_daily_bin394.fits sctable="SC_DATA" expcube=/scratch/kocevski/839197/ltcube_341452801_341712001_4FGL_J2324.7+0801_daily_bin394.fits outfile=/scratch/kocevski/839197/expmap_341452801_341712001_4FGL_J2324.7+0801_daily_bin394.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/839197/ltcube_341452801_341712001_4FGL_J2324.7+0801_daily_bin394.fits
.....................!
real 189.57
user 185.03
sys 4.19

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/839197/ft1_filtered_4FGL_J2324.7+0801_daily_bin394.fits scfile=/scratch/kocevski/839197/ft2_4FGL_J2324.7+0801_daily_bin394.fits outfile=/scratch/kocevski/839197/cmap_341452801_341712001_4FGL_J2324.7+0801_daily_bin394.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/839197/ft1_filtered_4FGL_J2324.7+0801_daily_bin394.fits scfile=/scratch/kocevski/839197/ft2_4FGL_J2324.7+0801_daily_bin394.fits outfile=/scratch/kocevski/839197/cmap_HighResolution_341452801_341712001_4FGL_J2324.7+0801_daily_bin394.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/839197/ft1_filtered_4FGL_J2324.7+0801_daily_bin394.fits evtable="EVENTS" scfile=/scratch/kocevski/839197/ft2_4FGL_J2324.7+0801_daily_bin394.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/839197/Model_4FGL_J2324.7+0801_daily_bin394.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/839197/ft1_filtered_4FGL_J2324.7+0801_daily_bin394.fits.....................!
real 78.89
user 77.55
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .14571E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.885       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.2147       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17853E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    6.0852       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .78619       1.0000         .10000E-03   10000.    
    12 'Prefactor '    43.342       1.0000         .10000E-03   10000.    
    13 'norm      '    .10102E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.968       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.9991       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11760E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    5.2917       1.0000         .10000E-03   10000.    
    19 'norm      '    .10107E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.0460       1.0000         .10000E-03   10000.    
    21 'Prefactor '    18.230       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.8420       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3272       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .66876       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=   7457.892     FROM MIGRAD    STATUS=CONVERGED    575 CALLS     2925 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.286        .16164E-05** at limit **
   2  Prefactor     .10000E-03    .63401E-01   -.38582E-07** at limit **
   3  norm          .10010E-03    7.7768       -.19485E-05** at limit **
   4  Prefactor     .10000E-03    18.361       -.14759E-05** at limit **
   5  Prefactor     17.890        8.3342        .11741E-06    .86447E-04
   6  Prefactor     6.2156        10.857       -.12272E-06    .14140E-04
   7  Prefactor     .10000E-03    4.1501       -.80737E-07** at limit **
   8  Prefactor     .10000E-03    5.9625        .80814E-06** at limit **
   9  norm          6.0841        1.3687        .49260E-07   -.47555E-03
  10  Prefactor     .10000E-03    4.7637       -.29280E-06** at limit **
  11  Prefactor     .74949        14.451       -.38250E-05    .56738E-03
  12  Prefactor     43.342        37.081       -.11264E-06   -.12965E-04
  13  norm          .10000E-03    9.5628       -.45624E-06** at limit **
  14  Prefactor     11.962        7.4346        .87808E-06    .25126E-04
  15  Prefactor     4.7124        1809.7       -.11034E-03   -.16271E-04
  16  Prefactor     .10000E-03    9.0527        .55558E-05** at limit **
  17  Prefactor     .10000E-03    10.131        .99943E-07** at limit **
  18  norm          5.2918        7.6077        .94084E-06   -.94561E-05
  19  norm          .10000E-03    8.7514        .11024E-05** at limit **
  20  Prefactor     4.0418        3.4495        .63344E-06   -.34609E-03
  21  Prefactor     18.239        23.574        .45176E-06   -.91363E-05
  22  Prefactor     .10000E-03    5.5688       -.63117E-07** at limit **
  23  Prefactor     6.8428        6.6064       -.66991E-07    .41029E-04
  24  Normalizat    1.3269        .19070        .10097E-05    .21794E-03
  25  Prefactor     .66903        .11286        .45708E-07    .31948E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001001
  Prefactor  = 0.0001
  Prefactor  = 17.8896
  Prefactor  = 6.21557
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 6.08409
  Prefactor  = 0.0001
  Prefactor  = 0.749491
  Prefactor  = 43.3418
  norm       = 0.0001
  Prefactor  = 11.9616
  Prefactor  = 4.71238
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.29181
  norm       = 0.0001
  Prefactor  = 4.04175
  Prefactor  = 18.2392
  Prefactor  = 0.0001
  Prefactor  = 6.84279
  Normalizat = 1.32686
  Prefactor  = 0.66903
 **********
 **   18 **HESSE 
 **********

 FCN=   7457.892     FROM HESSE     STATUS=OK           437 CALLS     3362 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    .59991        .41894E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10010E-03    33.806        .45726E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    18.409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.890        8.2893        .94707E-04   -1.4862    
   6  Prefactor     6.2156        10.844        .16103E-03   -1.5209    
   7  Prefactor     .10000E-03    4.1539        .17182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    37.842        .38160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.0841        1.3694        .45092E-04   -1.5215    
  10  Prefactor     .10000E-03    4.7949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .74949        94.514        .56906E-02   -1.5535    
  12  Prefactor     43.342        37.095        .60895E-04   -1.4390    
  13  norm          .10000E-03    9.8527        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.962        7.4251        .57897E-03   -1.5016    
  15  Prefactor     4.7124        1789.4        .20167E-02   -1.5274    
  16  Prefactor     .10000E-03    8.9704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.2918        7.5888        .87361E-03   -1.5248    
  19  norm          .10000E-03    8.7539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.0418        3.4336        .13964E-03   -1.5306    
  21  Prefactor     18.239        23.584        .93806E-04   -1.4854    
  22  Prefactor     .10000E-03    5.5761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.8428        6.6101        .15339E-03   -1.5185    
  24  Normalizat    1.3269        .22381        .26667E-03   -.82768    
  25  Prefactor     .66903        .13291        .22010E-03   -1.0475    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68617e-08
Minuit parameter uncertainties:
  1  2.23094e-05
  2  8.20009e-06
  3  0.00368057
  4  1.6286e-05
  5  8.28986
  6  10.8475
  7  8.71221e-07
  8  0.000452836
  9  1.36941
  10  9.60919e-06
  11  16.8591
  12  37.1143
  13  8.05385e-05
  14  7.42567
  15  189.678
  16  4.73707e-05
  17  1.52862e-05
  18  7.59021
  19  1.57649e-05
  20  3.43376
  21  23.5965
  22  4.19831e-06
  23  6.61077
  24  0.223976
  25  0.132975
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.000e-04  9.609e-06  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:  6.690e-01  1.330e-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.327e+00  2.240e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/839197/likelihoodResults_341452801_341712001_4FGL_J2324.7+0801_daily_bin394.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): 102
logL (Free Index) = 7457.89320513
delta logL = -0.000993281430965

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7457.89221161
delta logL = 2.42574969889e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10505E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1806       1.0000          .0000       10.000    
     3 'Normalizat'    1.3267       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66911       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=   7457.505     FROM MIGRAD    STATUS=CONVERGED    152 CALLS      304 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6878        145.62        .40956E-01    .38563E-03
   2  Index         .78308        8.9180        .20000        .97747E-04
   3  Normalizat    1.3214        .46566E-01    .26667E-03    .21228E-03
   4  Prefactor     .67010        .28461E-01    .22010E-03    .20723E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.68781
  Index      = 0.783081
  Normalizat = 1.32142
  Prefactor  = 0.670103
 **********
 **   18 **HESSE 
 **********

 FCN=   7457.505     FROM HESSE     STATUS=OK            29 CALLS      333 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6878        5.3867        .23070E-02   -1.5448    
   2  Index         .78308        1.0946        .17284E-02   -2.1380    
   3  Normalizat    1.3214        .21551        .53333E-04   -.82929    
   4  Prefactor     .67010        .13158        .88040E-05   -1.0471    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.79709e-11
Minuit parameter uncertainties:
  1  5.38825
  2  1.12743
  3  0.21566
  4  0.131643
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/839197': 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) = 7457.50454837
delta logL = 0.387663476105

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.688e+00  5.388e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  7.831e-01  1.127e+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:  6.701e-01  1.316e-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.321e+00  2.157e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/839197/cmap_HighResolution_341452801_341712001_4FGL_J2324.7+0801_daily_bin394.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.76e-03', job_status='DONE', photon_flux_upper_limit='6.23e-08', time_completed='2021-09-29 16:26:44.735086', job_id='839197', GAL2='0.67', fit_tolerance='1e-08', EG2='1.32', EG='1.33', time_epoch_completed='1632958004.74', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='3.88e-01', ts2='0.78', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='394' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:26:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 839197: <4FGL_J2324.7+0801_daily_bin394> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin394 351.19 8.0282 341452801 341712001 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 :                                   741.36 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             252.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   990 sec.
    Turnaround time :                            992 sec.

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

