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


Performing analysis on: 4FGL_J2324.7-4041_daily_bin1106
RA = 351.182, Dec = -40.6834
tmin = 526003201, tmax = 526262401
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='851868', job_status='RUN', time_executed='2021-09-29 16:47:03.873333', time_epoch_executed='1632959223.87' WHERE source_name='4FGL J2324.7-4041' and cadence='daily' and bin_id='1106'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/851868

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/851868/ft1_4FGL_J2324.7-4041_daily_bin1106.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/851868/ft2_4FGL_J2324.7-4041_daily_bin1106.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/851868/ft1_4FGL_J2324.7-4041_daily_bin1106.fits outfile=/scratch/kocevski/851868/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin1106.fits ra=351.182 dec=-40.6834 rad=12.0 tmin=526003201.0 tmax=526262401.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.76
user 3.50
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/851868/ft2_4FGL_J2324.7-4041_daily_bin1106.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/851868/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin1106.fits evtable="EVENTS" outfile="/scratch/kocevski/851868/ft1_filtered_4FGL_J2324.7-4041_daily_bin1106.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.54
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/851868/ft1_filtered_4FGL_J2324.7-4041_daily_bin1106.fits" evtable="EVENTS" scfile=/scratch/kocevski/851868/ft2_4FGL_J2324.7-4041_daily_bin1106.fits sctable="SC_DATA" outfile=/scratch/kocevski/851868/ltcube_526003201_526262401_4FGL_J2324.7-4041_daily_bin1106.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/851868/ft2_4FGL_J2324.7-4041_daily_bin1106.fits
.....................!
real 12.83
user 12.43
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/851868/ft1_filtered_4FGL_J2324.7-4041_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/851868/ft2_4FGL_J2324.7-4041_daily_bin1106.fits sctable="SC_DATA" expcube=/scratch/kocevski/851868/ltcube_526003201_526262401_4FGL_J2324.7-4041_daily_bin1106.fits outfile=/scratch/kocevski/851868/expmap_526003201_526262401_4FGL_J2324.7-4041_daily_bin1106.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/851868/ltcube_526003201_526262401_4FGL_J2324.7-4041_daily_bin1106.fits
.....................!
real 193.26
user 187.05
sys 5.58

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/851868/ft1_filtered_4FGL_J2324.7-4041_daily_bin1106.fits scfile=/scratch/kocevski/851868/ft2_4FGL_J2324.7-4041_daily_bin1106.fits outfile=/scratch/kocevski/851868/cmap_526003201_526262401_4FGL_J2324.7-4041_daily_bin1106.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/851868/ft1_filtered_4FGL_J2324.7-4041_daily_bin1106.fits scfile=/scratch/kocevski/851868/ft2_4FGL_J2324.7-4041_daily_bin1106.fits outfile=/scratch/kocevski/851868/cmap_HighResolution_526003201_526262401_4FGL_J2324.7-4041_daily_bin1106.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.65
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/851868/ft1_filtered_4FGL_J2324.7-4041_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/851868/ft2_4FGL_J2324.7-4041_daily_bin1106.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/851868/Model_4FGL_J2324.7-4041_daily_bin1106.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/851868/ft1_filtered_4FGL_J2324.7-4041_daily_bin1106.fits.....................!
real 41.68
user 39.36
sys 1.41

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.684       1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.100       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.7784       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10294E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.8007       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10649E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.019       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.4633       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.760       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10418E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    10.206       1.0000         .10000E-03   10000.    
    15 'norm      '    3.4448       1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.8869       1.0000         .10000E-03   10000.    
    19 'Prefactor '    49.538       1.0000         .10000E-03   10000.    
    20 'Prefactor '    23.172       1.0000         .10000E-03   10000.    
    21 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    9.3388       1.0000         .10000E-03   10000.    
    23 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    1.8716       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    19.046       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    9.7392       1.0000         .10000E-03   10000.    
    31 'Normalizat'    .80228       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .86583       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=   5324.095     FROM MIGRAD    STATUS=CONVERGED    813 CALLS     3717 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.656        46.469       -.42995E-05   -.56629E-04
   2  Prefactor     14.099        16.133        .10442E-06   -.12848E-04
   3  Prefactor     .10000E-03    23.404        .41482E-06** at limit **
   4  Prefactor     2.7781        2.6939        .74272E-07   -.12869E-04
   5  Prefactor     .10000E-03    33.589       -.13877E-06** at limit **
   6  Prefactor     9.8015        6.6444        .47610E-07   -.22032E-04
   7  Prefactor     .10000E-03    24.134        .11121E-05** at limit **
   8  Prefactor     .10000E-03    5.3966        .51569E-07** at limit **
   9  Prefactor     16.018        11.286        .15240E-06   -.18023E-04
  10  Prefactor     7.4628        6.2859        .15043E-06   -.33290E-04
  11  Prefactor     14.762        21.297        .23431E-06    .43137E-05
  12  Prefactor     .10000E-03    22.018        .94611E-07** at limit **
  13  Prefactor     .10000E-03    20.573       -.29654E-06** at limit **
  14  norm          10.206        8.8950       -.93701E-08   -.19553E-04
  15  norm          3.4457        4.0515       -.33502E-07    .11956E-05
  16  norm          .10000E-03    2.3615        .15003E-06** at limit **
  17  norm          .10000E-03    3.6104        .11667E-06** at limit **
  18  Prefactor     5.8883        5.2768        .19584E-07   -.23767E-04
  19  Prefactor     49.557        31.053       -.16244E-05   -.42882E-03
  20  Prefactor     23.178        29.775        .66782E-06    .15296E-05
  21  norm          .10005E-03    3.1310        .15693E-05** at limit **
  22  Prefactor     9.3407        12.232        .12485E-06   -.35201E-04
  23  norm          .10000E-03    .24797        .20482E-07** at limit **
  24  norm          1.8708        4.1429       -.30596E-06   -.57837E-03
  25  Prefactor     .10000E-03    1.5403        .34360E-07** at limit **
  26  Prefactor     19.048        16.396        .13083E-06   -.10657E-04
  27  Prefactor     .10000E-03    20.341       -.68222E-06** at limit **
  28  Prefactor     .10000E-03    1.9812       -.19408E-07** at limit **
  29  Prefactor     .10000E-03    1.3753       -.87199E-08** at limit **
  30  Prefactor     9.7381        30.710        .10837E-06   -.51807E-05
  31  Normalizat    .80195        .16341       -.10737E-05   -.32682E-03
  32  Prefactor     .86622        .17731        .25550E-06   -.32553E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.6556
  Prefactor  = 14.0992
  Prefactor  = 0.0001
  Prefactor  = 2.77814
  Prefactor  = 0.0001
  Prefactor  = 9.80151
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.0181
  Prefactor  = 7.46282
  Prefactor  = 14.7621
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.2056
  norm       = 3.44571
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.88831
  Prefactor  = 49.5568
  Prefactor  = 23.1783
  norm       = 0.000100048
  Prefactor  = 9.34074
  norm       = 0.0001
  norm       = 1.87078
  Prefactor  = 0.0001
  Prefactor  = 19.0478
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.73812
  Normalizat = 0.801955
  Prefactor  = 0.86622
 **********
 **   18 **HESSE 
 **********

 FCN=   5324.095     FROM HESSE     STATUS=OK           655 CALLS     4372 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.656        46.521        .10113E-03   -1.4916    
   2  Prefactor     14.099        16.138        .10667E-03   -1.4957    
   3  Prefactor     .10000E-03    23.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7781        2.6909        .11354E-03   -1.5375    
   5  Prefactor     .10000E-03    33.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.8015        6.6433        .12800E-03   -1.5082    
   7  Prefactor     .10000E-03    24.438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.4020        .16555E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.018        11.289        .10007E-03   -1.4907    
  10  Prefactor     7.4628        6.2832        .14680E-03   -1.5162    
  11  Prefactor     14.762        21.298        .10425E-03   -1.4939    
  12  Prefactor     .10000E-03    22.064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    20.966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.206        8.8958        .12543E-03   -1.5069    
  15  norm          3.4457        4.0496        .15515E-03   -1.5337    
  16  norm          .10000E-03    2.3790        .10946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    3.6340        .13539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.8883        5.2711        .14285E-03   -1.5223    
  19  Prefactor     49.557        31.745        .56976E-04   -1.4299    
  20  Prefactor     23.178        29.795        .83211E-04   -1.4745    
  21  norm          .10005E-03    14.392        .20573E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     9.3407        12.215        .13114E-03   -1.5097    
  23  norm          .10000E-03    .25057        .35449E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.8708        4.0549        .19795E-03   -1.5434    
  25  Prefactor     .10000E-03    1.5583        .88365E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     19.048        16.388        .91775E-04   -1.4835    
  27  Prefactor     .10000E-03    20.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    1.9948        .10025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    1.3846        .83521E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     9.7381        30.706        .12841E-03   -1.5084    
  31  Normalizat    .80195        .19256        .22257E-03   -.99996    
  32  Prefactor     .86622        .20955        .24114E-03   -.97332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.63518e-09
Minuit parameter uncertainties:
  1  46.6292
  2  16.1427
  3  6.19053e-05
  4  2.69103
  5  3.78564e-06
  6  6.64379
  7  7.34712e-05
  8  2.60276e-06
  9  11.29
  10  6.2838
  11  21.3091
  12  9.24731e-06
  13  7.07189e-06
  14  8.89697
  15  4.04997
  16  1.89768e-06
  17  1.87304e-06
  18  5.27148
  19  31.7558
  20  29.814
  21  0.00165706
  22  12.2184
  23  3.48581e-07
  24  4.05547
  25  1.6588e-06
  26  16.392
  27  3.83336e-05
  28  2.29598e-06
  29  2.32044e-06
  30  30.7559
  31  0.19272
  32  0.209743
Done.

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

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  1.000e-04  1.898e-06  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:  8.662e-01  2.097e-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:  8.020e-01  1.927e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.182 -40.683
Photon Flux Upper Limit: 2.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.57e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/851868/likelihoodResults_526003201_526262401_4FGL_J2324.7-4041_daily_bin1106.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5324.09652422
delta logL = -0.00198577686206

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5324.09453845
delta logL = -1.38406903716e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6236       1.0000          .0000       5.0000    
     3 'Normalizat'    .80197       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86622       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=   5324.095     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      192 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    28.248        .90712E-02** at limit **
   2  alpha         1.6237        2.8134        .44919       -.19640E-06
   3  Normalizat    .80196        .13202E-01    .43636E-01    .14885E-04
   4  Prefactor     .86622        .14907E-01    .44573E-01    .10682E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.62369
  Normalizat = 0.801955
  Prefactor  = 0.866221
 **********
 **   18 **HESSE 
 **********

 FCN=   5324.095     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      225 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    182.39        .10946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6237        2.5344        .50000       -.35813    
   3  Normalizat    .80196        .36418E-01    .22257E-03   -.99996    
   4  Prefactor     .86622        .41124E-01    .24113E-03   -.97332    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.25094e-09
Minuit parameter uncertainties:
  1  2.19869e-06
  2  1044.44
  3  0.036419
  4  0.041125
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/851868': 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): 102
logL (Free Index) = 5324.09453844
delta logL = 8.09450284578e-11

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  1.000e-04  2.199e-06  1.000e-04  1.000e+04 ( 1.000e-13)
419        alpha:  1.624e+00  1.044e+03  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:  8.662e-01  4.113e-02  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:  8.020e-01  3.642e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.182 -40.683

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/851868/cmap_HighResolution_526003201_526262401_4FGL_J2324.7-4041_daily_bin1106.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.57e-05', job_status='DONE', photon_flux_upper_limit='2.57e-08', time_completed='2021-09-29 17:00:21.649286', job_id='851868', GAL2='0.87', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1632960021.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='8.09e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1106' AND source_name='4FGL J2324.7-4041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:00:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 851868: <4FGL_J2324.7-4041_daily_bin1106> in cluster <slac> Done

Job <4FGL_J2324.7-4041_daily_bin1106> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 16:45:53 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:45:54 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:45:54 2021
Terminated at Wed Sep 29 17:00:22 2021
Results reported at Wed Sep 29 17:00:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7-4041_daily_bin1106 351.182 -40.6834 526003201 526262401 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 :                                   782.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   867 sec.
    Turnaround time :                            869 sec.

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

