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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1458
RA = 351.19, Dec = 8.0282
tmin = 617241601, tmax = 617500801
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='844030', job_status='RUN', time_executed='2021-09-29 16:27:56.680548', time_epoch_executed='1632958076.68' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1458'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/844030

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/844030/ft1_4FGL_J2324.7+0801_daily_bin1458.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/844030/ft2_4FGL_J2324.7+0801_daily_bin1458.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/844030/ft1_4FGL_J2324.7+0801_daily_bin1458.fits outfile=/scratch/kocevski/844030/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1458.fits ra=351.19 dec=8.0282 rad=12.0 tmin=617241601.0 tmax=617500801.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 2.92
user 2.73
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/844030/ft1_filtered_4FGL_J2324.7+0801_daily_bin1458.fits" evtable="EVENTS" scfile=/scratch/kocevski/844030/ft2_4FGL_J2324.7+0801_daily_bin1458.fits sctable="SC_DATA" outfile=/scratch/kocevski/844030/ltcube_617241601_617500801_4FGL_J2324.7+0801_daily_bin1458.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/844030/ft2_4FGL_J2324.7+0801_daily_bin1458.fits
.....................!
real 12.70
user 12.30
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/844030/ft1_filtered_4FGL_J2324.7+0801_daily_bin1458.fits evtable="EVENTS" scfile=/scratch/kocevski/844030/ft2_4FGL_J2324.7+0801_daily_bin1458.fits sctable="SC_DATA" expcube=/scratch/kocevski/844030/ltcube_617241601_617500801_4FGL_J2324.7+0801_daily_bin1458.fits outfile=/scratch/kocevski/844030/expmap_617241601_617500801_4FGL_J2324.7+0801_daily_bin1458.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/844030/ltcube_617241601_617500801_4FGL_J2324.7+0801_daily_bin1458.fits
.....................!
real 192.11
user 186.73
sys 5.04

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/844030/ft1_filtered_4FGL_J2324.7+0801_daily_bin1458.fits scfile=/scratch/kocevski/844030/ft2_4FGL_J2324.7+0801_daily_bin1458.fits outfile=/scratch/kocevski/844030/cmap_617241601_617500801_4FGL_J2324.7+0801_daily_bin1458.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/844030/ft1_filtered_4FGL_J2324.7+0801_daily_bin1458.fits scfile=/scratch/kocevski/844030/ft2_4FGL_J2324.7+0801_daily_bin1458.fits outfile=/scratch/kocevski/844030/cmap_HighResolution_617241601_617500801_4FGL_J2324.7+0801_daily_bin1458.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/844030/ft1_filtered_4FGL_J2324.7+0801_daily_bin1458.fits evtable="EVENTS" scfile=/scratch/kocevski/844030/ft2_4FGL_J2324.7+0801_daily_bin1458.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/844030/Model_4FGL_J2324.7+0801_daily_bin1458.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/844030/ft1_filtered_4FGL_J2324.7+0801_daily_bin1458.fits.....................!
real 72.33
user 71.03
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .36556       1.0000         .10000E-03   10000.    
     3 'norm      '    78.096       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .96339       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.6400       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.7150       1.0000         .10000E-03   10000.    
     9 'norm      '    1.0581       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    10.779       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.8398       1.0000         .10000E-03   10000.    
    15 'Prefactor '    131.47       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.221       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.1154       1.0000         .10000E-03   10000.    
    19 'norm      '    .10624E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.2737       1.0000         .10000E-03   10000.    
    21 'Prefactor '    35.115       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .74263       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .93140       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=   6217.664     FROM MIGRAD    STATUS=CONVERGED    552 CALLS     2860 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.4169        .39708E-07** at limit **
   2  Prefactor     .36554        .15278       -.18399E-07   -.68130E-03
   3  norm          78.090        36.994        .52524E-06    .17617E-05
   4  Prefactor     .10000E-03    20.392        .95697E-07** at limit **
   5  Prefactor     .96421        5.1294        .20298E-05   -.16323E-03
   6  Prefactor     1.6373        30.496        .16300E-05   -.39070E-04
   7  Prefactor     .10000E-03    11.676        .72428E-07** at limit **
   8  Prefactor     9.7139        6.2301        .82044E-06   -.34123E-03
   9  norm          1.0588        1.5627       -.11383E-05   -.51423E-03
  10  Prefactor     .10000E-03    4.9692        .13470E-07** at limit **
  11  Prefactor     .10000E-03    5.2021       -.17299E-07** at limit **
  12  Prefactor     .10000E-03    19.775       -.61019E-07** at limit **
  13  norm          10.777        10.394        .71355E-07   -.28140E-04
  14  Prefactor     8.8381        7.3927        .84999E-08   -.33626E-04
  15  Prefactor     130.75        227.91       -.22522E-07   -.14118E-04
  16  Prefactor     12.207        24.556        .17527E-05    .28886E-04
  17  Prefactor     .10000E-03    11.468       -.28514E-07** at limit **
  18  norm          4.1166        12.508        .43616E-06   -.14490E-04
  19  norm          .10000E-03    16.456       -.71025E-06** at limit **
  20  Prefactor     6.2655        10.871        .38750E-06    .51345E-04
  21  Prefactor     35.090        39.819        .40996E-06   -.70241E-05
  22  Prefactor     .10000E-03    8.9199       -.17948E-06** at limit **
  23  Prefactor     .10000E-03    1.9525        .41899E-07** at limit **
  24  Normalizat    .74312        .20768       -.10812E-05   -.17274E-04
  25  Prefactor     .93109        .12350       -.26592E-08   -.10037E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.365542
  norm       = 78.0903
  Prefactor  = 0.0001
  Prefactor  = 0.964208
  Prefactor  = 1.63731
  Prefactor  = 0.0001
  Prefactor  = 9.71385
  norm       = 1.05876
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.7771
  Prefactor  = 8.83809
  Prefactor  = 130.751
  Prefactor  = 12.2073
  Prefactor  = 0.0001
  norm       = 4.11659
  norm       = 0.0001
  Prefactor  = 6.26554
  Prefactor  = 35.0895
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.743123
  Prefactor  = 0.931092
 **********
 **   18 **HESSE 
 **********

 FCN=   6217.664     FROM HESSE     STATUS=OK           427 CALLS     3287 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.4269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .36554        .15181        .19001E-04   -1.5587    
   3  norm          78.090        37.006        .45442E-04   -1.3938    
   4  Prefactor     .10000E-03    20.412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .96421        4.9165        .33453E-03   -1.5512    
   6  Prefactor     1.6373        30.055        .32996E-03   -1.5452    
   7  Prefactor     .10000E-03    11.695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.7139        6.1510        .64283E-03   -1.5085    
   9  norm          1.0588        1.5341        .12086E-02   -1.5502    
  10  Prefactor     .10000E-03    4.9816        .17159E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.2122        .17563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    19.782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.777        10.353        .12203E-03   -1.5051    
  14  Prefactor     8.8381        7.3734        .13481E-03   -1.5113    
  15  Prefactor     130.75        227.84        .17559E-03   -1.3416    
  16  Prefactor     12.207        24.229        .11459E-03   -1.5009    
  17  Prefactor     .10000E-03    11.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.1166        12.499        .19871E-03   -1.5302    
  19  norm          .10000E-03    16.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.2655        10.712        .16026E-03   -1.5207    
  21  Prefactor     35.090        39.920        .67627E-04   -1.4523    
  22  Prefactor     .10000E-03    8.9321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    1.9548        .10760E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .74312        .23977        .33354E-03   -1.0221    
  25  Prefactor     .93109        .14459        .18701E-03   -.95063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55194e-10
Minuit parameter uncertainties:
  1  2.0234e-06
  2  0.151814
  3  37.0169
  4  3.51282e-06
  5  4.35488
  6  14.0376
  7  3.12292e-06
  8  6.15145
  9  1.5342
  10  3.52989e-07
  11  6.7939e-06
  12  7.51152e-06
  13  10.3543
  14  7.3742
  15  229.393
  16  24.2488
  17  6.22713e-06
  18  12.5066
  19  3.05949e-06
  20  10.7148
  21  39.9506
  22  9.39704e-06
  23  2.1562e-08
  24  0.240106
  25  0.144651
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.000e-04  3.530e-07  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:  9.311e-01  1.447e-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:  7.431e-01  2.401e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/844030/likelihoodResults_617241601_617500801_4FGL_J2324.7+0801_daily_bin1458.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) = 6217.66471392
delta logL = -0.00095634740137

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6217.66375749
delta logL = 8.29932105262e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2114       1.0000          .0000       10.000    
     3 'Normalizat'    .74312       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93111       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=   6217.664     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      238 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10152E-03    69.945        .17344E-02** at limit **
   2  Index         2.1413        8.6980        .50000        .22287E-04
   3  Normalizat    .74312        .18626E-01    .33354E-03    .22428E-04
   4  Prefactor     .93109        .11670E-01    .18701E-03    .40779E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101518
  Index      = 2.14132
  Normalizat = 0.743122
  Prefactor  = 0.931092
 **********
 **   18 **HESSE 
 **********

 FCN=   6217.664     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .82E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10152E-03    300.85        .34688E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1413        8.9291        .50000       -.60862    
   3  Normalizat    .74312        .40948E-01    .13341E-04   -1.0221    
   4  Prefactor     .93109        .25648E-01    .37402E-04   -.95063    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.20407e-08
Minuit parameter uncertainties:
  1  0.0429591
  2  790.02
  3  0.0409495
  4  0.0256484
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/844030': 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) = 6217.6637572
delta logL = 3.78401637136e-07

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.015e-04  4.296e-02  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.141e+00  7.900e+02  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:  9.311e-01  2.565e-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:  7.431e-01  4.095e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.190 8.028

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/844030/cmap_HighResolution_617241601_617500801_4FGL_J2324.7+0801_daily_bin1458.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.66e-03', job_status='DONE', photon_flux_upper_limit='7.41e-08', time_completed='2021-09-29 16:40:43.337798', job_id='844030', GAL2='0.93', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1632958843.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='3.78e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1458' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:40:43 PDT 2021


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

Job <4FGL_J2324.7+0801_daily_bin1458> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 16:26:02 2021
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:26:04 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:26:04 2021
Terminated at Wed Sep 29 16:40:44 2021
Results reported at Wed Sep 29 16:40:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1458 351.19 8.0282 617241601 617500801 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 :                                   657.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   879 sec.
    Turnaround time :                            882 sec.

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

