/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 114 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 = 7365
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2324.7+0801_daily_bin103
RA = 351.19, Dec = 8.0282
tmin = 266025601, tmax = 266284801
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='837746', job_status='RUN', time_executed='2021-09-29 16:07:28.558640', time_epoch_executed='1632956848.56' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='103'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/837746

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/837746/ft1_4FGL_J2324.7+0801_daily_bin103.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/837746/ft2_4FGL_J2324.7+0801_daily_bin103.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/837746/ft1_4FGL_J2324.7+0801_daily_bin103.fits outfile=/scratch/kocevski/837746/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin103.fits ra=351.19 dec=8.0282 rad=12.0 tmin=266025601.0 tmax=266284801.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 1.46
user 1.22
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/837746/ft2_4FGL_J2324.7+0801_daily_bin103.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/837746/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin103.fits evtable="EVENTS" outfile="/scratch/kocevski/837746/ft1_filtered_4FGL_J2324.7+0801_daily_bin103.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/837746/ft1_filtered_4FGL_J2324.7+0801_daily_bin103.fits" evtable="EVENTS" scfile=/scratch/kocevski/837746/ft2_4FGL_J2324.7+0801_daily_bin103.fits sctable="SC_DATA" outfile=/scratch/kocevski/837746/ltcube_266025601_266284801_4FGL_J2324.7+0801_daily_bin103.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/837746/ft2_4FGL_J2324.7+0801_daily_bin103.fits
.....................!
real 12.60
user 12.24
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/837746/ft1_filtered_4FGL_J2324.7+0801_daily_bin103.fits evtable="EVENTS" scfile=/scratch/kocevski/837746/ft2_4FGL_J2324.7+0801_daily_bin103.fits sctable="SC_DATA" expcube=/scratch/kocevski/837746/ltcube_266025601_266284801_4FGL_J2324.7+0801_daily_bin103.fits outfile=/scratch/kocevski/837746/expmap_266025601_266284801_4FGL_J2324.7+0801_daily_bin103.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/837746/ltcube_266025601_266284801_4FGL_J2324.7+0801_daily_bin103.fits
.....................!
real 191.07
user 185.90
sys 4.85

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/837746/ft1_filtered_4FGL_J2324.7+0801_daily_bin103.fits scfile=/scratch/kocevski/837746/ft2_4FGL_J2324.7+0801_daily_bin103.fits outfile=/scratch/kocevski/837746/cmap_266025601_266284801_4FGL_J2324.7+0801_daily_bin103.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/837746/ft1_filtered_4FGL_J2324.7+0801_daily_bin103.fits scfile=/scratch/kocevski/837746/ft2_4FGL_J2324.7+0801_daily_bin103.fits outfile=/scratch/kocevski/837746/cmap_HighResolution_266025601_266284801_4FGL_J2324.7+0801_daily_bin103.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.55
user 0.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/837746/ft1_filtered_4FGL_J2324.7+0801_daily_bin103.fits evtable="EVENTS" scfile=/scratch/kocevski/837746/ft2_4FGL_J2324.7+0801_daily_bin103.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/837746/Model_4FGL_J2324.7+0801_daily_bin103.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/837746/ft1_filtered_4FGL_J2324.7+0801_daily_bin103.fits.....................!
real 77.21
user 75.83
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/837746/ft1_filtered_4FGL_J2324.7+0801_daily_bin103.fits', '/scratch/kocevski/837746/ft2_4FGL_J2324.7+0801_daily_bin103.fits', expMap='/scratch/kocevski/837746/expmap_266025601_266284801_4FGL_J2324.7+0801_daily_bin103.fits', expCube='/scratch/kocevski/837746/ltcube_266025601_266284801_4FGL_J2324.7+0801_daily_bin103.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/837746/Model_4FGL_J2324.7+0801_daily_bin103.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/837746/ft1_filtered_4FGL_J2324.7+0801_daily_bin103.fits
Spacecraft file(s): /scratch/kocevski/837746/ft2_4FGL_J2324.7+0801_daily_bin103.fits
Exposure map: /scratch/kocevski/837746/expmap_266025601_266284801_4FGL_J2324.7+0801_daily_bin103.fits
Exposure cube: /scratch/kocevski/837746/ltcube_266025601_266284801_4FGL_J2324.7+0801_daily_bin103.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/837746/Model_4FGL_J2324.7+0801_daily_bin103.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) = 7054.05017703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.2231       1.0000         .10000E-03   10000.    
     3 'norm      '    39.739       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.5824       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .41673E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.2972       1.0000         .10000E-03   10000.    
     9 'norm      '    1.0675       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .95870       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.627       1.0000         .10000E-03   10000.    
    12 'Prefactor '    82.365       1.0000         .10000E-03   10000.    
    13 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.4324       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.7517       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.4670       1.0000         .10000E-03   10000.    
    18 'norm      '    15.424       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.328       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .23116E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    17.806       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .62663       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1129       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.

 FCN=   7054.047     FROM MIGRAD    STATUS=CONVERGED    593 CALLS     3348 TOTAL
                     EDM=   .76E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.7162       -.45572E-07** at limit **
   2  Prefactor     1.2231        .22298       -.22194E-07    .54976E-04
   3  norm          39.742        18.695        .80933E-07    .23376E-05
   4  Prefactor     .10000E-03    8.3048        .90487E-08** at limit **
   5  Prefactor     .10000E-03    3.8428        .70056E-07** at limit **
   6  Prefactor     4.5838        10.678       -.16781E-05   -.11737E-03
   7  Prefactor     .10009E-03    14.575       -.56870E-07** at limit **
   8  Prefactor     5.2971        6.6528        .36763E-05   -.19004E-03
   9  norm          1.0675        .79557        .12372E-07   -.20094E-04
  10  Prefactor     .98837        13.434       -.16378E-06   -.10766E-03
  11  Prefactor     14.627        13.608       -.34313E-06   -.15285E-04
  12  Prefactor     82.355        57.702       -.28139E-05    .53896E-06
  13  norm          .10000E-03    11.198       -.25476E-06** at limit **
  14  Prefactor     6.4360        8.1257        .11593E-05   -.12065E-03
  15  Prefactor     .10000E-03    55.524       -.83954E-06** at limit **
  16  Prefactor     8.7507        12.708       -.88670E-06   -.84389E-04
  17  Prefactor     8.4775        29.720       -.69178E-05   -.10154E-04
  18  norm          15.424        13.321       -.11922E-05    .33159E-05
  19  norm          .10000E-03    11.958        .12323E-05** at limit **
  20  Prefactor     10.327        5.6937        .28819E-06   -.10886E-03
  21  Prefactor     .10000E-03    86.695        .25411E-05** at limit **
  22  Prefactor     .10000E-03    13.762       -.52283E-06** at limit **
  23  Prefactor     17.806        10.178       -.22887E-05   -.97374E-05
  24  Normalizat    .62663        .22129       -.50162E-07   -.11794E-04
  25  Prefactor     1.1129        .13214        .53363E-06   -.16214E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.22315
  norm       = 39.7415
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.58381
  Prefactor  = 0.000100094
  Prefactor  = 5.29707
  norm       = 1.06753
  Prefactor  = 0.988374
  Prefactor  = 14.6266
  Prefactor  = 82.3548
  norm       = 0.0001
  Prefactor  = 6.43597
  Prefactor  = 0.0001
  Prefactor  = 8.75073
  Prefactor  = 8.4775
  norm       = 15.4242
  norm       = 0.0001
  Prefactor  = 10.3275
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.806
  Normalizat = 0.626633
  Prefactor  = 1.11287
 **********
 **   18 **HESSE 
 **********

 FCN=   7054.047     FROM HESSE     STATUS=OK           443 CALLS     3791 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.7245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.2231        .22294        .16321E-04   -1.5487    
   3  norm          39.742        18.694        .63584E-04   -1.4446    
   4  Prefactor     .10000E-03    8.3085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.9030        .16073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.5838        10.710        .18804E-03   -1.5280    
   7  Prefactor     .10009E-03    15.841        .91717E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.2971        6.5274        .17463E-03   -1.5248    
   9  norm          1.0675        .80001        .62310E-04   -1.5501    
  10  Prefactor     .98837        46.296        .47937E-02   -1.5509    
  11  Prefactor     14.627        13.596        .10473E-03   -1.4943    
  12  Prefactor     82.355        57.683        .44258E-04   -1.3890    
  13  norm          .10000E-03    11.258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.4360        8.0335        .15825E-03   -1.5201    
  15  Prefactor     .10000E-03    55.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.7507        12.682        .13549E-03   -1.5116    
  17  Prefactor     8.4775        29.082        .13777E-03   -1.5126    
  18  norm          15.424        13.320        .10198E-03   -1.4922    
  19  norm          .10000E-03    11.972        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.327        5.6848        .12468E-03   -1.5065    
  21  Prefactor     .10000E-03    87.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    13.825        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     17.806        10.206        .94916E-04   -1.4864    
  24  Normalizat    .62663        .24451        .37831E-03   -1.0686    
  25  Prefactor     1.1129        .14816        .18969E-03   -.89056    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.93745e-08
Minuit parameter uncertainties:
  1  8.26604e-08
  2  0.222945
  3  18.6969
  4  1.4061e-06
  5  7.53038e-06
  6  10.7142
  7  0.00244036
  8  6.52824
  9  0.800022
  10  13.5394
  11  13.5987
  12  57.7223
  13  6.6118e-05
  14  8.03489
  15  3.53346e-06
  16  12.6855
  17  29.1303
  18  13.3229
  19  2.06937e-05
  20  5.68509
  21  0.000234245
  22  1.74675e-05
  23  10.2075
  24  0.244933
  25  0.148211
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  9.884e-01  1.354e+01  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:  1.113e+00  1.482e-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:  6.266e-01  2.449e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/837746/likelihoodResults_266025601_266284801_4FGL_J2324.7+0801_daily_bin103.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) = 7051.89542728
delta logL = 2.15126374064

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7051.8650076
delta logL = 2.18168341789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80730E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    4.8483       1.0000          .0000       10.000    
     3 'Normalizat'    .47780       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1694       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.

 FCN=   7051.865     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      255 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .80403E-01    .62234        .28917E-02    .89081E-03
   2  Index         4.8500        1.8647        .79880E-01    .16702E-03
   3  Normalizat    .47770        .56964E-01    .96909E-01    .32851E-04
   4  Prefactor     1.1694        .37236E-01    .35398E-01   -.16844E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0804025
  Index      = 4.85
  Normalizat = 0.477696
  Prefactor  = 1.16944
 **********
 **   18 **HESSE 
 **********

 FCN=   7051.865     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      288 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .80403E-01    1.2476        .13030E-04   -1.5651    
   2  Index         4.8500        2.9131        .31566E-02   -.30004E-01
   3  Normalizat    .47770        .20188        .42946E-03   -1.1346    
   4  Prefactor     1.1694        .13045        .18542E-03   -.87277    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.42801e-07
Minuit parameter uncertainties:
  1  0.63306
  2  3.10998
  3  0.202187
  4  0.13049
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/837746': 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) = 7051.86500708
delta logL = 2.181683936

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  8.040e-02  6.331e-01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  4.850e+00  3.110e+00  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:  1.169e+00  1.305e-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:  4.777e-01  2.022e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.80
Ra Dec: 351.190 8.028
Photon Index (Free Index): 4.85 +/- 3.11
Photon Flux (Free Index): 1.20e-07 +/- 7.01e-08
Energy Flux (Free Index): 1.62e-05 +/- 1.16e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/837746/cmap_HighResolution_266025601_266284801_4FGL_J2324.7+0801_daily_bin103.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.77e-03', comment='SUCCESS', energy_flux2='1.62e-05', dlogl='2.18e+00', photon_flux2='1.20e-07', job_status='DONE', time_completed='2021-09-29 16:20:01.815096', photon_index_error2='3.11', photon_index2='4.85', ts='0.01', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='1.16e-05', EG='0.63', time_epoch_completed='1632957601.82', return_code='0', job_id='837746', GAL2='1.17', EG2='0.48', return_code2='102', photon_flux_error2='7.01e-08', ts2='4.80', photon_index='2.23' WHERE bin_id='103' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:20:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 837746: <4FGL_J2324.7+0801_daily_bin103> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin103> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 16:05:24 2021
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:05:26 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:05:26 2021
Terminated at Wed Sep 29 16:20:02 2021
Results reported at Wed Sep 29 16:20:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin103 351.19 8.0282 266025601 266284801 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 :                                   754.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   876 sec.
    Turnaround time :                            878 sec.

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

