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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1115
RA = 351.19, Dec = 8.0282
tmin = 528336001, tmax = 528595201
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='843531', job_status='RUN', time_executed='2021-09-29 16:28:00.297938', time_epoch_executed='1632958080.3' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1115'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/843531

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/843531/ft1_4FGL_J2324.7+0801_daily_bin1115.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/843531/ft2_4FGL_J2324.7+0801_daily_bin1115.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/843531/ft1_4FGL_J2324.7+0801_daily_bin1115.fits outfile=/scratch/kocevski/843531/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1115.fits ra=351.19 dec=8.0282 rad=12.0 tmin=528336001.0 tmax=528595201.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.47
user 3.20
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/843531/ft1_filtered_4FGL_J2324.7+0801_daily_bin1115.fits" evtable="EVENTS" scfile=/scratch/kocevski/843531/ft2_4FGL_J2324.7+0801_daily_bin1115.fits sctable="SC_DATA" outfile=/scratch/kocevski/843531/ltcube_528336001_528595201_4FGL_J2324.7+0801_daily_bin1115.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/843531/ft2_4FGL_J2324.7+0801_daily_bin1115.fits
.....................!
real 12.05
user 11.64
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/843531/ft1_filtered_4FGL_J2324.7+0801_daily_bin1115.fits evtable="EVENTS" scfile=/scratch/kocevski/843531/ft2_4FGL_J2324.7+0801_daily_bin1115.fits sctable="SC_DATA" expcube=/scratch/kocevski/843531/ltcube_528336001_528595201_4FGL_J2324.7+0801_daily_bin1115.fits outfile=/scratch/kocevski/843531/expmap_528336001_528595201_4FGL_J2324.7+0801_daily_bin1115.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/843531/ltcube_528336001_528595201_4FGL_J2324.7+0801_daily_bin1115.fits
.....................!
real 191.66
user 185.89
sys 4.82

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/843531/ft1_filtered_4FGL_J2324.7+0801_daily_bin1115.fits scfile=/scratch/kocevski/843531/ft2_4FGL_J2324.7+0801_daily_bin1115.fits outfile=/scratch/kocevski/843531/cmap_528336001_528595201_4FGL_J2324.7+0801_daily_bin1115.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/843531/ft1_filtered_4FGL_J2324.7+0801_daily_bin1115.fits scfile=/scratch/kocevski/843531/ft2_4FGL_J2324.7+0801_daily_bin1115.fits outfile=/scratch/kocevski/843531/cmap_HighResolution_528336001_528595201_4FGL_J2324.7+0801_daily_bin1115.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/843531/ft1_filtered_4FGL_J2324.7+0801_daily_bin1115.fits evtable="EVENTS" scfile=/scratch/kocevski/843531/ft2_4FGL_J2324.7+0801_daily_bin1115.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/843531/Model_4FGL_J2324.7+0801_daily_bin1115.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/843531/ft1_filtered_4FGL_J2324.7+0801_daily_bin1115.fits.....................!
real 72.73
user 69.20
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    1.2216       1.0000         .10000E-03   10000.    
     3 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.3132       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.152       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.3665       1.0000         .10000E-03   10000.    
     9 'norm      '    .10077E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.575       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.6599       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11665E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12425       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    17.542       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.6251       1.0000         .10000E-03   10000.    
    21 'Prefactor '    91.226       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .13572E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .71097       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0904       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=   6518.884     FROM MIGRAD    STATUS=CONVERGED    621 CALLS     2983 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    51.250       -.19747E-06** at limit **
   2  Prefactor     1.2216        .23089        .91506E-08    .21559E-02
   3  norm          .10000E-03    16.453        .47514E-07** at limit **
   4  Prefactor     8.3130        29.495       -.46948E-07    .17658E-04
   5  Prefactor     12.152        8.8390        .31100E-07    .81003E-04
   6  Prefactor     .10000E-03    5.3355        .54858E-07** at limit **
   7  Prefactor     .10000E-03    27.687       -.42012E-06** at limit **
   8  Prefactor     3.3659        5.5694       -.20219E-05   -.13335E-03
   9  norm          .10000E-03    .60404       -.23123E-07** at limit **
  10  Prefactor     17.574        12.352       -.78260E-07    .27890E-04
  11  Prefactor     .10000E-03    5.5752       -.48875E-07** at limit **
  12  Prefactor     .10000E-03    67.994       -.11132E-05** at limit **
  13  norm          4.6591        7.3515       -.38744E-06   -.42961E-04
  14  Prefactor     .10000E-03    5.7890        .52063E-06** at limit **
  15  Prefactor     .10000E-03    182.62        .13222E-04** at limit **
  16  Prefactor     .11589E-03    43.324       -.18964E-04** at limit **
  17  Prefactor     .10000E-03    8.7392        .11379E-06** at limit **
  18  norm          .10000E-03    4.8158        .55387E-07** at limit **
  19  norm          17.767        30.823       -.65012E-06    .28436E-03
  20  Prefactor     5.6279        5.3369       -.26432E-06    .21288E-03
  21  Prefactor     91.235        49.373       -.20041E-06    .72219E-04
  22  Prefactor     .10000E-03    21.704        .46631E-06** at limit **
  23  Prefactor     .10020E-03    36.433        .20857E-04** at limit **
  24  Normalizat    .71115        .22435        .13343E-05    .27586E-03
  25  Prefactor     1.0904        .13790       -.17898E-07    .42195E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 1.22157
  norm       = 0.0001
  Prefactor  = 8.31304
  Prefactor  = 12.1516
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.36591
  norm       = 0.0001
  Prefactor  = 17.574
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.65912
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.000115891
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 17.7669
  Prefactor  = 5.6279
  Prefactor  = 91.2347
  Prefactor  = 0.0001
  Prefactor  = 0.000100199
  Normalizat = 0.711151
  Prefactor  = 1.09039
 **********
 **   18 **HESSE 
 **********

 FCN=   6518.884     FROM HESSE     STATUS=OK           429 CALLS     3412 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    52.752        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.2216        .23079        .16043E-04   -1.5487    
   3  norm          .10000E-03    16.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.3130        29.463        .13904E-03   -1.5131    
   5  Prefactor     12.152        8.8312        .11491E-03   -1.5011    
   6  Prefactor     .10000E-03    5.3509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    28.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.3659        5.5714        .11027E-02   -1.5341    
   9  norm          .10000E-03    1.1923        .12092E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     17.574        12.321        .95537E-04   -1.4869    
  11  Prefactor     .10000E-03    5.5830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    68.321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.6591        7.3171        .18643E-03   -1.5276    
  14  Prefactor     .10000E-03    5.8797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    182.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11589E-03    22.025        .69410E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.7456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.8191        .17305E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          17.767        32.897        .95627E-04   -1.4865    
  20  Prefactor     5.6279        5.3142        .16491E-03   -1.5233    
  21  Prefactor     91.235        49.355        .42073E-04   -1.3795    
  22  Prefactor     .10000E-03    21.827        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10020E-03    39.305        .41317E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .71115        .25237        .36655E-03   -1.0345    
  25  Prefactor     1.0904        .15804        .19271E-03   -.89774    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.54706e-09
Minuit parameter uncertainties:
  1  0.000341953
  2  0.230793
  3  2.65371e-05
  4  29.515
  5  8.83212
  6  6.2131e-06
  7  0.000143982
  8  5.57225
  9  1.98192e-05
  10  12.3229
  11  2.70653e-06
  12  7.84118e-05
  13  7.31848
  14  8.04987e-05
  15  0.00137695
  16  0.0374296
  17  1.9203e-05
  18  4.75273e-06
  19  32.9309
  20  5.31465
  21  49.3776
  22  2.03041e-05
  23  0.00559121
  24  0.252779
  25  0.158106
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.757e+01  1.232e+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.090e+00  1.581e-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.112e-01  2.528e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.38
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 6.33e-08 +/- 4.43e-08
Energy Flux (Fixed Index): 2.70e-05 +/- 1.89e-05

TS (Fixed Index): 3.38
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 1.54e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.18e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/843531/likelihoodResults_528336001_528595201_4FGL_J2324.7+0801_daily_bin1115.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): 0
logL (Free Index) = 6518.64140119
delta logL = 0.242494334594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6518.60562576
delta logL = 0.278269765558

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.418       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6394       1.0000          .0000       10.000    
     3 'Normalizat'    .68438       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1009       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=   6518.606     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      244 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.411        125.87        .31034E-02    .19567E-03
   2  Index         2.6406        2.6946        .12471        .16518E-03
   3  Normalizat    .68447        .88028E-01    .84211E-01    .63727E-04
   4  Prefactor     1.1008        .48735E-01    .37554E-01    .29826E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.411
  Index      = 2.64057
  Normalizat = 0.684466
  Prefactor  = 1.10078
 **********
 **   18 **HESSE 
 **********

 FCN=   6518.606     FROM HESSE     STATUS=OK            31 CALLS      275 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.411        14.146        .12413E-03   -1.5063    
   2  Index         2.6406        .69320        .45241E-02   -.49143    
   3  Normalizat    .68447        .24850        .37297E-03   -1.0451    
   4  Prefactor     1.1008        .15835        .19186E-03   -.89442    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48478e-11
Minuit parameter uncertainties:
  1  14.1508
  2  0.696092
  3  0.248905
  4  0.158415
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/843531': 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) = 6518.60562157
delta logL = 0.278273953486

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.041e+01  1.415e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.641e+00  6.961e-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:  1.101e+00  1.584e-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.845e-01  2.489e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.94
Ra Dec: 351.190 8.028
Photon Index (Free Index): 2.64 +/- 0.70
Photon Flux (Free Index): 8.67e-08 +/- 5.93e-08
Energy Flux (Free Index): 2.19e-05 +/- 1.55e-05

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/843531/cmap_HighResolution_528336001_528595201_4FGL_J2324.7+0801_daily_bin1115.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-02', comment='SUCCESS', photon_flux='6.33e-08', energy_flux2='2.19e-05', photon_flux_error='4.43e-08', dlogl='2.78e-01', energy_flux='2.70e-05', photon_flux2='8.67e-08', job_status='DONE', time_completed='2021-09-29 16:39:48.923236', photon_index_error2='0.70', photon_index2='2.64', ts='3.38', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.54e-07', energy_flux_error2='1.55e-05', EG='0.71', time_epoch_completed='1632958788.92', return_code='0', job_id='843531', GAL2='1.10', EG2='0.68', return_code2='0', energy_flux_error='1.89e-05', photon_flux_error2='5.93e-08', ts2='3.94', photon_index='2.23' WHERE bin_id='1115' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:39:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 843531: <4FGL_J2324.7+0801_daily_bin1115> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1115> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 16:25:18 2021
Job was executed on host(s) <bullet0054>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:25:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 16:25:19 2021
Terminated at Wed Sep 29 16:39:49 2021
Results reported at Wed Sep 29 16:39:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1115 351.19 8.0282 528336001 528595201 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 :                                   703.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             254.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            871 sec.

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

