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


Performing analysis on: 4FGL_J2324.7-4041_daily_bin750
RA = 351.182, Dec = -40.6834
tmin = 433728001, tmax = 433987201
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='849801', job_status='RUN', time_executed='2021-09-29 16:44:47.906101', time_epoch_executed='1632959087.91' WHERE source_name='4FGL J2324.7-4041' and cadence='daily' and bin_id='750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849801

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849801/ft1_4FGL_J2324.7-4041_daily_bin750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849801/ft2_4FGL_J2324.7-4041_daily_bin750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849801/ft1_4FGL_J2324.7-4041_daily_bin750.fits outfile=/scratch/kocevski/849801/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin750.fits ra=351.182 dec=-40.6834 rad=12.0 tmin=433728001.0 tmax=433987201.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.15
user 5.86
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849801/ft2_4FGL_J2324.7-4041_daily_bin750.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/849801/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin750.fits evtable="EVENTS" outfile="/scratch/kocevski/849801/ft1_filtered_4FGL_J2324.7-4041_daily_bin750.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849801/ft1_filtered_4FGL_J2324.7-4041_daily_bin750.fits" evtable="EVENTS" scfile=/scratch/kocevski/849801/ft2_4FGL_J2324.7-4041_daily_bin750.fits sctable="SC_DATA" outfile=/scratch/kocevski/849801/ltcube_433728001_433987201_4FGL_J2324.7-4041_daily_bin750.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/849801/ft2_4FGL_J2324.7-4041_daily_bin750.fits
.....................!
real 12.14
user 11.79
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849801/ft1_filtered_4FGL_J2324.7-4041_daily_bin750.fits evtable="EVENTS" scfile=/scratch/kocevski/849801/ft2_4FGL_J2324.7-4041_daily_bin750.fits sctable="SC_DATA" expcube=/scratch/kocevski/849801/ltcube_433728001_433987201_4FGL_J2324.7-4041_daily_bin750.fits outfile=/scratch/kocevski/849801/expmap_433728001_433987201_4FGL_J2324.7-4041_daily_bin750.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/849801/ltcube_433728001_433987201_4FGL_J2324.7-4041_daily_bin750.fits
.....................!
real 191.11
user 186.13
sys 4.60

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/849801/ft1_filtered_4FGL_J2324.7-4041_daily_bin750.fits scfile=/scratch/kocevski/849801/ft2_4FGL_J2324.7-4041_daily_bin750.fits outfile=/scratch/kocevski/849801/cmap_433728001_433987201_4FGL_J2324.7-4041_daily_bin750.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849801/ft1_filtered_4FGL_J2324.7-4041_daily_bin750.fits scfile=/scratch/kocevski/849801/ft2_4FGL_J2324.7-4041_daily_bin750.fits outfile=/scratch/kocevski/849801/cmap_HighResolution_433728001_433987201_4FGL_J2324.7-4041_daily_bin750.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/849801/ft1_filtered_4FGL_J2324.7-4041_daily_bin750.fits evtable="EVENTS" scfile=/scratch/kocevski/849801/ft2_4FGL_J2324.7-4041_daily_bin750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/849801/Model_4FGL_J2324.7-4041_daily_bin750.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/849801/ft1_filtered_4FGL_J2324.7-4041_daily_bin750.fits.....................!
real 36.28
user 35.05
sys 1.09

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    41.666       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.464       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    30.705       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .25867E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.814       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    41.031       1.0000         .10000E-03   10000.    
    12 'Prefactor '    72.989       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10398E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.2718       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.9630       1.0000         .10000E-03   10000.    
    20 'Prefactor '    61.164       1.0000         .10000E-03   10000.    
    21 'norm      '    7.1493       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    18.297       1.0000         .10000E-03   10000.    
    24 'norm      '    .10496E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    31 'Normalizat'    .89009       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .51119       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=   4300.885     FROM MIGRAD    STATUS=CONVERGED    849 CALLS     4361 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.658        .24474E-05** at limit **
   2  Prefactor     41.673        28.781       -.77480E-05   -.12274E-04
   3  Prefactor     .10000E-03    7.1029       -.19684E-05** at limit **
   4  Prefactor     10.464        5.5359        .85121E-07    .74124E-03
   5  Prefactor     .10000E-03    27.588       -.48680E-06** at limit **
   6  Prefactor     .10000E-03    2.7590        .99345E-08** at limit **
   7  Prefactor     30.694        26.702        .19168E-04    .71834E-03
   8  Prefactor     .12426E-03    29.571       -.14966E-04** at limit **
   9  Prefactor     14.813        12.086       -.79711E-06    .15413E-03
  10  Prefactor     .10000E-03    3.4950       -.15644E-05** at limit **
  11  Prefactor     41.018        42.549        .79517E-06    .87521E-05
  12  Prefactor     72.983        56.625       -.12475E-05    .15990E-03
  13  Prefactor     .10000E-03    7.0821       -.17332E-05** at limit **
  14  norm          .10000E-03    6.8465        .28516E-05** at limit **
  15  norm          .10000E-03    3.3469       -.72670E-06** at limit **
  16  norm          .10000E-03    5.1947        .41430E-06** at limit **
  17  norm          3.2722        4.9909       -.22362E-06   -.91125E-04
  18  Prefactor     .10000E-03    3.4179        .22675E-05** at limit **
  19  Prefactor     4.9926        84.989       -.17492E-04   -.35298E-04
  20  Prefactor     61.163        45.013        .60034E-06    .26895E-04
  21  norm          7.1495        5.4948       -.77033E-07   -.23371E-03
  22  Prefactor     .10000E-03    11.806       -.90599E-06** at limit **
  23  norm          18.297        2.5887        .40686E-07    .59135E-04
  24  norm          .10000E-03    2.5404        .68754E-06** at limit **
  25  Prefactor     .10000E-03    1.5742        .42445E-07** at limit **
  26  Prefactor     .10000E-03    8.6018        .13385E-05** at limit **
  27  Prefactor     .10000E-03    15.166        .11265E-06** at limit **
  28  Prefactor     .10000E-03    1.2986       -.12918E-07** at limit **
  29  Prefactor     .10000E-03    2.2185        .35601E-06** at limit **
  30  Prefactor     .10000E-03    19.693       -.18106E-05** at limit **
  31  Normalizat    .89006        .17976        .27825E-05    .74353E-03
  32  Prefactor     .51124        .18659       -.22556E-05    .61572E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 41.6732
  Prefactor  = 0.0001
  Prefactor  = 10.4635
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.6938
  Prefactor  = 0.000124261
  Prefactor  = 14.813
  Prefactor  = 0.0001
  Prefactor  = 41.0181
  Prefactor  = 72.9832
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.27216
  Prefactor  = 0.0001
  Prefactor  = 4.99261
  Prefactor  = 61.1632
  norm       = 7.14952
  Prefactor  = 0.0001
  norm       = 18.2969
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.89006
  Prefactor  = 0.511239
 **********
 **   18 **HESSE 
 **********

 FCN=   4300.885     FROM HESSE     STATUS=OK           653 CALLS     5014 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     41.673        28.873        .62102E-04   -1.4416    
   3  Prefactor     .10000E-03    7.1036        .17069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.464        5.5386        .10795E-03   -1.5061    
   5  Prefactor     .10000E-03    27.607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.7615        .10638E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     30.694        27.245        .72307E-04   -1.4599    
   8  Prefactor     .12426E-03    38.938        .94088E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.813        12.094        .10406E-03   -1.4938    
  10  Prefactor     .10000E-03    3.5052        .11969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     41.018        42.542        .62579E-04   -1.4426    
  12  Prefactor     72.983        56.632        .46993E-04   -1.3997    
  13  Prefactor     .10000E-03    7.0884        .17042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.8490        .16754E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.3526        .11716E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    5.2794        .28994E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.2722        4.9777        .17521E-03   -1.5346    
  18  Prefactor     .10000E-03    3.4227        .11832E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.9926        83.321        .18053E-03   -1.5261    
  20  Prefactor     61.163        45.203        .51305E-04   -1.4142    
  21  norm          7.1495        5.3894        .10102E-03   -1.5173    
  22  Prefactor     .10000E-03    11.846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          18.297        2.5909        .38013E-04   -1.4852    
  24  norm          .10000E-03    4.9973        .19821E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    1.5935        .80326E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    8.6104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    15.167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    1.3013        .72977E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    2.2396        .95256E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    19.729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    .89006        .21391        .21176E-03   -.96810    
  32  Prefactor     .51124        .21870        .29783E-03   -1.1146    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31472e-09
Minuit parameter uncertainties:
  1  1.81942e-06
  2  28.8831
  3  1.18637e-06
  4  5.53884
  5  2.23833e-05
  6  1.39987e-06
  7  27.2562
  8  0.0615109
  9  12.0955
  10  5.13192e-06
  11  42.5737
  12  56.6738
  13  1.73978e-06
  14  2.22427e-06
  15  5.33607e-07
  16  5.76868e-05
  17  4.97833
  18  1.85264e-06
  19  40.8584
  20  45.2284
  21  5.38975
  22  2.03189e-05
  23  2.59094
  24  0.000222124
  25  6.10015e-06
  26  2.77203e-05
  27  2.2786e-06
  28  1.30672e-06
  29  4.75321e-05
  30  1.35196e-05
  31  0.214118
  32  0.219062
Done.

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

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  1.000e-04  5.769e-05  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:  5.112e-01  2.191e-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.901e-01  2.141e-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: 3.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.12e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/849801/likelihoodResults_433728001_433987201_4FGL_J2324.7-4041_daily_bin750.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) = 4300.88615339
delta logL = -0.00090138523683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4300.88525057
delta logL = 1.43293709698e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6833       1.0000          .0000       5.0000    
     3 'Normalizat'    .89004       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .51126       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=   4300.885     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      248 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10004E-03    133.48        .44001E-01** at limit **
   2  alpha         1.7625        2.7824        .44343       -.64781E-04
   3  Normalizat    .89006        .26435E-01    .44774E-01   -.63910E-05
   4  Prefactor     .51123        .28917E-01    .67284E-01   -.61535E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100036
  alpha      = 1.76254
  Normalizat = 0.890061
  Prefactor  = 0.511234
 **********
 **   18 **HESSE 
 **********

 FCN=   4300.885     FROM HESSE     STATUS=OK            35 CALLS      283 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10004E-03    17.273        .24523E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7625        3.3632        .50000       -.29944    
   3  Normalizat    .89006        .19593        .21176E-03   -.96810    
   4  Prefactor     .51123        .21371        .29783E-03   -1.1146    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03399e-08
Minuit parameter uncertainties:
  1  0.00158048
  2  3.44415
  3  0.196082
  4  0.214046
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849801': 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) = 4300.8852485
delta logL = 3.50767641066e-06

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  1.000e-04  1.580e-03  1.000e-04  1.000e+04 ( 1.000e-13)
419        alpha:  1.763e+00  3.444e+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:  5.112e-01  2.140e-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.901e-01  1.961e-01  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/849801/cmap_HighResolution_433728001_433987201_4FGL_J2324.7-4041_daily_bin750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.12e-05', job_status='DONE', photon_flux_upper_limit='3.29e-08', time_completed='2021-09-29 16:57:23.536584', job_id='849801', GAL2='0.51', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1632959843.54', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.51', dlogl='3.51e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='750' AND source_name='4FGL J2324.7-4041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:57:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 849801: <4FGL_J2324.7-4041_daily_bin750> in cluster <slac> Done

Job <4FGL_J2324.7-4041_daily_bin750> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep 29 16:41:03 2021
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:41:05 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:41:05 2021
Terminated at Wed Sep 29 16:57:24 2021
Results reported at Wed Sep 29 16:57:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7-4041_daily_bin750 351.182 -40.6834 433728001 433987201 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 :                                   753.45 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   978 sec.
    Turnaround time :                            981 sec.

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

