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


Performing analysis on: 4FGL_J2324.7-4041_daily_bin1281
RA = 351.182, Dec = -40.6834
tmin = 571363201, tmax = 571622401
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='853212', job_status='RUN', time_executed='2021-09-29 16:53:08.370898', time_epoch_executed='1632959588.37' WHERE source_name='4FGL J2324.7-4041' and cadence='daily' and bin_id='1281'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/853212

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/853212/ft1_4FGL_J2324.7-4041_daily_bin1281.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/853212/ft2_4FGL_J2324.7-4041_daily_bin1281.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/853212/ft1_4FGL_J2324.7-4041_daily_bin1281.fits outfile=/scratch/kocevski/853212/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin1281.fits ra=351.182 dec=-40.6834 rad=12.0 tmin=571363201.0 tmax=571622401.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 2.87
user 2.66
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/853212/ft2_4FGL_J2324.7-4041_daily_bin1281.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/853212/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin1281.fits evtable="EVENTS" outfile="/scratch/kocevski/853212/ft1_filtered_4FGL_J2324.7-4041_daily_bin1281.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.48
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/853212/ft1_filtered_4FGL_J2324.7-4041_daily_bin1281.fits" evtable="EVENTS" scfile=/scratch/kocevski/853212/ft2_4FGL_J2324.7-4041_daily_bin1281.fits sctable="SC_DATA" outfile=/scratch/kocevski/853212/ltcube_571363201_571622401_4FGL_J2324.7-4041_daily_bin1281.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/853212/ft2_4FGL_J2324.7-4041_daily_bin1281.fits
.....................!
real 12.23
user 11.89
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/853212/ft1_filtered_4FGL_J2324.7-4041_daily_bin1281.fits evtable="EVENTS" scfile=/scratch/kocevski/853212/ft2_4FGL_J2324.7-4041_daily_bin1281.fits sctable="SC_DATA" expcube=/scratch/kocevski/853212/ltcube_571363201_571622401_4FGL_J2324.7-4041_daily_bin1281.fits outfile=/scratch/kocevski/853212/expmap_571363201_571622401_4FGL_J2324.7-4041_daily_bin1281.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/853212/ltcube_571363201_571622401_4FGL_J2324.7-4041_daily_bin1281.fits
.....................!
real 193.00
user 187.35
sys 5.32

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/853212/ft1_filtered_4FGL_J2324.7-4041_daily_bin1281.fits scfile=/scratch/kocevski/853212/ft2_4FGL_J2324.7-4041_daily_bin1281.fits outfile=/scratch/kocevski/853212/cmap_571363201_571622401_4FGL_J2324.7-4041_daily_bin1281.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/853212/ft1_filtered_4FGL_J2324.7-4041_daily_bin1281.fits scfile=/scratch/kocevski/853212/ft2_4FGL_J2324.7-4041_daily_bin1281.fits outfile=/scratch/kocevski/853212/cmap_HighResolution_571363201_571622401_4FGL_J2324.7-4041_daily_bin1281.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/853212/ft1_filtered_4FGL_J2324.7-4041_daily_bin1281.fits evtable="EVENTS" scfile=/scratch/kocevski/853212/ft2_4FGL_J2324.7-4041_daily_bin1281.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/853212/Model_4FGL_J2324.7-4041_daily_bin1281.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/853212/ft1_filtered_4FGL_J2324.7-4041_daily_bin1281.fits.....................!
real 30.04
user 28.83
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/853212/ft1_filtered_4FGL_J2324.7-4041_daily_bin1281.fits', '/scratch/kocevski/853212/ft2_4FGL_J2324.7-4041_daily_bin1281.fits', expMap='/scratch/kocevski/853212/expmap_571363201_571622401_4FGL_J2324.7-4041_daily_bin1281.fits', expCube='/scratch/kocevski/853212/ltcube_571363201_571622401_4FGL_J2324.7-4041_daily_bin1281.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/853212/Model_4FGL_J2324.7-4041_daily_bin1281.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/853212/ft1_filtered_4FGL_J2324.7-4041_daily_bin1281.fits
Spacecraft file(s): /scratch/kocevski/853212/ft2_4FGL_J2324.7-4041_daily_bin1281.fits
Exposure map: /scratch/kocevski/853212/expmap_571363201_571622401_4FGL_J2324.7-4041_daily_bin1281.fits
Exposure cube: /scratch/kocevski/853212/ltcube_571363201_571622401_4FGL_J2324.7-4041_daily_bin1281.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/853212/Model_4FGL_J2324.7-4041_daily_bin1281.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) = 3132.50430736

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.066       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.1838       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.9097       1.0000         .10000E-03   10000.    
     5 'Prefactor '    158.38       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.7565       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.304       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.2346       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    59.172       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    5.9028       1.0000         .10000E-03   10000.    
    17 'norm      '    26.202       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .28246E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    7.6519       1.0000         .10000E-03   10000.    
    22 'Prefactor '    20.994       1.0000         .10000E-03   10000.    
    23 'norm      '    3.8874       1.0000         .10000E-03   10000.    
    24 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.9528       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    4.2890       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    33.629       1.0000         .10000E-03   10000.    
    31 'Normalizat'    1.0939       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .91489       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=   3132.481     FROM MIGRAD    STATUS=CONVERGED    836 CALLS     5176 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.063        79.022        .16707E-05    .15002E-04
   2  Prefactor     9.1812        26.053        .10408E-05    .34156E-04
   3  Prefactor     .10000E-03    48.169       -.68995E-06** at limit **
   4  Prefactor     1.9096        9.6846        .11116E-04   -.51376E-04
   5  Prefactor     158.36        140.52        .28086E-06    .14698E-04
   6  Prefactor     8.7566        14.301        .16852E-06    .18589E-05
   7  Prefactor     .10000E-03    27.253        .22833E-05** at limit **
   8  Prefactor     14.360        55.191       -.10309E-04   -.49173E-04
   9  Prefactor     6.2304        51.436        .28370E-05    .11864E-04
  10  Prefactor     .10000E-03    6.6489        .48657E-06** at limit **
  11  Prefactor     59.181        59.519       -.69072E-06   -.49750E-05
  12  Prefactor     .10000E-03    152.33       -.19050E-06** at limit **
  13  Prefactor     .10000E-03    9.9538       -.51644E-07** at limit **
  14  norm          .10000E-03    6.6180       -.21098E-06** at limit **
  15  norm          .10000E-03    3.3390       -.40773E-08** at limit **
  16  norm          5.9017        6.2138       -.73864E-07    .22207E-04
  17  norm          26.206        15.789        .16681E-06    .35924E-04
  18  Prefactor     .10000E-03    4.7488        .20340E-07** at limit **
  19  Prefactor     .10000E-03    204.42       -.27052E-05** at limit **
  20  Prefactor     .10000E-03    24.725       -.80529E-06** at limit **
  21  norm          7.6458        7.8242        .54011E-06    .14557E-03
  22  Prefactor     20.992        22.965        .31804E-06    .15867E-04
  23  norm          3.8874        1.9630        .54860E-07    .28712E-04
  24  norm          .10000E-03    3.4561       -.21828E-06** at limit **
  25  Prefactor     2.9528        3.3914        .69418E-07   -.24570E-04
  26  Prefactor     .10000E-03    20.749        .50198E-06** at limit **
  27  Prefactor     .10000E-03    23.529       -.12202E-05** at limit **
  28  Prefactor     4.2891        10.659        .32821E-05   -.43260E-04
  29  Prefactor     .10000E-03    3.2108       -.11243E-06** at limit **
  30  Prefactor     33.623        60.362       -.11676E-05    .17565E-04
  31  Normalizat    1.0939        .27641       -.12716E-05    .89407E-04
  32  Prefactor     .91484        .28455       -.12107E-05    .57091E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.063
  Prefactor  = 9.18124
  Prefactor  = 0.0001
  Prefactor  = 1.90963
  Prefactor  = 158.355
  Prefactor  = 8.75663
  Prefactor  = 0.000100001
  Prefactor  = 14.3599
  Prefactor  = 6.23039
  Prefactor  = 0.0001
  Prefactor  = 59.1811
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.90168
  norm       = 26.2064
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  norm       = 7.64581
  Prefactor  = 20.9918
  norm       = 3.88739
  norm       = 0.0001
  Prefactor  = 2.95279
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.28909
  Prefactor  = 0.0001
  Prefactor  = 33.6233
  Normalizat = 1.09388
  Prefactor  = 0.914836
 **********
 **   18 **HESSE 
 **********

 FCN=   3132.481     FROM HESSE     STATUS=OK           653 CALLS     5829 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.063        79.593        .59074E-04   -1.4350    
   2  Prefactor     9.1812        25.656        .13225E-03   -1.5102    
   3  Prefactor     .10000E-03    48.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.9096        9.7192        .15042E-02   -1.5432    
   5  Prefactor     158.36        140.50        .32039E-04   -1.3184    
   6  Prefactor     8.7566        14.300        .67728E-03   -1.5116    
   7  Prefactor     .10000E-03    27.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.360        55.264        .10590E-03   -1.4950    
   9  Prefactor     6.2304        51.912        .16077E-03   -1.5209    
  10  Prefactor     .10000E-03    6.6608        .14101E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     59.181        59.511        .52156E-04   -1.4168    
  12  Prefactor     .10000E-03    152.43        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.9709        .17245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.6190        .14063E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.3395        .99881E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          5.9017        6.2170        .13745E-03   -1.5222    
  17  norm          26.206        15.796        .78261E-04   -1.4684    
  18  Prefactor     .10000E-03    4.7510        .11895E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    206.09        .21415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    24.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          7.6458        7.8232        .14497E-03   -1.5155    
  22  Prefactor     20.992        23.112        .87417E-04   -1.4791    
  23  norm          3.8874        1.9611        .51183E-04   -1.5314    
  24  norm          .10000E-03    3.4750        .10151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     2.9528        3.3818        .10663E-03   -1.5364    
  26  Prefactor     .10000E-03    20.901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    23.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     4.2891        10.734        .97266E-03   -1.5294    
  29  Prefactor     .10000E-03    5.3409        .19070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     33.623        60.171        .69101E-04   -1.4548    
  31  Normalizat    1.0939        .34192        .24521E-03   -.89949    
  32  Prefactor     .91484        .34763        .29371E-03   -.95625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03393e-10
Minuit parameter uncertainties:
  1  79.7779
  2  25.6868
  3  0.000164234
  4  8.61828
  5  140.798
  6  14.3057
  7  0.000277191
  8  55.4626
  9  36.0105
  10  4.3616e-05
  11  59.5713
  12  0.000349363
  13  6.68426e-06
  14  4.67439e-06
  15  5.60562e-07
  16  6.21772
  17  15.7984
  18  2.35698e-06
  19  0.00201345
  20  3.4013e-05
  21  7.8242
  22  23.1222
  23  1.96117
  24  2.36375e-05
  25  3.38205
  26  2.80522e-05
  27  3.76761e-05
  28  10.7385
  29  1.51984e-06
  30  60.2802
  31  0.342613
  32  0.348481
Done.

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

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  5.902e+00  6.218e+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:  9.148e-01  3.485e-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:  1.094e+00  3.426e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.93
Ra Dec: 351.182 -40.683
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 1.45e-08 +/- 1.52e-08
Energy Flux (Fixed Index): 3.13e-05 +/- 3.30e-05

TS (Fixed Index): 3.93
Ra Dec: 351.182 -40.683
Photon Flux Upper Limit: 6.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.43e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/853212/likelihoodResults_571363201_571622401_4FGL_J2324.7-4041_daily_bin1281.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) = 3132.37005268
delta logL = 0.11085369112

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3132.36726746
delta logL = 0.113638910138

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1057       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2849       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0710       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92424       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3132.367     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      286 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1041        8.2882        .10146E-03   -.20901E-02
   2  alpha         2.2849        1.6056        .12121E-01   -.18088E-03
   3  Normalizat    1.0709        .32054        .24718E-03   -.42434E-03
   4  Prefactor     .92433        .34043        .29210E-03   -.54237E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.10411
  alpha      = 2.28489
  Normalizat = 1.07094
  Prefactor  = 0.924335
 **********
 **   18 **HESSE 
 **********

 FCN=   3132.367     FROM HESSE     STATUS=OK            23 CALLS      309 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1041        6.8472        .20292E-04   -1.5303    
   2  alpha         2.2849        1.3593        .48484E-03   -.86151E-01
   3  Normalizat    1.0709        .31474        .49435E-04   -.90690    
   4  Prefactor     .92433        .33904        .58420E-04   -.95296    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47386e-09
Minuit parameter uncertainties:
  1  6.84851
  2  1.43787
  3  0.315291
  4  0.339819
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/853212': 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) = 3132.36726733
delta logL = 0.113639046867

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  4.104e+00  6.849e+00  1.000e-04  1.000e+04 ( 1.000e-13)
419        alpha:  2.285e+00  1.438e+00  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:  9.243e-01  3.398e-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:  1.071e+00  3.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.16
Ra Dec: 351.182 -40.683
Photon Index (Free Index): 2.28 +/- 1.44
Photon Flux (Free Index): 3.83e-08 +/- 8.52e-08
Energy Flux (Free Index): 1.93e-05 +/- 1.86e-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/853212/cmap_HighResolution_571363201_571622401_4FGL_J2324.7-4041_daily_bin1281.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-04', comment='SUCCESS', photon_flux='1.45e-08', energy_flux2='1.93e-05', photon_flux_error='1.52e-08', dlogl='1.14e-01', energy_flux='3.13e-05', photon_flux2='3.83e-08', job_status='DONE', time_completed='2021-09-29 17:04:37.883644', photon_index_error2='1.44', photon_index2='2.28', ts='3.93', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='6.61e-08', energy_flux_error2='1.86e-05', EG='1.09', time_epoch_completed='1632960277.88', return_code='0', job_id='853212', GAL2='0.92', EG2='1.07', return_code2='0', energy_flux_error='3.30e-05', photon_flux_error2='8.52e-08', ts2='4.16', photon_index='1.62' WHERE bin_id='1281' AND source_name='4FGL J2324.7-4041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:04:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0137>
Subject: Job 853212: <4FGL_J2324.7-4041_daily_bin1281> in cluster <slac> Done

Job <4FGL_J2324.7-4041_daily_bin1281> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 16:50:23 2021
Job was executed on host(s) <bullet0137>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:50:24 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:50:24 2021
Terminated at Wed Sep 29 17:04:38 2021
Results reported at Wed Sep 29 17:04:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7-4041_daily_bin1281 351.182 -40.6834 571363201 571622401 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 :                                   648.39 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             260.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            855 sec.

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

