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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin553
RA = 351.19, Dec = 8.0282
tmin = 382665601, tmax = 382924801
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='840539', job_status='RUN', time_executed='2021-09-29 16:16:50.409138', time_epoch_executed='1632957410.41' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='553'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/840539

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/840539/ft1_4FGL_J2324.7+0801_daily_bin553.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/840539/ft2_4FGL_J2324.7+0801_daily_bin553.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/840539/ft1_4FGL_J2324.7+0801_daily_bin553.fits outfile=/scratch/kocevski/840539/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin553.fits ra=351.19 dec=8.0282 rad=12.0 tmin=382665601.0 tmax=382924801.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.37
user 3.14
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/840539/ft1_filtered_4FGL_J2324.7+0801_daily_bin553.fits" evtable="EVENTS" scfile=/scratch/kocevski/840539/ft2_4FGL_J2324.7+0801_daily_bin553.fits sctable="SC_DATA" outfile=/scratch/kocevski/840539/ltcube_382665601_382924801_4FGL_J2324.7+0801_daily_bin553.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/840539/ft2_4FGL_J2324.7+0801_daily_bin553.fits
.....................!
real 12.01
user 11.64
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/840539/ft1_filtered_4FGL_J2324.7+0801_daily_bin553.fits evtable="EVENTS" scfile=/scratch/kocevski/840539/ft2_4FGL_J2324.7+0801_daily_bin553.fits sctable="SC_DATA" expcube=/scratch/kocevski/840539/ltcube_382665601_382924801_4FGL_J2324.7+0801_daily_bin553.fits outfile=/scratch/kocevski/840539/expmap_382665601_382924801_4FGL_J2324.7+0801_daily_bin553.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/840539/ltcube_382665601_382924801_4FGL_J2324.7+0801_daily_bin553.fits
.....................!
real 193.08
user 187.64
sys 4.92

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/840539/ft1_filtered_4FGL_J2324.7+0801_daily_bin553.fits scfile=/scratch/kocevski/840539/ft2_4FGL_J2324.7+0801_daily_bin553.fits outfile=/scratch/kocevski/840539/cmap_382665601_382924801_4FGL_J2324.7+0801_daily_bin553.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/840539/ft1_filtered_4FGL_J2324.7+0801_daily_bin553.fits scfile=/scratch/kocevski/840539/ft2_4FGL_J2324.7+0801_daily_bin553.fits outfile=/scratch/kocevski/840539/cmap_HighResolution_382665601_382924801_4FGL_J2324.7+0801_daily_bin553.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.58
user 0.39
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/840539/ft1_filtered_4FGL_J2324.7+0801_daily_bin553.fits evtable="EVENTS" scfile=/scratch/kocevski/840539/ft2_4FGL_J2324.7+0801_daily_bin553.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/840539/Model_4FGL_J2324.7+0801_daily_bin553.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/840539/ft1_filtered_4FGL_J2324.7+0801_daily_bin553.fits.....................!
real 81.14
user 79.67
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.9498       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.3133       1.0000         .10000E-03   10000.    
     3 'norm      '    5.8728       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.0884       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.6737       1.0000         .10000E-03   10000.    
     9 'norm      '    3.0027       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.0068       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.235       1.0000         .10000E-03   10000.    
    12 'Prefactor '    120.87       1.0000         .10000E-03   10000.    
    13 'norm      '    5.3535       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .16489E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.1754       1.0000         .10000E-03   10000.    
    18 'norm      '    10.474       1.0000         .10000E-03   10000.    
    19 'norm      '    46.933       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .88061       1.0000         .10000E-03   10000.    
    21 'Prefactor '    72.118       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0652       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .89269       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=   7831.062     FROM MIGRAD    STATUS=CONVERGED    562 CALLS     2917 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9496        18.007        .30270E-06   -.53349E-04
   2  Prefactor     1.3133        .24568       -.71290E-08   -.84716E-04
   3  norm          5.8720        12.982        .89151E-06   -.18657E-03
   4  Prefactor     .10000E-03    27.461        .12628E-07** at limit **
   5  Prefactor     4.0879        6.9887        .14901E-05   -.63668E-03
   6  Prefactor     .10000E-03    15.360        .10289E-05** at limit **
   7  Prefactor     .10000E-03    15.622       -.11867E-05** at limit **
   8  Prefactor     9.6736        7.1781        .37086E-07    .24445E-04
   9  norm          3.0028        1.0699       -.10829E-06   -.17024E-02
  10  Prefactor     2.0065        10.636        .17775E-06   -.90515E-04
  11  Prefactor     10.234        17.725        .14930E-06    .22073E-05
  12  Prefactor     120.87        62.388       -.22776E-06   -.33028E-04
  13  norm          5.3532        6.1264       -.18116E-06   -.35272E-03
  14  Prefactor     .10000E-03    5.2538       -.11881E-06** at limit **
  15  Prefactor     .10000E-03    54.499        .59553E-06** at limit **
  16  Prefactor     .10005E-03    9.1113        .27157E-05** at limit **
  17  Prefactor     3.1719        56.728       -.47813E-06   -.66537E-04
  18  norm          10.474        10.148        .11300E-07    .23203E-04
  19  norm          46.957        23.369       -.15241E-05   -.17200E-03
  20  Prefactor     .88188        2.6977       -.45565E-06   -.83076E-03
  21  Prefactor     72.119        36.228       -.11762E-06   -.83830E-04
  22  Prefactor     .10000E-03    6.8656       -.56916E-07** at limit **
  23  Prefactor     .10000E-03    5.4129        .94270E-08** at limit **
  24  Normalizat    1.0652        .20310       -.10187E-05   -.31905E-03
  25  Prefactor     .89269        .12379        .63056E-07   -.37143E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.9496
  Prefactor  = 1.31327
  norm       = 5.87199
  Prefactor  = 0.0001
  Prefactor  = 4.0879
  Prefactor  = 0.000100002
  Prefactor  = 0.000100002
  Prefactor  = 9.67357
  norm       = 3.00276
  Prefactor  = 2.00649
  Prefactor  = 10.2342
  Prefactor  = 120.869
  norm       = 5.35318
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100047
  Prefactor  = 3.17187
  norm       = 10.4741
  norm       = 46.9574
  Prefactor  = 0.881878
  Prefactor  = 72.1194
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.06524
  Prefactor  = 0.892686
 **********
 **   18 **HESSE 
 **********

 FCN=   7831.062     FROM HESSE     STATUS=OK           427 CALLS     3344 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9496        18.034        .66989E-03   -1.5110    
   2  Prefactor     1.3133        .24659        .17823E-04   -1.5479    
   3  norm          5.8720        13.083        .82857E-03   -1.5223    
   4  Prefactor     .10000E-03    27.538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.0879        7.2651        .99694E-03   -1.5304    
   6  Prefactor     .10000E-03    15.768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    16.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.6736        7.1709        .12884E-03   -1.5086    
   9  norm          3.0028        1.0744        .52985E-04   -1.5361    
  10  Prefactor     2.0065        10.300        .29229E-03   -1.5425    
  11  Prefactor     10.234        17.710        .12525E-03   -1.5068    
  12  Prefactor     120.87        62.460        .36606E-04   -1.3505    
  13  norm          5.3532        6.1038        .17369E-03   -1.5245    
  14  Prefactor     .10000E-03    5.3344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    54.587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10005E-03    69.570        .42831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.1719        55.160        .22742E-03   -1.5352    
  18  norm          10.474        10.150        .61900E-03   -1.5061    
  19  norm          46.957        23.883        .58529E-04   -1.4336    
  20  Prefactor     .88188        2.6633        .23974E-03   -1.5520    
  21  Prefactor     72.119        36.282        .47274E-04   -1.4007    
  22  Prefactor     .10000E-03    6.8785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    5.4438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0652        .23813        .32002E-03   -.90876    
  25  Prefactor     .89269        .14612        .21574E-03   -.96397    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17997e-09
Minuit parameter uncertainties:
  1  18.0449
  2  0.246587
  3  13.0891
  4  2.53346e-05
  5  7.26663
  6  0.000336674
  7  0.000371777
  8  7.17149
  9  1.07436
  10  9.0945
  11  17.7187
  12  62.4936
  13  6.10448
  14  3.31665e-07
  15  0.000370266
  16  0.00360744
  17  26.4828
  18  10.1519
  19  23.8878
  20  2.66362
  21  36.2927
  22  7.00071e-06
  23  5.2458e-06
  24  0.238368
  25  0.146184
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  2.006e+00  9.094e+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:  8.927e-01  1.462e-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.065e+00  2.384e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/840539/likelihoodResults_382665601_382924801_4FGL_J2324.7+0801_daily_bin553.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) = 7831.05462428
delta logL = 0.00762590211161

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7831.0541304
delta logL = 0.00811978255842

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8356       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4104       1.0000          .0000       10.000    
     3 'Normalizat'    1.0636       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89293       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=   7831.054     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      246 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8362        9.0408        .30796E-03    .92697E-04
   2  Index         2.4100        1.4686        .71266E-02    .54005E-04
   3  Normalizat    1.0636        .23046        .32025E-03    .47406E-03
   4  Prefactor     .89293        .14446        .21571E-03    .73182E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.83625
  Index      = 2.40999
  Normalizat = 1.06355
  Prefactor  = 0.89293
 **********
 **   18 **HESSE 
 **********

 FCN=   7831.054     FROM HESSE     STATUS=OK            23 CALLS      269 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8362        8.2505        .12318E-04   -1.5437    
   2  Index         2.4100        1.4057        .28506E-03   -.54451    
   3  Normalizat    1.0636        .23063        .64049E-04   -.90931    
   4  Prefactor     .89293        .14453        .43143E-04   -.96389    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.53642e-10
Minuit parameter uncertainties:
  1  7.78614
  2  1.43232
  3  0.230847
  4  0.144589
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/840539': 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) = 7831.05413033
delta logL = 0.00811984778647

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.836e+00  7.786e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.410e+00  1.432e+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:  8.929e-01  1.446e-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.064e+00  2.308e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
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/840539/cmap_HighResolution_382665601_382924801_4FGL_J2324.7+0801_daily_bin553.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-03', job_status='DONE', photon_flux_upper_limit='8.81e-08', time_completed='2021-09-29 16:29:31.630091', job_id='840539', GAL2='0.89', fit_tolerance='1e-08', EG2='1.06', EG='1.07', time_epoch_completed='1632958171.63', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='8.12e-03', ts2='0.07', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='553' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:29:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 840539: <4FGL_J2324.7+0801_daily_bin553> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin553 351.19 8.0282 382665601 382924801 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 :                             328.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   856 sec.
    Turnaround time :                            860 sec.

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

