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


Performing analysis on: 4FGL_J2324.7-4041_daily_bin390
RA = 351.182, Dec = -40.6834
tmin = 340416001, tmax = 340675201
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='847028', job_status='RUN', time_executed='2021-09-29 16:39:44.320200', time_epoch_executed='1632958784.32' WHERE source_name='4FGL J2324.7-4041' and cadence='daily' and bin_id='390'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847028

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

Retrieving the FT1 file...

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

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

Retrieving 53 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847028/ft1_4FGL_J2324.7-4041_daily_bin390.fits


Retrieving the FT1 file...

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

Retrieving 53 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847028/ft2_4FGL_J2324.7-4041_daily_bin390.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847028/ft1_4FGL_J2324.7-4041_daily_bin390.fits outfile=/scratch/kocevski/847028/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin390.fits ra=351.182 dec=-40.6834 rad=12.0 tmin=340416001.0 tmax=340675201.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 6.75
user 6.45
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/847028/ft2_4FGL_J2324.7-4041_daily_bin390.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/847028/ft2_4FGL_J2324.7-4041_daily_bin390.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/847028/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin390.fits evtable="EVENTS" outfile="/scratch/kocevski/847028/ft1_filtered_4FGL_J2324.7-4041_daily_bin390.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/847028/ft1_filtered_4FGL_J2324.7-4041_daily_bin390.fits" evtable="EVENTS" scfile=/scratch/kocevski/847028/ft2_4FGL_J2324.7-4041_daily_bin390.fits sctable="SC_DATA" outfile=/scratch/kocevski/847028/ltcube_340416001_340675201_4FGL_J2324.7-4041_daily_bin390.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/847028/ft2_4FGL_J2324.7-4041_daily_bin390.fits
.....................!
real 11.50
user 11.15
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847028/ft1_filtered_4FGL_J2324.7-4041_daily_bin390.fits evtable="EVENTS" scfile=/scratch/kocevski/847028/ft2_4FGL_J2324.7-4041_daily_bin390.fits sctable="SC_DATA" expcube=/scratch/kocevski/847028/ltcube_340416001_340675201_4FGL_J2324.7-4041_daily_bin390.fits outfile=/scratch/kocevski/847028/expmap_340416001_340675201_4FGL_J2324.7-4041_daily_bin390.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/847028/ltcube_340416001_340675201_4FGL_J2324.7-4041_daily_bin390.fits
.....................!
real 192.55
user 187.01
sys 5.22

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 182 point sources and 0 extended sources

Setting source of interest to:
4FGL J2324.7-4041 @ 351.182 -40.6834

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/847028/ft1_filtered_4FGL_J2324.7-4041_daily_bin390.fits scfile=/scratch/kocevski/847028/ft2_4FGL_J2324.7-4041_daily_bin390.fits outfile=/scratch/kocevski/847028/cmap_340416001_340675201_4FGL_J2324.7-4041_daily_bin390.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.182 yref=-40.6834 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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847028/ft1_filtered_4FGL_J2324.7-4041_daily_bin390.fits scfile=/scratch/kocevski/847028/ft2_4FGL_J2324.7-4041_daily_bin390.fits outfile=/scratch/kocevski/847028/cmap_HighResolution_340416001_340675201_4FGL_J2324.7-4041_daily_bin390.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.182 yref=-40.6834 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/847028/ft1_filtered_4FGL_J2324.7-4041_daily_bin390.fits evtable="EVENTS" scfile=/scratch/kocevski/847028/ft2_4FGL_J2324.7-4041_daily_bin390.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/847028/Model_4FGL_J2324.7-4041_daily_bin390.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/847028/ft1_filtered_4FGL_J2324.7-4041_daily_bin390.fits.....................!
real 40.03
user 38.75
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/847028/ft1_filtered_4FGL_J2324.7-4041_daily_bin390.fits', '/scratch/kocevski/847028/ft2_4FGL_J2324.7-4041_daily_bin390.fits', expMap='/scratch/kocevski/847028/expmap_340416001_340675201_4FGL_J2324.7-4041_daily_bin390.fits', expCube='/scratch/kocevski/847028/ltcube_340416001_340675201_4FGL_J2324.7-4041_daily_bin390.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/847028/Model_4FGL_J2324.7-4041_daily_bin390.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.7-4041'

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  1.376e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
419        alpha:  1.623e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  8.462e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  2.868e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/847028/ft1_filtered_4FGL_J2324.7-4041_daily_bin390.fits
Spacecraft file(s): /scratch/kocevski/847028/ft2_4FGL_J2324.7-4041_daily_bin390.fits
Exposure map: /scratch/kocevski/847028/expmap_340416001_340675201_4FGL_J2324.7-4041_daily_bin390.fits
Exposure cube: /scratch/kocevski/847028/ltcube_340416001_340675201_4FGL_J2324.7-4041_daily_bin390.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/847028/Model_4FGL_J2324.7-4041_daily_bin390.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) = 5201.33797388

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.395       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.239       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    34.639       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.486       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.3928       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.3542       1.0000         .10000E-03   10000.    
    17 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.3101       1.0000         .10000E-03   10000.    
    19 'Prefactor '    48.718       1.0000         .10000E-03   10000.    
    20 'Prefactor '    17.977       1.0000         .10000E-03   10000.    
    21 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .19599E-02   1.0000         .10000E-03   10000.    
    23 'norm      '    9.5074       1.0000         .10000E-03   10000.    
    24 'norm      '    4.2294       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10711E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    12.542       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    31 'Normalizat'    .33781       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.5592       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5201.301     FROM MIGRAD    STATUS=CONVERGED    827 CALLS     4336 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.392        36.774       -.33298E-05    .20804E-04
   2  Prefactor     13.242        23.447        .26632E-05   -.46937E-04
   3  Prefactor     .10000E-03    54.253       -.39266E-04** at limit **
   4  Prefactor     .10000E-03    3.3071       -.24662E-06** at limit **
   5  Prefactor     34.648        62.086        .12956E-04    .24150E-04
   6  Prefactor     .10002E-03    4.7740        .21917E-05** at limit **
   7  Prefactor     22.488        18.391        .51893E-06    .26920E-04
   8  Prefactor     .10000E-03    8.5140       -.29619E-05** at limit **
   9  Prefactor     .10000E-03    5.0888       -.83816E-06** at limit **
  10  Prefactor     1.3986        13.760       -.34541E-05   -.55081E-03
  11  Prefactor     .10000E-03    20.379       -.23171E-05** at limit **
  12  Prefactor     .10000E-03    18.067       -.83924E-05** at limit **
  13  Prefactor     .10000E-03    5.1080       -.65463E-06** at limit **
  14  norm          .10000E-03    9.4555        .26383E-05** at limit **
  15  norm          .10000E-03    1.9012       -.10166E-07** at limit **
  16  norm          3.3542        3.3305        .14237E-06    .16963E-03
  17  norm          .10000E-03    4.2315        .40319E-06** at limit **
  18  Prefactor     3.3122        4.5257       -.34359E-06   -.67900E-03
  19  Prefactor     48.728        39.418        .96427E-05   -.21120E-04
  20  Prefactor     17.985        46.052        .15286E-04   -.91310E-06
  21  norm          .10000E-03    2.3801       -.36314E-06** at limit **
  22  Prefactor     .10027E-03    10.834        .29984E-05** at limit **
  23  norm          9.5082        1.9561        .21102E-07   -.21578E-02
  24  norm          4.2290        4.0797       -.64067E-06   -.17576E-03
  25  Prefactor     .10001E-03    2.5943        .13467E-05** at limit **
  26  Prefactor     .10000E-03    8.5230       -.29216E-05** at limit **
  27  Prefactor     .10000E-03    42.633        .35111E-04** at limit **
  28  Prefactor     .10000E-03    2.6047        .90868E-07** at limit **
  29  Prefactor     12.543        6.3446        .31451E-07   -.40880E-03
  30  Prefactor     .10000E-03    13.532        .19559E-05** at limit **
  31  Normalizat    .33769        .21780       -.89028E-05   -.31703E-03
  32  Prefactor     1.5593        .23283        .16141E-05   -.36952E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.3919
  Prefactor  = 13.2423
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 34.648
  Prefactor  = 0.000100017
  Prefactor  = 22.4877
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.39859
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.35418
  norm       = 0.0001
  Prefactor  = 3.31225
  Prefactor  = 48.7277
  Prefactor  = 17.9854
  norm       = 0.0001
  Prefactor  = 0.000100268
  norm       = 9.50821
  norm       = 4.22896
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.543
  Prefactor  = 0.0001
  Normalizat = 0.337692
  Prefactor  = 1.55929
 **********
 **   18 **HESSE 
 **********

 FCN=   5201.301     FROM HESSE     STATUS=OK           653 CALLS     4989 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.392        36.721        .81102E-04   -1.4720    
   2  Prefactor     13.242        23.397        .11008E-03   -1.4980    
   3  Prefactor     .10000E-03    53.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.4000        .25533E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     34.648        61.963        .68089E-04   -1.4530    
   6  Prefactor     .10002E-03    12.750        .30377E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.488        18.382        .84469E-04   -1.4759    
   8  Prefactor     .10000E-03    8.5179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.0986        .15887E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.3986        13.657        .36810E-03   -1.5471    
  11  Prefactor     .10000E-03    20.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    18.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.1141        .15917E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    9.5229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.9013        .97116E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.3542        3.3387        .12752E-03   -1.5342    
  17  norm          .10000E-03    4.2496        .14482E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.3122        4.3914        .16851E-03   -1.5344    
  19  Prefactor     48.728        39.175        .57451E-04   -1.4311    
  20  Prefactor     17.985        45.700        .94463E-04   -1.4860    
  21  norm          .10000E-03    2.3909        .10835E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10027E-03    53.707        .43189E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          9.5082        1.9238        .42987E-04   -1.5091    
  24  norm          4.2290        4.0676        .13106E-03   -1.5297    
  25  Prefactor     .10001E-03    6.2874        .22370E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    8.5298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    42.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    2.6492        .11362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     12.543        6.3021        .11156E-03   -1.4999    
  30  Prefactor     .10000E-03    13.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    .33769        .22893        .37332E-03   -1.2066    
  32  Prefactor     1.5593        .25540        .21703E-03   -.75893    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.26392e-09
Minuit parameter uncertainties:
  1  36.7554
  2  23.4135
  3  0.000536905
  4  2.84686e-05
  5  62.0783
  6  0.000924138
  7  18.3862
  8  1.21796e-06
  9  8.24059e-06
  10  8.74328
  11  1.0101e-05
  12  1.08042e-05
  13  4.96373e-06
  14  6.66126e-06
  15  4.8234e-08
  16  3.33887
  17  1.62862e-05
  18  4.39181
  19  39.196
  20  45.7887
  21  5.45877e-05
  22  0.00759873
  23  1.92386
  24  4.06788
  25  0.000385271
  26  4.91332e-06
  27  6.47214e-06
  28  1.04338e-05
  29  6.30243
  30  7.29296e-06
  31  0.229565
  32  0.25561
Done.

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

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  3.354e+00  3.339e+00  1.000e-04  1.000e+04 ( 1.000e-13)
419        alpha:  1.623e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  8.462e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  2.868e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  1.559e+00  2.556e-01  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  3.377e-01  2.296e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.99
Ra Dec: 351.182 -40.683
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 8.22e-09 +/- 8.18e-09
Energy Flux (Fixed Index): 1.78e-05 +/- 1.77e-05

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) = 5200.28987548
delta logL = 1.01073801119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5200.15523193
delta logL = 1.14538156124

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5486       1.0000         .10000E-03   10000.    
     2 'alpha     '    .47658       1.0000          .0000       5.0000    
     3 'Normalizat'    .33875       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5614       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5200.155     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5496        1.7376        .85587E-02   -.82147E-04
   2  alpha         .47534        .60901        .50000       -.80132E-05
   3  Normalizat    .33875        .19313        .84170E-01    .33856E-04
   4  Prefactor     1.5617        .22921        .49073E-01   -.23738E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54957
  alpha      = 0.47534
  Normalizat = 0.338745
  Prefactor  = 1.56168
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5496        2.4504        .86347E-04   -1.5459    
   2  alpha         .47534        .71975        .26486E-01   -.94392    
   3  Normalizat    .33875        .21182        .37279E-03   -1.2060    
   4  Prefactor     1.5617        .25206        .21692E-03   -.75827    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20646e-11
Minuit parameter uncertainties:
  1  2.4506
  2  0.752312
  3  0.212326
  4  0.252266
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847028': 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) = 5200.15522371
delta logL = 1.14538978744

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  1.550e+00  2.451e+00  1.000e-04  1.000e+04 ( 1.000e-13)
419        alpha:  4.753e-01  7.523e-01  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  8.462e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  2.868e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  1.562e+00  2.523e-01  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  3.387e-01  2.123e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.27
Ra Dec: 351.182 -40.683
Photon Index (Free Index): 0.48 +/- 0.75
Photon Flux (Free Index): 3.48e-09 +/- 3.50e-09
Energy Flux (Free Index): 9.24e-05 +/- 1.19e-04

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/847028/cmap_HighResolution_340416001_340675201_4FGL_J2324.7-4041_daily_bin390.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.22e-09', energy_flux2='9.24e-05', photon_flux_error='8.18e-09', dlogl='1.15e+00', energy_flux='1.78e-05', photon_flux2='3.48e-09', job_status='DONE', time_completed='2021-09-29 16:51:54.540423', photon_index_error2='0.75', photon_index2='0.48', ts='10.99', fit_tolerance='1e-08', GAL='1.56', photon_index_error='0.00', energy_flux_error2='1.19e-04', EG='0.34', time_epoch_completed='1632959514.54', return_code='0', job_id='847028', GAL2='1.56', EG2='0.34', return_code2='0', energy_flux_error='1.77e-05', photon_flux_error2='3.50e-09', ts2='13.27', photon_index='1.62' WHERE bin_id='390' AND source_name='4FGL J2324.7-4041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:51:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 847028: <4FGL_J2324.7-4041_daily_bin390> in cluster <slac> Done

Job <4FGL_J2324.7-4041_daily_bin390> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 16:35:40 2021
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:35:42 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:35:42 2021
Terminated at Wed Sep 29 16:51:55 2021
Results reported at Wed Sep 29 16:51:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7-4041_daily_bin390 351.182 -40.6834 340416001 340675201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2324.7-4041 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   729.02 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             230.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   972 sec.
    Turnaround time :                            975 sec.

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

