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


Performing analysis on: 4FGL_J2324.7-4041_daily_bin1443
RA = 351.182, Dec = -40.6834
tmin = 613353601, tmax = 613612801
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='854570', job_status='RUN', time_executed='2021-09-29 16:55:47.218050', time_epoch_executed='1632959747.22' WHERE source_name='4FGL J2324.7-4041' and cadence='daily' and bin_id='1443'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/854570

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/854570/ft1_4FGL_J2324.7-4041_daily_bin1443.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/854570/ft2_4FGL_J2324.7-4041_daily_bin1443.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/854570/ft1_4FGL_J2324.7-4041_daily_bin1443.fits outfile=/scratch/kocevski/854570/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin1443.fits ra=351.182 dec=-40.6834 rad=12.0 tmin=613353601.0 tmax=613612801.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.70
user 2.50
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/854570/ft1_filtered_4FGL_J2324.7-4041_daily_bin1443.fits" evtable="EVENTS" scfile=/scratch/kocevski/854570/ft2_4FGL_J2324.7-4041_daily_bin1443.fits sctable="SC_DATA" outfile=/scratch/kocevski/854570/ltcube_613353601_613612801_4FGL_J2324.7-4041_daily_bin1443.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/854570/ft2_4FGL_J2324.7-4041_daily_bin1443.fits
.....................!
real 12.81
user 12.45
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/854570/ft1_filtered_4FGL_J2324.7-4041_daily_bin1443.fits evtable="EVENTS" scfile=/scratch/kocevski/854570/ft2_4FGL_J2324.7-4041_daily_bin1443.fits sctable="SC_DATA" expcube=/scratch/kocevski/854570/ltcube_613353601_613612801_4FGL_J2324.7-4041_daily_bin1443.fits outfile=/scratch/kocevski/854570/expmap_613353601_613612801_4FGL_J2324.7-4041_daily_bin1443.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/854570/ltcube_613353601_613612801_4FGL_J2324.7-4041_daily_bin1443.fits
.....................!
real 192.02
user 186.12
sys 5.56

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/854570/ft1_filtered_4FGL_J2324.7-4041_daily_bin1443.fits scfile=/scratch/kocevski/854570/ft2_4FGL_J2324.7-4041_daily_bin1443.fits outfile=/scratch/kocevski/854570/cmap_613353601_613612801_4FGL_J2324.7-4041_daily_bin1443.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/854570/ft1_filtered_4FGL_J2324.7-4041_daily_bin1443.fits scfile=/scratch/kocevski/854570/ft2_4FGL_J2324.7-4041_daily_bin1443.fits outfile=/scratch/kocevski/854570/cmap_HighResolution_613353601_613612801_4FGL_J2324.7-4041_daily_bin1443.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/854570/ft1_filtered_4FGL_J2324.7-4041_daily_bin1443.fits evtable="EVENTS" scfile=/scratch/kocevski/854570/ft2_4FGL_J2324.7-4041_daily_bin1443.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/854570/Model_4FGL_J2324.7-4041_daily_bin1443.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/854570/ft1_filtered_4FGL_J2324.7-4041_daily_bin1443.fits.....................!
real 40.91
user 39.61
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    72.884       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.4666       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.9924       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.8940       1.0000         .10000E-03   10000.    
     5 'Prefactor '    28.722       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.1737       1.0000         .10000E-03   10000.    
     7 'Prefactor '    41.451       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.731       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.2774       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.6768       1.0000         .10000E-03   10000.    
    14 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.8321       1.0000         .10000E-03   10000.    
    17 'norm      '    3.6612       1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.322       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.4380       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .18126       1.0000         .10000E-03   10000.    
    24 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    1.5364       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    2.0886       1.0000         .10000E-03   10000.    
    29 'Prefactor '    3.3940       1.0000         .10000E-03   10000.    
    30 'Prefactor '    23.353       1.0000         .10000E-03   10000.    
    31 'Normalizat'    .96322       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.0788       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=   5351.535     FROM MIGRAD    STATUS=CONVERGED    826 CALLS     4352 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     72.879        59.044        .52359E-06   -.54017E-04
   2  Prefactor     6.4664        28.255        .25257E-06   -.14611E-04
   3  Prefactor     5.9910        19.648        .47945E-06   -.63646E-05
   4  Prefactor     1.8942        2.7365        .10383E-06   -.36767E-05
   5  Prefactor     28.722        40.228        .38316E-06    .65130E-05
   6  Prefactor     2.1746        11.039        .13587E-05   -.15636E-05
   7  Prefactor     41.451        27.450        .39299E-06    .26985E-06
   8  Prefactor     .10000E-03    11.390       -.22562E-06** at limit **
   9  Prefactor     15.731        14.354        .62957E-06    .31286E-05
  10  Prefactor     2.2775        6.4037        .56338E-06   -.26281E-04
  11  Prefactor     .10000E-03    18.775       -.46436E-06** at limit **
  12  Prefactor     .10000E-03    72.676       -.10553E-06** at limit **
  13  Prefactor     2.6811        14.688        .94578E-06   -.14221E-04
  14  norm          .10000E-03    8.3581        .77045E-07** at limit **
  15  norm          .10000E-03    4.4712       -.58173E-07** at limit **
  16  norm          3.8322        3.8067        .10120E-06   -.53905E-03
  17  norm          3.6614        8.7687        .85545E-06    .69714E-04
  18  Prefactor     15.325        8.8301        .11532E-06   -.87505E-04
  19  Prefactor     .10001E-03    80.378        .62296E-05** at limit **
  20  Prefactor     .10002E-03    66.543       -.34478E-05** at limit **
  21  norm          1.4371        3.4814       -.20083E-05   -.16322E-02
  22  Prefactor     .10000E-03    5.8855       -.21928E-07** at limit **
  23  norm          .18252        .96289        .14748E-06   -.26323E-03
  24  norm          .10000E-03    1.4336        .27894E-07** at limit **
  25  Prefactor     .10000E-03    1.4292       -.40965E-07** at limit **
  26  Prefactor     1.5380        60.350        .20028E-05   -.81114E-05
  27  Prefactor     .10000E-03    17.353        .72287E-06** at limit **
  28  Prefactor     2.0901        6.2638        .92139E-05   -.28815E-03
  29  Prefactor     3.3934        6.3827        .41400E-06   -.14598E-03
  30  Prefactor     23.348        32.518       -.14652E-05   -.36363E-04
  31  Normalizat    .96338        .19652       -.28279E-05   -.13240E-03
  32  Prefactor     1.0786        .20822        .31564E-06   -.18734E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 72.8792
  Prefactor  = 6.46644
  Prefactor  = 5.99097
  Prefactor  = 1.89415
  Prefactor  = 28.7223
  Prefactor  = 2.17462
  Prefactor  = 41.4506
  Prefactor  = 0.0001
  Prefactor  = 15.7308
  Prefactor  = 2.27752
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.68111
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.83222
  norm       = 3.66143
  Prefactor  = 15.3247
  Prefactor  = 0.000100011
  Prefactor  = 0.000100018
  norm       = 1.43705
  Prefactor  = 0.0001
  norm       = 0.182517
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.53801
  Prefactor  = 0.0001
  Prefactor  = 2.0901
  Prefactor  = 3.39345
  Prefactor  = 23.348
  Normalizat = 0.963382
  Prefactor  = 1.07862
 **********
 **   18 **HESSE 
 **********

 FCN=   5351.535     FROM HESSE     STATUS=OK           663 CALLS     5015 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     72.879        59.099        .47026E-04   -1.3998    
   2  Prefactor     6.4664        26.881        .15782E-03   -1.5199    
   3  Prefactor     5.9910        19.637        .16403E-03   -1.5218    
   4  Prefactor     1.8942        2.7142        .14040E-03   -1.5433    
   5  Prefactor     28.722        40.200        .74756E-04   -1.4636    
   6  Prefactor     2.1746        11.030        .27928E-03   -1.5413    
   7  Prefactor     41.451        27.451        .62262E-04   -1.4419    
   8  Prefactor     .10000E-03    11.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.731        14.355        .50491E-03   -1.4915    
  10  Prefactor     2.2775        6.3754        .27209E-03   -1.5406    
  11  Prefactor     .10000E-03    18.785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    72.916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.6811        14.145        .24907E-03   -1.5380    
  14  norm          .10000E-03    8.3891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    4.4949        .15094E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.8322        3.8025        .13494E-03   -1.5316    
  17  norm          3.6614        8.7579        .21111E-03   -1.5325    
  18  Prefactor     15.325        8.6776        .10232E-03   -1.4925    
  19  Prefactor     .10001E-03    81.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10002E-03    66.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.4371        3.5689        .20420E-03   -1.5468    
  22  Prefactor     .10000E-03    5.8925        .17325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .18252        1.4684        .12366E-02   -1.5623    
  24  norm          .10000E-03    1.4392        .85481E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    1.4365        .85203E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1.5380        58.826        .34413E-03   -1.5460    
  27  Prefactor     .10000E-03    17.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     2.0901        6.2880        .14283E-02   -1.5419    
  29  Prefactor     3.3934        6.2410        .19410E-03   -1.5340    
  30  Prefactor     23.348        32.539        .82890E-04   -1.4741    
  31  Normalizat    .96338        .23446        .24212E-03   -.94267    
  32  Prefactor     1.0786        .25099        .26036E-03   -.90153    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25163e-08
Minuit parameter uncertainties:
  1  59.1462
  2  26.3885
  3  19.6579
  4  2.71441
  5  40.2383
  6  9.7977
  7  27.4591
  8  5.13321e-05
  9  14.3582
  10  6.37735
  11  0.000111873
  12  6.66428e-05
  13  12.3207
  14  1.66418e-05
  15  7.14591e-06
  16  3.80271
  17  8.76092
  18  8.67833
  19  0.0018849
  20  0.00217658
  21  3.56947
  22  3.04704e-07
  23  1.03514
  24  5.9301e-06
  25  2.76793e-06
  26  19.0432
  27  0.000182074
  28  6.28998
  29  6.24216
  30  32.5638
  31  0.234714
  32  0.251265
Done.

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

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  3.832e+00  3.803e+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.079e+00  2.513e-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:  9.634e-01  2.347e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.96
Ra Dec: 351.182 -40.683
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 9.39e-09 +/- 9.32e-09
Energy Flux (Fixed Index): 2.03e-05 +/- 2.02e-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) = 5348.98946858
delta logL = 2.54573393686

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5347.70037338
delta logL = 3.83482913965

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .58356       1.0000         .10000E-03   10000.    
     2 'alpha     '    .30390E-06   1.0000          .0000       5.0000    
     3 'Normalizat'    .96463       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0827       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=   5347.700     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      220 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58358        .62017        .11607E-01   -.44741E-03
   2  alpha         .27756E-15    .36764        .46413    ** at limit **
   3  Normalizat    .96490        .18001        .45722E-01    .86759E-05
   4  Prefactor     1.0824        .20459        .58780E-01    .10750E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.583576
  alpha      = 2.77556e-16
  Normalizat = 0.964896
  Prefactor  = 1.0824
 **********
 **   18 **HESSE 
 **********

 FCN=   5347.700     FROM HESSE     STATUS=OK            33 CALLS      253 TOTAL
                     EDM=   .41E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .58358        .58438        .48903E-03   -1.5555    
   2  alpha         .27756E-15    .39386        .33078E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .96490        .21629        .24190E-03   -.94216    
   4  Prefactor     1.0824        .24573        .25994E-03   -.90031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.13604e-13
Minuit parameter uncertainties:
  1  0.584389
  2  2.18848e-08
  3  0.216488
  4  0.245991
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/854570': 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) = 5347.70037227
delta logL = 3.83483024377

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  5.836e-01  5.844e-01  1.000e-04  1.000e+04 ( 1.000e-13)
419        alpha:  2.776e-16  2.188e-08  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.082e+00  2.460e-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:  9.649e-01  2.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.63
Ra Dec: 351.182 -40.683
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 3.25e-09 +/- 3.25e-09
Energy Flux (Free Index): 1.33e-04 +/- 1.34e-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/854570/cmap_HighResolution_613353601_613612801_4FGL_J2324.7-4041_daily_bin1443.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.39e-09', energy_flux2='1.33e-04', photon_flux_error='9.32e-09', dlogl='3.83e+00', energy_flux='2.03e-05', photon_flux2='3.25e-09', job_status='DONE', time_completed='2021-09-29 17:07:33.404964', photon_index_error2='0.00', photon_index2='0.00', ts='13.96', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='1.34e-04', EG='0.96', time_epoch_completed='1632960453.41', return_code='0', job_id='854570', GAL2='1.08', EG2='0.96', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='3.25e-09', ts2='21.63', photon_index='1.62' WHERE bin_id='1443' AND source_name='4FGL J2324.7-4041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:07:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 854570: <4FGL_J2324.7-4041_daily_bin1443> in cluster <slac> Done

Job <4FGL_J2324.7-4041_daily_bin1443> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 16:55:12 2021
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:55:13 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:55:13 2021
Terminated at Wed Sep 29 17:07:34 2021
Results reported at Wed Sep 29 17:07:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7-4041_daily_bin1443 351.182 -40.6834 613353601 613612801 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 :                                   702.54 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             373.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            742 sec.

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

