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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin426
RA = 351.19, Dec = 8.0282
tmin = 349747201, tmax = 350006401
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='839244', job_status='RUN', time_executed='2021-09-29 16:13:41.360955', time_epoch_executed='1632957221.36' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='426'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/839244

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/839244/ft1_4FGL_J2324.7+0801_daily_bin426.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/839244/ft2_4FGL_J2324.7+0801_daily_bin426.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/839244/ft1_4FGL_J2324.7+0801_daily_bin426.fits outfile=/scratch/kocevski/839244/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin426.fits ra=351.19 dec=8.0282 rad=12.0 tmin=349747201.0 tmax=350006401.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.48
user 3.22
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/839244/ft1_filtered_4FGL_J2324.7+0801_daily_bin426.fits" evtable="EVENTS" scfile=/scratch/kocevski/839244/ft2_4FGL_J2324.7+0801_daily_bin426.fits sctable="SC_DATA" outfile=/scratch/kocevski/839244/ltcube_349747201_350006401_4FGL_J2324.7+0801_daily_bin426.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/839244/ft2_4FGL_J2324.7+0801_daily_bin426.fits
.....................!
real 11.90
user 11.53
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/839244/ft1_filtered_4FGL_J2324.7+0801_daily_bin426.fits evtable="EVENTS" scfile=/scratch/kocevski/839244/ft2_4FGL_J2324.7+0801_daily_bin426.fits sctable="SC_DATA" expcube=/scratch/kocevski/839244/ltcube_349747201_350006401_4FGL_J2324.7+0801_daily_bin426.fits outfile=/scratch/kocevski/839244/expmap_349747201_350006401_4FGL_J2324.7+0801_daily_bin426.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/839244/ltcube_349747201_350006401_4FGL_J2324.7+0801_daily_bin426.fits
.....................!
real 190.13
user 185.06
sys 4.69

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/839244/ft1_filtered_4FGL_J2324.7+0801_daily_bin426.fits scfile=/scratch/kocevski/839244/ft2_4FGL_J2324.7+0801_daily_bin426.fits outfile=/scratch/kocevski/839244/cmap_349747201_350006401_4FGL_J2324.7+0801_daily_bin426.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/839244/ft1_filtered_4FGL_J2324.7+0801_daily_bin426.fits scfile=/scratch/kocevski/839244/ft2_4FGL_J2324.7+0801_daily_bin426.fits outfile=/scratch/kocevski/839244/cmap_HighResolution_349747201_350006401_4FGL_J2324.7+0801_daily_bin426.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.55
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/839244/ft1_filtered_4FGL_J2324.7+0801_daily_bin426.fits evtable="EVENTS" scfile=/scratch/kocevski/839244/ft2_4FGL_J2324.7+0801_daily_bin426.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/839244/Model_4FGL_J2324.7+0801_daily_bin426.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/839244/ft1_filtered_4FGL_J2324.7+0801_daily_bin426.fits.....................!
real 61.34
user 59.95
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.651       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .60855E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    9.3376       1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.260       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .92277E-01   1.0000         .10000E-03   10000.    
     9 'norm      '    2.7103       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.710       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    122.08       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    16.733       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .63361       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .97342       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=   5722.892     FROM MIGRAD    STATUS=CONVERGED    578 CALLS     2501 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.648        17.310        .67990E-06    .38583E-04
   2  Prefactor     .60869E-01    .12003       -.13251E-06   -.36524E-02
   3  norm          9.3364        11.113       -.23485E-06   -.27489E-04
   4  Prefactor     17.211        26.754       -.10934E-04    .22592E-04
   5  Prefactor     .10000E-03    1.7271        .96052E-08** at limit **
   6  Prefactor     .10000E-03    3.7694       -.87805E-08** at limit **
   7  Prefactor     .10000E-03    7.4345        .45667E-05** at limit **
   8  Prefactor     .75932E-01    6.3060       -.51830E-06    .42924E-04
   9  norm          2.7101        1.1593        .31385E-07    .20658E-03
  10  Prefactor     14.711        11.955        .59290E-06    .43628E-03
  11  Prefactor     .10000E-03    19.550       -.13038E-04** at limit **
  12  Prefactor     .10000E-03    34.618        .62264E-05** at limit **
  13  norm          .10000E-03    6.0575        .22057E-05** at limit **
  14  Prefactor     .10010E-03    5.4076       -.48231E-05** at limit **
  15  Prefactor     122.07        140.09       -.14775E-04    .18188E-04
  16  Prefactor     .10000E-03    6.8397       -.59504E-05** at limit **
  17  Prefactor     .10000E-03    15.136        .10415E-04** at limit **
  18  norm          .10000E-03    5.0036       -.32821E-06** at limit **
  19  norm          .10000E-03    9.1204        .11061E-05** at limit **
  20  Prefactor     .10000E-03    2.3540        .97854E-07** at limit **
  21  Prefactor     .10000E-03    14.720        .84500E-05** at limit **
  22  Prefactor     16.730        16.562       -.64457E-06    .52949E-04
  23  Prefactor     .10000E-03    4.3652       -.63342E-08** at limit **
  24  Normalizat    .63384        .18914        .22613E-05    .62202E-03
  25  Prefactor     .97338        .11938        .28442E-06    .93003E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.6477
  Prefactor  = 0.0608689
  norm       = 9.33641
  Prefactor  = 17.2109
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0759319
  norm       = 2.71007
  Prefactor  = 14.711
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100104
  Prefactor  = 122.067
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.7304
  Prefactor  = 0.0001
  Normalizat = 0.633839
  Prefactor  = 0.97338
 **********
 **   18 **HESSE 
 **********

 FCN=   5722.892     FROM HESSE     STATUS=OK           429 CALLS     2930 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.648        17.151        .10841E-03   -1.4969    
   2  Prefactor     .60869E-01    .12239        .33828E-03   -1.5659    
   3  norm          9.3364        11.110        .13115E-03   -1.5097    
   4  Prefactor     17.211        26.886        .96405E-04   -1.4878    
   5  Prefactor     .10000E-03    1.7307        .97079E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.7760        .14344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.4449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .75932E-01    7.8008        .52121E-01   -1.5653    
   9  norm          2.7101        1.1600        .51363E-04   -1.5379    
  10  Prefactor     14.711        11.869        .10443E-03   -1.4941    
  11  Prefactor     .10000E-03    19.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    34.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    6.1010        .18139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10010E-03    12.463        .31820E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     122.07        139.94        .18213E-03   -1.3494    
  16  Prefactor     .10000E-03    6.8736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    15.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.0086        .16527E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    9.1423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.3922        .11327E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    14.723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     16.730        16.579        .97912E-04   -1.4890    
  23  Prefactor     .10000E-03    4.3867        .15435E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .63384        .21848        .32285E-03   -1.0657    
  25  Prefactor     .97338        .14061        .17049E-03   -.93622    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.45561e-09
Minuit parameter uncertainties:
  1  17.1568
  2  0.122386
  3  11.1125
  4  26.9051
  5  1.46697e-07
  6  2.22429e-06
  7  1.09958e-06
  8  1.53846
  9  1.15999
  10  11.8705
  11  2.89801e-05
  12  1.78782e-05
  13  3.64323e-05
  14  0.00227952
  15  140.326
  16  3.21152e-05
  17  6.31099e-06
  18  1.8394e-06
  19  2.42227e-05
  20  1.21882e-05
  21  9.91972e-06
  22  16.5839
  23  4.86422e-06
  24  0.218782
  25  0.140666
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.471e+01  1.187e+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:  9.734e-01  1.407e-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:  6.338e-01  2.188e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.01
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 5.29e-08 +/- 4.27e-08
Energy Flux (Fixed Index): 2.26e-05 +/- 1.82e-05

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

Saving results to:
/scratch/kocevski/839244/likelihoodResults_349747201_350006401_4FGL_J2324.7+0801_daily_bin426.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) = 5722.88006737
delta logL = 0.0118834395016

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5722.87226886
delta logL = 0.0196819436105

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.564       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1033       1.0000          .0000       10.000    
     3 'Normalizat'    .64150       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97027       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=   5722.872     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      257 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.566        16.407        .98409E-04    .18600E-04
   2  Index         2.1032        .63598        .75694E-02    .32001E-03
   3  Normalizat    .64156        .21802        .32104E-03   -.52126E-04
   4  Prefactor     .97024        .14011        .17073E-03   -.41577E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.5658
  Index      = 2.10321
  Normalizat = 0.641555
  Prefactor  = 0.970236
 **********
 **   18 **HESSE 
 **********

 FCN=   5722.872     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.566        15.868        .39363E-05   -1.4894    
   2  Index         2.1032        .61455        .15139E-02   -.61794    
   3  Normalizat    .64156        .21780        .12842E-04   -1.0625    
   4  Prefactor     .97024        .14006        .34147E-04   -.93728    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17965e-11
Minuit parameter uncertainties:
  1  15.8721
  2  0.616908
  3  0.218094
  4  0.140117
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/839244': 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) = 5722.87226882
delta logL = 0.0196819826442

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.657e+01  1.587e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.103e+00  6.169e-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:  9.702e-01  1.401e-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:  6.416e-01  2.181e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.03
Ra Dec: 351.190 8.028
Photon Index (Free Index): 2.10 +/- 0.62
Photon Flux (Free Index): 4.72e-08 +/- 4.89e-08
Energy Flux (Free Index): 2.57e-05 +/- 2.75e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/839244/cmap_HighResolution_349747201_350006401_4FGL_J2324.7+0801_daily_bin426.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', comment='SUCCESS', photon_flux='5.29e-08', energy_flux2='2.57e-05', photon_flux_error='4.27e-08', dlogl='1.97e-02', energy_flux='2.26e-05', photon_flux2='4.72e-08', job_status='DONE', time_completed='2021-09-29 16:23:49.158495', photon_index_error2='0.62', photon_index2='2.10', ts='3.01', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='1.45e-07', energy_flux_error2='2.75e-05', EG='0.63', time_epoch_completed='1632957829.16', return_code='0', job_id='839244', GAL2='0.97', EG2='0.64', return_code2='0', energy_flux_error='1.82e-05', photon_flux_error2='4.89e-08', ts2='3.03', photon_index='2.23' WHERE bin_id='426' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:23:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 839244: <4FGL_J2324.7+0801_daily_bin426> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin426> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 16:10:17 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:10:18 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:18 2021
Terminated at Wed Sep 29 16:23:49 2021
Results reported at Wed Sep 29 16:23:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin426 351.19 8.0282 349747201 350006401 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 :                                   607.37 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             234.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            812 sec.

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

