/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 126 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 = 7480
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2324.7+0801_daily_bin334
RA = 351.19, Dec = 8.0282
tmin = 325900801, tmax = 326160001
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='838120', job_status='RUN', time_executed='2021-09-29 16:08:12.174920', time_epoch_executed='1632956892.17' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='334'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/838120

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/838120/ft1_4FGL_J2324.7+0801_daily_bin334.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/838120/ft2_4FGL_J2324.7+0801_daily_bin334.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/838120/ft1_4FGL_J2324.7+0801_daily_bin334.fits outfile=/scratch/kocevski/838120/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin334.fits ra=351.19 dec=8.0282 rad=12.0 tmin=325900801.0 tmax=326160001.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 3.48
user 3.24
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/838120/ft2_4FGL_J2324.7+0801_daily_bin334.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/838120/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin334.fits evtable="EVENTS" outfile="/scratch/kocevski/838120/ft1_filtered_4FGL_J2324.7+0801_daily_bin334.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/838120/ft1_filtered_4FGL_J2324.7+0801_daily_bin334.fits" evtable="EVENTS" scfile=/scratch/kocevski/838120/ft2_4FGL_J2324.7+0801_daily_bin334.fits sctable="SC_DATA" outfile=/scratch/kocevski/838120/ltcube_325900801_326160001_4FGL_J2324.7+0801_daily_bin334.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/838120/ft2_4FGL_J2324.7+0801_daily_bin334.fits
.....................!
real 12.90
user 11.39
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/838120/ft1_filtered_4FGL_J2324.7+0801_daily_bin334.fits evtable="EVENTS" scfile=/scratch/kocevski/838120/ft2_4FGL_J2324.7+0801_daily_bin334.fits sctable="SC_DATA" expcube=/scratch/kocevski/838120/ltcube_325900801_326160001_4FGL_J2324.7+0801_daily_bin334.fits outfile=/scratch/kocevski/838120/expmap_325900801_326160001_4FGL_J2324.7+0801_daily_bin334.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/838120/ltcube_325900801_326160001_4FGL_J2324.7+0801_daily_bin334.fits
.....................!
real 191.18
user 185.83
sys 5.05

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/838120/ft1_filtered_4FGL_J2324.7+0801_daily_bin334.fits scfile=/scratch/kocevski/838120/ft2_4FGL_J2324.7+0801_daily_bin334.fits outfile=/scratch/kocevski/838120/cmap_325900801_326160001_4FGL_J2324.7+0801_daily_bin334.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/838120/ft1_filtered_4FGL_J2324.7+0801_daily_bin334.fits scfile=/scratch/kocevski/838120/ft2_4FGL_J2324.7+0801_daily_bin334.fits outfile=/scratch/kocevski/838120/cmap_HighResolution_325900801_326160001_4FGL_J2324.7+0801_daily_bin334.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/838120/ft1_filtered_4FGL_J2324.7+0801_daily_bin334.fits evtable="EVENTS" scfile=/scratch/kocevski/838120/ft2_4FGL_J2324.7+0801_daily_bin334.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/838120/Model_4FGL_J2324.7+0801_daily_bin334.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/838120/ft1_filtered_4FGL_J2324.7+0801_daily_bin334.fits.....................!
real 70.00
user 68.66
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.1326       1.0000         .10000E-03   10000.    
     3 'norm      '    20.046       1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.468       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.1954       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10261E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.238       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.6657       1.0000         .10000E-03   10000.    
     9 'norm      '    2.6916       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.5724       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .35926E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.5934       1.0000         .10000E-03   10000.    
    15 'Prefactor '    147.89       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10227E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    55.393       1.0000         .10000E-03   10000.    
    18 'norm      '    26.563       1.0000         .10000E-03   10000.    
    19 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.8735       1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.730       1.0000         .10000E-03   10000.    
    22 'Prefactor '    21.270       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.6701       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .55615       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0217       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=   6576.334     FROM MIGRAD    STATUS=CONVERGED    552 CALLS     2889 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.0663        .84710E-07** at limit **
   2  Prefactor     1.1326        .19944        .52850E-09   -.13410E-02
   3  norm          20.046        13.710        .11482E-06    .13116E-04
   4  Prefactor     21.471        29.550        .67126E-07    .85783E-04
   5  Prefactor     4.1938        6.6963        .34095E-06    .71938E-04
   6  Prefactor     .10002E-03    5.2763        .58875E-05** at limit **
   7  Prefactor     11.235        19.099        .65518E-06    .39613E-05
   8  Prefactor     6.6652        5.9705        .14851E-06   -.58032E-03
   9  norm          2.6916        1.2414        .73190E-07    .94144E-03
  10  Prefactor     3.5787        9.3901        .75547E-06   -.10039E-03
  11  Prefactor     .10000E-03    9.1025        .51230E-06** at limit **
  12  Prefactor     .10000E-03    11.328        .16314E-07** at limit **
  13  norm          .10000E-03    25.118       -.22226E-04** at limit **
  14  Prefactor     2.5998        5.1991        .35913E-05   -.16604E-03
  15  Prefactor     147.87        168.50        .23642E-05    .30645E-04
  16  Prefactor     .10000E-03    8.2834       -.72994E-06** at limit **
  17  Prefactor     55.382        28.252        .13848E-06    .33442E-03
  18  norm          26.561        14.885       -.67050E-07   -.18341E-04
  19  norm          .10000E-03    14.738       -.38979E-06** at limit **
  20  Prefactor     1.8746        4.3592        .60354E-06    .31730E-03
  21  Prefactor     11.725        28.757        .99093E-06   -.17072E-04
  22  Prefactor     21.267        23.624        .33056E-06   -.46381E-04
  23  Prefactor     2.6693        5.1887        .17985E-05   -.80788E-03
  24  Normalizat    .55596        .20797       -.92979E-06    .36462E-03
  25  Prefactor     1.0219        .12625       -.83173E-06    .25357E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.13262
  norm       = 20.0463
  Prefactor  = 21.4708
  Prefactor  = 4.19376
  Prefactor  = 0.000100018
  Prefactor  = 11.2354
  Prefactor  = 6.66516
  norm       = 2.6916
  Prefactor  = 3.57866
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 2.59979
  Prefactor  = 147.869
  Prefactor  = 0.0001
  Prefactor  = 55.382
  norm       = 26.5611
  norm       = 0.0001
  Prefactor  = 1.87463
  Prefactor  = 11.7251
  Prefactor  = 21.2673
  Prefactor  = 2.66926
  Normalizat = 0.555956
  Prefactor  = 1.02189
 **********
 **   18 **HESSE 
 **********

 FCN=   6576.334     FROM HESSE     STATUS=OK           433 CALLS     3322 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.0688        .17827E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.1326        .19948        .14552E-04   -1.5495    
   3  norm          20.046        13.709        .89457E-04   -1.4812    
   4  Prefactor     21.471        29.559        .86448E-04   -1.4781    
   5  Prefactor     4.1938        6.6874        .19675E-03   -1.5298    
   6  Prefactor     .10002E-03    13.311        .32939E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.235        19.107        .11951E-03   -1.5037    
   8  Prefactor     6.6652        5.9883        .77712E-03   -1.5192    
   9  norm          2.6916        1.2386        .58708E-04   -1.5380    
  10  Prefactor     3.5787        9.6247        .10691E-02   -1.5330    
  11  Prefactor     .10000E-03    9.1347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    32.883        .38616E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.5998        7.1318        .12668E-02   -1.5385    
  15  Prefactor     147.87        168.33        .16569E-03   -1.3270    
  16  Prefactor     .10000E-03    8.3454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     55.382        28.212        .53896E-04   -1.4218    
  18  norm          26.561        14.889        .38864E-03   -1.4677    
  19  norm          .10000E-03    14.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.8746        4.3155        .24122E-03   -1.5434    
  21  Prefactor     11.725        28.752        .11697E-03   -1.5023    
  22  Prefactor     21.267        23.651        .86849E-04   -1.4785    
  23  Prefactor     2.6693        5.3428        .12471E-02   -1.5381    
  24  Normalizat    .55596        .23235        .37029E-03   -1.0989    
  25  Prefactor     1.0219        .14266        .18383E-03   -.92003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.63693e-09
Minuit parameter uncertainties:
  1  8.87204e-06
  2  0.199477
  3  13.711
  4  29.5788
  5  6.6886
  6  0.000992548
  7  19.1171
  8  5.98888
  9  1.23858
  10  9.62888
  11  8.29045e-06
  12  6.1473e-05
  13  0.000377767
  14  7.13415
  15  168.881
  16  7.2875e-05
  17  28.2185
  18  14.8912
  19  5.91943e-05
  20  4.31619
  21  28.7859
  22  23.6615
  23  5.34378
  24  0.232754
  25  0.14271
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  3.579e+00  9.629e+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:  1.022e+00  1.427e-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:  5.560e-01  2.328e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.18
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 9.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.33e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/838120/likelihoodResults_325900801_326160001_4FGL_J2324.7+0801_daily_bin334.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) = 6575.98313744
delta logL = 0.351029224153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6575.94433993
delta logL = 0.389826740158

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13520       1.0000         .10000E-03   10000.    
     2 'Index     '    4.2679       1.0000          .0000       10.000    
     3 'Normalizat'    .50875       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0422       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=   6575.944     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      279 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12647        2.3709        .70951E-02   -.54235E-03
   2  Index         4.2955        2.5281        .99037E-01    .51333E-04
   3  Normalizat    .50795        .37603E-01    .87157E-01   -.57941E-04
   4  Prefactor     1.0428        .24943E-01    .40391E-01   -.81802E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.126474
  Index      = 4.29546
  Normalizat = 0.507949
  Prefactor  = 1.04279
 **********
 **   18 **HESSE 
 **********

 FCN=   6575.944     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      312 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12647        7.8838        .32852E-03   -1.5637    
   2  Index         4.2955        7.1193        .57183E-02   -.14138    
   3  Normalizat    .50795        .14634        .38614E-03   -1.1205    
   4  Prefactor     1.0428        .96770E-01    .18211E-03   -.91317    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.23956e-10
Minuit parameter uncertainties:
  1  1.99658
  2  6.32891
  3  0.146449
  4  0.0967858
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/838120': 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) = 6575.94432086
delta logL = 0.389845807684

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.265e-01  1.997e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  4.295e+00  6.329e+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.043e+00  9.679e-02  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:  5.079e-01  1.464e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.05
Ra Dec: 351.190 8.028
Photon Index (Free Index): 4.30 +/- 6.33
Photon Flux (Free Index): 4.85e-08 +/- 5.39e-08
Energy Flux (Free Index): 6.95e-06 +/- 1.11e-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/838120/cmap_HighResolution_325900801_326160001_4FGL_J2324.7+0801_daily_bin334.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.33e-03', comment='SUCCESS', energy_flux2='6.95e-06', dlogl='3.90e-01', photon_flux2='4.85e-08', job_status='DONE', time_completed='2021-09-29 16:19:48.682698', photon_index_error2='6.33', photon_index2='4.30', ts='0.18', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='9.60e-08', energy_flux_error2='1.11e-05', EG='0.56', time_epoch_completed='1632957588.68', return_code='0', job_id='838120', GAL2='1.04', EG2='0.51', return_code2='102', photon_flux_error2='5.39e-08', ts2='1.05', photon_index='2.23' WHERE bin_id='334' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:19:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 838120: <4FGL_J2324.7+0801_daily_bin334> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin334> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 16:05:56 2021
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:05:57 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:57 2021
Terminated at Wed Sep 29 16:19:49 2021
Results reported at Wed Sep 29 16:19:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin334 351.19 8.0282 325900801 326160001 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 :                                   694.06 sec.
    Max Memory :                                 1000 MB
    Average Memory :                             269.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            833 sec.

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

