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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1392
RA = 351.19, Dec = 8.0282
tmin = 600134401, tmax = 600393601
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='843931', job_status='RUN', time_executed='2021-09-29 16:26:05.828948', time_epoch_executed='1632957965.83' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1392'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/843931

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/843931/ft1_4FGL_J2324.7+0801_daily_bin1392.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/843931/ft2_4FGL_J2324.7+0801_daily_bin1392.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/843931/ft1_4FGL_J2324.7+0801_daily_bin1392.fits outfile=/scratch/kocevski/843931/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1392.fits ra=351.19 dec=8.0282 rad=12.0 tmin=600134401.0 tmax=600393601.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 4.86
user 4.62
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/843931/ft2_4FGL_J2324.7+0801_daily_bin1392.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/843931/ft2_4FGL_J2324.7+0801_daily_bin1392.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/843931/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1392.fits evtable="EVENTS" outfile="/scratch/kocevski/843931/ft1_filtered_4FGL_J2324.7+0801_daily_bin1392.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.68
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/843931/ft1_filtered_4FGL_J2324.7+0801_daily_bin1392.fits" evtable="EVENTS" scfile=/scratch/kocevski/843931/ft2_4FGL_J2324.7+0801_daily_bin1392.fits sctable="SC_DATA" outfile=/scratch/kocevski/843931/ltcube_600134401_600393601_4FGL_J2324.7+0801_daily_bin1392.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/843931/ft2_4FGL_J2324.7+0801_daily_bin1392.fits
.....................!
real 12.24
user 11.78
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/843931/ft1_filtered_4FGL_J2324.7+0801_daily_bin1392.fits evtable="EVENTS" scfile=/scratch/kocevski/843931/ft2_4FGL_J2324.7+0801_daily_bin1392.fits sctable="SC_DATA" expcube=/scratch/kocevski/843931/ltcube_600134401_600393601_4FGL_J2324.7+0801_daily_bin1392.fits outfile=/scratch/kocevski/843931/expmap_600134401_600393601_4FGL_J2324.7+0801_daily_bin1392.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/843931/ltcube_600134401_600393601_4FGL_J2324.7+0801_daily_bin1392.fits
.....................!
real 190.74
user 185.43
sys 4.90

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

Setting source of interest to:
4FGL J2324.7+0801 @ 351.19 8.0282

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/843931/ft1_filtered_4FGL_J2324.7+0801_daily_bin1392.fits scfile=/scratch/kocevski/843931/ft2_4FGL_J2324.7+0801_daily_bin1392.fits outfile=/scratch/kocevski/843931/cmap_600134401_600393601_4FGL_J2324.7+0801_daily_bin1392.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.19 yref=8.0282 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/843931/ft1_filtered_4FGL_J2324.7+0801_daily_bin1392.fits scfile=/scratch/kocevski/843931/ft2_4FGL_J2324.7+0801_daily_bin1392.fits outfile=/scratch/kocevski/843931/cmap_HighResolution_600134401_600393601_4FGL_J2324.7+0801_daily_bin1392.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.19 yref=8.0282 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/843931/ft1_filtered_4FGL_J2324.7+0801_daily_bin1392.fits evtable="EVENTS" scfile=/scratch/kocevski/843931/ft2_4FGL_J2324.7+0801_daily_bin1392.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/843931/Model_4FGL_J2324.7+0801_daily_bin1392.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/843931/ft1_filtered_4FGL_J2324.7+0801_daily_bin1392.fits.....................!
real 72.28
user 70.93
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/843931/ft1_filtered_4FGL_J2324.7+0801_daily_bin1392.fits', '/scratch/kocevski/843931/ft2_4FGL_J2324.7+0801_daily_bin1392.fits', expMap='/scratch/kocevski/843931/expmap_600134401_600393601_4FGL_J2324.7+0801_daily_bin1392.fits', expCube='/scratch/kocevski/843931/ltcube_600134401_600393601_4FGL_J2324.7+0801_daily_bin1392.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/843931/Model_4FGL_J2324.7+0801_daily_bin1392.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.7+0801'

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  3.182e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/843931/ft1_filtered_4FGL_J2324.7+0801_daily_bin1392.fits
Spacecraft file(s): /scratch/kocevski/843931/ft2_4FGL_J2324.7+0801_daily_bin1392.fits
Exposure map: /scratch/kocevski/843931/expmap_600134401_600393601_4FGL_J2324.7+0801_daily_bin1392.fits
Exposure cube: /scratch/kocevski/843931/ltcube_600134401_600393601_4FGL_J2324.7+0801_daily_bin1392.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/843931/Model_4FGL_J2324.7+0801_daily_bin1392.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) = 6398.60560192

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.130       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .35665       1.0000         .10000E-03   10000.    
     3 'norm      '    5.2170       1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.553       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .50244E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12010E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10238E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11741E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.044       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10213E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    27.482       1.0000         .10000E-03   10000.    
    13 'norm      '    .15159E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.574       1.0000         .10000E-03   10000.    
    15 'Prefactor '    104.57       1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.729       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .69421E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    12.882       1.0000         .10000E-03   10000.    
    19 'norm      '    .10360E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.9306       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .30020E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    18.599       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .18531E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3883       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .64195       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6398.605     FROM MIGRAD    STATUS=CONVERGED     98 CALLS     2968 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.122        1.4056       -.59427E-06   -.31082E-03
   2  Prefactor     .35666        .14478       -.17180E-06   -.13891E-02
   3  norm          5.2102        4.1134       -.64478E-05   -.63076E-02
   4  Prefactor     23.483        29.463       -.35433E-04    .29577E-02
   5  Prefactor     .10037E-03    49.999       -.32421E-04** at limit **
   6  Prefactor     .10000E-03    4.1783        .49563E-06** at limit **
   7  Prefactor     .10000E-03    3.5088        .24197E-05** at limit **
   8  Prefactor     .10000E-03    2.1813       -.97654E-06** at limit **
   9  norm          .10000E-03    .42906        .98591E-06** at limit **
  10  Prefactor     11.044        1.7950        .19535E-05    .55269E-02
  11  Prefactor     .10000E-03    4.4906        .48036E-05** at limit **
  12  Prefactor     27.473        3.3292       -.33444E-05    .19087E-04
  13  norm          .10000E-03    2.4493       -.91434E-06** at limit **
  14  Prefactor     15.566        7.7499        .54083E-05    .53430E-02
  15  Prefactor     104.60        13.267        .78534E-05   -.12331E-01
  16  Prefactor     11.744        6.5713        .11052E-04    .11180E-01
  17  Prefactor     .10178E-03    78.773        .12409E-04** at limit **
  18  norm          12.879        1.1606       -.24773E-06   -.11814E-04
  19  norm          .10000E-03    7.0587       -.64303E-05** at limit **
  20  Prefactor     4.9261        5.7663        .14462E-05    .15363E-03
  21  Prefactor     .10013E-03    4.9659        .13823E-04** at limit **
  22  Prefactor     18.519        8.7583        .44329E-05    .13365E-02
  23  Prefactor     .10000E-03    5.9578       -.31792E-05** at limit **
  24  Normalizat    1.3885        .23518        .10727E-05    .70262E-05
  25  Prefactor     .64194        .13974        .37964E-05   -.17709E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.122
  Prefactor  = 0.35666
  norm       = 5.2102
  Prefactor  = 23.4826
  Prefactor  = 0.00010037
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.0444
  Prefactor  = 0.000100001
  Prefactor  = 27.4729
  norm       = 0.0001
  Prefactor  = 15.566
  Prefactor  = 104.596
  Prefactor  = 11.7439
  Prefactor  = 0.00010178
  norm       = 12.8793
  norm       = 0.0001
  Prefactor  = 4.92611
  Prefactor  = 0.00010013
  Prefactor  = 18.5193
  Prefactor  = 0.0001
  Normalizat = 1.38855
  Prefactor  = 0.641943
 **********
 **   18 **HESSE 
 **********

 FCN=   6398.605     FROM HESSE     STATUS=OK           485 CALLS     3453 TOTAL
                     EDM=   .96E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.122        19.513        .25742E-02   -1.4930    
   2  Prefactor     .35666        .15215        .42178E-02   -1.5589    
   3  norm          5.2102        10.447        .43998E-02   -1.5251    
   4  Prefactor     23.483        37.704        .20634E-02   -1.4738    
   5  Prefactor     .10037E-03    5.4220        .57977E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.1688        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.0641        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.1673        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .41826        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.044        8.2568        .30138E-02   -1.5043    
  11  Prefactor     .10000E-03    9.0235        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     27.473        29.301        .19105E-02   -1.4659    
  13  norm          .10000E-03    2.4455        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.566        8.0662        .25373E-02   -1.4919    
  15  Prefactor     104.60        243.56        .98307E-03   -1.3659    
  16  Prefactor     11.744        12.745        .29243E-02   -1.5022    
  17  Prefactor     .10178E-03    94.228        .93565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          12.879        12.581        .27900E-02   -1.4990    
  19  norm          .10000E-03    9.1709        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.9261        6.5061        .45282E-02   -1.5264    
  21  Prefactor     .10013E-03    12.062        .10695E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     18.519        20.244        .23218E-02   -1.4847    
  23  Prefactor     .10000E-03    5.9100        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.3885        .20532        .58082E-01   -.80960    
  25  Prefactor     .64194        .12064        .41623E-01   -1.0585    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.59397e-06
Minuit parameter uncertainties:
  1  19.5207
  2  0.152149
  3  10.4507
  4  37.742
  5  0.0028323
  6  3.74168e-06
  7  0.000220287
  8  3.13441e-06
  9  6.739e-07
  10  8.25761
  11  0.000144597
  12  29.3167
  13  1.58142e-06
  14  8.0668
  15  245.945
  16  12.7475
  17  0.0259411
  18  12.5837
  19  0.000103479
  20  6.50702
  21  0.00250046
  22  20.2511
  23  3.65086e-06
  24  0.205444
  25  0.120688
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.104e+01  8.258e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  6.419e-01  1.207e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  1.389e+00  2.054e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.57
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 3.98e-08 +/- 2.97e-08
Energy Flux (Fixed Index): 1.70e-05 +/- 1.27e-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) = 6398.04480018
delta logL = 0.560666522962

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6398.02986176
delta logL = 0.575604943717

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.651       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5439       1.0000          .0000       10.000    
     3 'Normalizat'    1.4132       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63557       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+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=   6398.030     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      249 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.654        11.705        .11262E-03    .79749E-05
   2  Index         1.5439        .59321        .97003E-02   -.71492E-05
   3  Normalizat    1.4132        .22522        .25506E-03   -.10698E-05
   4  Prefactor     .63557        .13880        .22366E-03    .99018E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6537
  Index      = 1.54388
  Normalizat = 1.41319
  Prefactor  = 0.635566
 **********
 **   18 **HESSE 
 **********

 FCN=   6398.030     FROM HESSE     STATUS=OK            25 CALLS      274 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.654        11.864        .45047E-05   -1.4996    
   2  Index         1.5439        .60127        .38801E-03   -.76318    
   3  Normalizat    1.4132        .22540        .10202E-04   -.80248    
   4  Prefactor     .63557        .13893        .89463E-05   -1.0611    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24997e-11
Minuit parameter uncertainties:
  1  11.8667
  2  0.604077
  3  0.225562
  4  0.139006
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/843931': 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) = 6398.02986172
delta logL = 0.575604977372

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.265e+01  1.187e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  1.544e+00  6.041e-01  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  6.356e-01  1.390e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  1.413e+00  2.256e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.71
Ra Dec: 351.190 8.028
Photon Index (Free Index): 1.54 +/- 0.60
Photon Flux (Free Index): 1.55e-08 +/- 2.06e-08
Energy Flux (Free Index): 4.22e-05 +/- 5.59e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/843931/cmap_HighResolution_600134401_600393601_4FGL_J2324.7+0801_daily_bin1392.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.98e-08', energy_flux2='4.22e-05', photon_flux_error='2.97e-08', dlogl='5.76e-01', energy_flux='1.70e-05', photon_flux2='1.55e-08', job_status='DONE', time_completed='2021-09-29 16:37:03.731607', photon_index_error2='0.60', photon_index2='1.54', ts='8.57', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', energy_flux_error2='5.59e-05', EG='1.39', time_epoch_completed='1632958623.73', return_code='0', job_id='843931', GAL2='0.64', EG2='1.41', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='2.06e-08', ts2='9.71', photon_index='2.23' WHERE bin_id='1392' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:37:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0296>
Subject: Job 843931: <4FGL_J2324.7+0801_daily_bin1392> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1392> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 16:25:54 2021
Job was executed on host(s) <bullet0296>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:25:55 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:25:55 2021
Terminated at Wed Sep 29 16:37:04 2021
Results reported at Wed Sep 29 16:37:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1392 351.19 8.0282 600134401 600393601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2324.7+0801 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   643.00 sec.
    Max Memory :                                 618 MB
    Average Memory :                             289.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   669 sec.
    Turnaround time :                            670 sec.

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

