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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin606
RA = 351.19, Dec = 8.0282
tmin = 396403201, tmax = 396662401
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='840619', job_status='RUN', time_executed='2021-09-29 16:16:37.026501', time_epoch_executed='1632957397.03' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='606'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/840619

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/840619/ft1_4FGL_J2324.7+0801_daily_bin606.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/840619/ft2_4FGL_J2324.7+0801_daily_bin606.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/840619/ft1_4FGL_J2324.7+0801_daily_bin606.fits outfile=/scratch/kocevski/840619/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin606.fits ra=351.19 dec=8.0282 rad=12.0 tmin=396403201.0 tmax=396662401.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.57
user 4.32
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/840619/ft2_4FGL_J2324.7+0801_daily_bin606.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/840619/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin606.fits evtable="EVENTS" outfile="/scratch/kocevski/840619/ft1_filtered_4FGL_J2324.7+0801_daily_bin606.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.55
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/840619/ft1_filtered_4FGL_J2324.7+0801_daily_bin606.fits" evtable="EVENTS" scfile=/scratch/kocevski/840619/ft2_4FGL_J2324.7+0801_daily_bin606.fits sctable="SC_DATA" outfile=/scratch/kocevski/840619/ltcube_396403201_396662401_4FGL_J2324.7+0801_daily_bin606.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/840619/ft2_4FGL_J2324.7+0801_daily_bin606.fits
.....................!
real 12.13
user 11.75
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/840619/ft1_filtered_4FGL_J2324.7+0801_daily_bin606.fits evtable="EVENTS" scfile=/scratch/kocevski/840619/ft2_4FGL_J2324.7+0801_daily_bin606.fits sctable="SC_DATA" expcube=/scratch/kocevski/840619/ltcube_396403201_396662401_4FGL_J2324.7+0801_daily_bin606.fits outfile=/scratch/kocevski/840619/expmap_396403201_396662401_4FGL_J2324.7+0801_daily_bin606.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/840619/ltcube_396403201_396662401_4FGL_J2324.7+0801_daily_bin606.fits
.....................!
real 193.37
user 187.94
sys 4.98

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/840619/ft1_filtered_4FGL_J2324.7+0801_daily_bin606.fits scfile=/scratch/kocevski/840619/ft2_4FGL_J2324.7+0801_daily_bin606.fits outfile=/scratch/kocevski/840619/cmap_396403201_396662401_4FGL_J2324.7+0801_daily_bin606.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/840619/ft1_filtered_4FGL_J2324.7+0801_daily_bin606.fits scfile=/scratch/kocevski/840619/ft2_4FGL_J2324.7+0801_daily_bin606.fits outfile=/scratch/kocevski/840619/cmap_HighResolution_396403201_396662401_4FGL_J2324.7+0801_daily_bin606.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/840619/ft1_filtered_4FGL_J2324.7+0801_daily_bin606.fits evtable="EVENTS" scfile=/scratch/kocevski/840619/ft2_4FGL_J2324.7+0801_daily_bin606.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/840619/Model_4FGL_J2324.7+0801_daily_bin606.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/840619/ft1_filtered_4FGL_J2324.7+0801_daily_bin606.fits.....................!
real 86.18
user 84.41
sys 1.45

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.5412       1.0000         .10000E-03   10000.    
     3 'norm      '    6.3127       1.0000         .10000E-03   10000.    
     4 'Prefactor '    36.531       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .41163       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.4898       1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.303       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    41.848       1.0000         .10000E-03   10000.    
    13 'norm      '    6.0198       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .26546       1.0000         .10000E-03   10000.    
    15 'Prefactor '    141.88       1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.047       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10873E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    9.1341       1.0000         .10000E-03   10000.    
    19 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .39910E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.0083       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.7412       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .11133E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.8037       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .49512       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=   8032.474     FROM MIGRAD    STATUS=CONVERGED    610 CALLS     2977 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.793        .97937E-07** at limit **
   2  Prefactor     1.5413        .24057       -.35686E-08    .13411E-02
   3  norm          6.3093        14.792       -.90307E-06   -.15538E-05
   4  Prefactor     36.536        28.580       -.19020E-06    .37123E-04
   5  Prefactor     .40828        4.1715       -.36203E-06    .37519E-04
   6  Prefactor     .10000E-03    4.9557       -.48263E-07** at limit **
   7  Prefactor     .10000E-03    6.2684       -.18571E-06** at limit **
   8  Prefactor     .10000E-03    3.2007        .24323E-07** at limit **
   9  norm          2.4899        1.1551       -.69903E-07   -.20932E-03
  10  Prefactor     20.300        11.099        .61638E-06    .42459E-03
  11  Prefactor     .10000E-03    5.0597       -.71094E-08** at limit **
  12  Prefactor     41.906        49.539        .43993E-05    .58974E-04
  13  norm          6.0243        7.3016       -.97423E-06   -.45289E-04
  14  Prefactor     .23563        29.058       -.63148E-05   -.40524E-04
  15  Prefactor     141.83        155.70       -.41772E-05   -.24065E-04
  16  Prefactor     11.049        11.666       -.13590E-06   -.88738E-04
  17  Prefactor     .10011E-03    21.348       -.39051E-05** at limit **
  18  norm          9.1349        9.3101        .13510E-06    .64988E-04
  19  norm          .10000E-03    16.380       -.73379E-06** at limit **
  20  Prefactor     .10245E-03    3.8037        .18921E-05** at limit **
  21  Prefactor     6.0061        37.752       -.16295E-05    .12260E-04
  22  Prefactor     5.7360        17.795       -.21224E-06    .55047E-04
  23  Prefactor     .10003E-03    7.2090        .82111E-06** at limit **
  24  Normalizat    1.8041        .20904        .25870E-05    .47105E-03
  25  Prefactor     .49493        .11628       -.82502E-06    .56948E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.54127
  norm       = 6.3093
  Prefactor  = 36.5363
  Prefactor  = 0.408277
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.48991
  Prefactor  = 20.3002
  Prefactor  = 0.0001
  Prefactor  = 41.9061
  norm       = 6.0243
  Prefactor  = 0.235635
  Prefactor  = 141.825
  Prefactor  = 11.0494
  Prefactor  = 0.000100111
  norm       = 9.13495
  norm       = 0.0001
  Prefactor  = 0.000102451
  Prefactor  = 6.0061
  Prefactor  = 5.73602
  Prefactor  = 0.000100033
  Normalizat = 1.80405
  Prefactor  = 0.494926
 **********
 **   18 **HESSE 
 **********

 FCN=   8032.474     FROM HESSE     STATUS=OK           441 CALLS     3418 TOTAL
                     EDM=   .67E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.5413        .23965        .16590E-04   -1.5460    
   3  norm          6.3093        14.800        .15976E-03   -1.5206    
   4  Prefactor     36.536        28.590        .66307E-04   -1.4498    
   5  Prefactor     .40828        12.548        .34718E-02   -1.5580    
   6  Prefactor     .10000E-03    4.9802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.2796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.2354        .15656E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.4899        1.1530        .62686E-04   -1.5392    
  10  Prefactor     20.300        11.014        .88891E-04   -1.4807    
  11  Prefactor     .10000E-03    5.0649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     41.906        49.328        .61967E-04   -1.4412    
  13  norm          6.0243        7.4660        .81825E-03   -1.5217    
  14  Prefactor     .23563        35.027        .36681E-02   -1.5611    
  15  Prefactor     141.83        155.60        .16911E-03   -1.3320    
  16  Prefactor     11.049        11.655        .12054E-03   -1.5043    
  17  Prefactor     .10011E-03    122.58        .69408E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          9.1349        9.3094        .13261E-03   -1.5103    
  19  norm          .10000E-03    16.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10245E-03    3.7610        .43383E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.0061        37.639        .16381E-03   -1.5218    
  22  Prefactor     5.7360        17.769        .16763E-03   -1.5229    
  23  Prefactor     .10003E-03    19.989        .37729E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.8041        .23452        .26131E-03   -.69558    
  25  Prefactor     .49493        .13132        .27165E-03   -1.1221    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.73946e-08
Minuit parameter uncertainties:
  1  3.70327e-06
  2  0.239649
  3  14.8084
  4  28.6004
  5  4.52736
  6  6.25826e-06
  7  1.88817e-05
  8  4.59217e-06
  9  1.15297
  10  11.0149
  11  3.15569e-06
  12  49.3756
  13  7.46716
  14  5.74803
  15  156.051
  16  11.6571
  17  0.0074012
  18  9.31092
  19  4.24802e-05
  20  0.00607207
  21  30.0984
  22  17.7849
  23  0.0016288
  24  0.234662
  25  0.131404
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  2.030e+01  1.101e+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:  4.949e-01  1.314e-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.804e+00  2.347e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.13
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 7.31e-08 +/- 3.96e-08
Energy Flux (Fixed Index): 3.12e-05 +/- 1.69e-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) = 8031.30041459
delta logL = 1.1733830222

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8031.30021081
delta logL = 1.1735867946

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.456       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6351       1.0000          .0000       10.000    
     3 'Normalizat'    1.8400       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .48409       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=   8031.300     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      242 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.377        26.036        .19114E-02    .55030E-05
   2  Index         1.6351        .52983        .19062       -.16202E-04
   3  Normalizat    1.8399        .19656        .58672E-01   -.40722E-05
   4  Prefactor     .48416        .11425        .62030E-01    .40541E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.3766
  Index      = 1.63507
  Normalizat = 1.83994
  Prefactor  = 0.484158
 **********
 **   18 **HESSE 
 **********

 FCN=   8031.300     FROM HESSE     STATUS=OK            33 CALLS      275 TOTAL
                     EDM=   .25E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.377        15.617        .38228E-03   -1.4661    
   2  Index         1.6351        .36234        .73312E-02   -.73824    
   3  Normalizat    1.8399        .22144        .25941E-03   -.68626    
   4  Prefactor     .48416        .13000        .27450E-03   -1.1271    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52501e-13
Minuit parameter uncertainties:
  1  15.6196
  2  0.36292
  3  0.221561
  4  0.130079
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/840619': 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) = 8031.30019747
delta logL = 1.17360013893

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  2.738e+01  1.562e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  1.635e+00  3.629e-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:  4.842e-01  1.301e-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.840e+00  2.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.50
Ra Dec: 351.190 8.028
Photon Index (Free Index): 1.64 +/- 0.36
Photon Flux (Free Index): 3.72e-08 +/- 2.90e-08
Energy Flux (Free Index): 7.50e-05 +/- 6.47e-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/840619/cmap_HighResolution_396403201_396662401_4FGL_J2324.7+0801_daily_bin606.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.31e-08', energy_flux2='7.50e-05', photon_flux_error='3.96e-08', dlogl='1.17e+00', energy_flux='3.12e-05', photon_flux2='3.72e-08', job_status='DONE', time_completed='2021-09-29 16:28:32.473650', photon_index_error2='0.36', photon_index2='1.64', ts='14.13', fit_tolerance='1e-08', GAL='0.49', photon_index_error='0.00', energy_flux_error2='6.47e-05', EG='1.80', time_epoch_completed='1632958112.47', return_code='0', job_id='840619', GAL2='0.48', EG2='1.84', return_code2='0', energy_flux_error='1.69e-05', photon_flux_error2='2.90e-08', ts2='16.50', photon_index='2.23' WHERE bin_id='606' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:28:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 840619: <4FGL_J2324.7+0801_daily_bin606> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin606> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 16:15:20 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:15:22 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:15:22 2021
Terminated at Wed Sep 29 16:28:33 2021
Results reported at Wed Sep 29 16:28:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin606 351.19 8.0282 396403201 396662401 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 :                                   713.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             361.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            793 sec.

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

