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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin323
RA = 351.17, Dec = 31.2573
tmin = 323049601, tmax = 323308801
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='830461', job_status='RUN', time_executed='2021-09-29 15:42:11.322571', time_epoch_executed='1632955331.32' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='323'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/830461

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/830461/ft1_4FGL_J2324.6+3115_daily_bin323.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/830461/ft2_4FGL_J2324.6+3115_daily_bin323.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/830461/ft1_4FGL_J2324.6+3115_daily_bin323.fits outfile=/scratch/kocevski/830461/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin323.fits ra=351.17 dec=31.2573 rad=12.0 tmin=323049601.0 tmax=323308801.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.57
user 2.37
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/830461/ft2_4FGL_J2324.6+3115_daily_bin323.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/830461/ft2_4FGL_J2324.6+3115_daily_bin323.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/830461/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin323.fits evtable="EVENTS" outfile="/scratch/kocevski/830461/ft1_filtered_4FGL_J2324.6+3115_daily_bin323.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.42
user 0.27
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/830461/ft1_filtered_4FGL_J2324.6+3115_daily_bin323.fits" evtable="EVENTS" scfile=/scratch/kocevski/830461/ft2_4FGL_J2324.6+3115_daily_bin323.fits sctable="SC_DATA" outfile=/scratch/kocevski/830461/ltcube_323049601_323308801_4FGL_J2324.6+3115_daily_bin323.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/830461/ft2_4FGL_J2324.6+3115_daily_bin323.fits
.....................!
real 9.64
user 9.33
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/830461/ft1_filtered_4FGL_J2324.6+3115_daily_bin323.fits evtable="EVENTS" scfile=/scratch/kocevski/830461/ft2_4FGL_J2324.6+3115_daily_bin323.fits sctable="SC_DATA" expcube=/scratch/kocevski/830461/ltcube_323049601_323308801_4FGL_J2324.6+3115_daily_bin323.fits outfile=/scratch/kocevski/830461/expmap_323049601_323308801_4FGL_J2324.6+3115_daily_bin323.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/830461/ltcube_323049601_323308801_4FGL_J2324.6+3115_daily_bin323.fits
.....................!
real 144.98
user 141.08
sys 3.65

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 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2324.6+3115 @ 351.17 31.2573

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/830461/ft1_filtered_4FGL_J2324.6+3115_daily_bin323.fits scfile=/scratch/kocevski/830461/ft2_4FGL_J2324.6+3115_daily_bin323.fits outfile=/scratch/kocevski/830461/cmap_323049601_323308801_4FGL_J2324.6+3115_daily_bin323.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.17 yref=31.2573 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.45
user 0.31
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/830461/ft1_filtered_4FGL_J2324.6+3115_daily_bin323.fits scfile=/scratch/kocevski/830461/ft2_4FGL_J2324.6+3115_daily_bin323.fits outfile=/scratch/kocevski/830461/cmap_HighResolution_323049601_323308801_4FGL_J2324.6+3115_daily_bin323.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.17 yref=31.2573 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.45
user 0.30
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/830461/ft1_filtered_4FGL_J2324.6+3115_daily_bin323.fits evtable="EVENTS" scfile=/scratch/kocevski/830461/ft2_4FGL_J2324.6+3115_daily_bin323.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/830461/Model_4FGL_J2324.6+3115_daily_bin323.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/830461/ft1_filtered_4FGL_J2324.6+3115_daily_bin323.fits.....................!
real 77.02
user 75.90
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/830461/ft1_filtered_4FGL_J2324.6+3115_daily_bin323.fits', '/scratch/kocevski/830461/ft2_4FGL_J2324.6+3115_daily_bin323.fits', expMap='/scratch/kocevski/830461/expmap_323049601_323308801_4FGL_J2324.6+3115_daily_bin323.fits', expCube='/scratch/kocevski/830461/ltcube_323049601_323308801_4FGL_J2324.6+3115_daily_bin323.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/830461/Model_4FGL_J2324.6+3115_daily_bin323.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.6+3115'

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.967e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/830461/ft1_filtered_4FGL_J2324.6+3115_daily_bin323.fits
Spacecraft file(s): /scratch/kocevski/830461/ft2_4FGL_J2324.6+3115_daily_bin323.fits
Exposure map: /scratch/kocevski/830461/expmap_323049601_323308801_4FGL_J2324.6+3115_daily_bin323.fits
Exposure cube: /scratch/kocevski/830461/ltcube_323049601_323308801_4FGL_J2324.6+3115_daily_bin323.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/830461/Model_4FGL_J2324.6+3115_daily_bin323.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) = 8971.42514939

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.2481       1.0000         .10000E-03   10000.    
     3 'norm      '    1.3890       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.594       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.7388       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.502       1.0000         .10000E-03   10000.    
    10 'norm      '    7.0464       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.8684       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.2407       1.0000         .10000E-03   10000.    
    14 'norm      '    3.5201       1.0000         .10000E-03   10000.    
    15 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.9750       1.0000         .10000E-03   10000.    
    19 'Prefactor '    38.277       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.7668       1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.521       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .83153       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0222       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8971.417     FROM MIGRAD    STATUS=CONVERGED    516 CALLS     2551 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    11.590       -.13422E-05** at limit **
   2  Prefactor     3.2496        6.8435        .31870E-05   -.31992E-03
   3  norm          1.3889        .96407       -.12844E-06   -.27723E-03
   4  Prefactor     16.380        65.467       -.12871E-03    .18837E-04
   5  Prefactor     .10000E-03    16.846       -.37440E-06** at limit **
   6  Prefactor     .10000E-03    6.6048        .15436E-06** at limit **
   7  Prefactor     1.7380        5.8933       -.57192E-05   -.63453E-03
   8  Prefactor     .10000E-03    3.0968        .18709E-06** at limit **
   9  Prefactor     12.498        17.087       -.56244E-05    .37971E-04
  10  norm          7.0463        1.9200        .13426E-06    .30300E-03
  11  Prefactor     .10000E-03    11.704       -.72783E-06** at limit **
  12  Prefactor     5.8648        12.851       -.16991E-04   -.31159E-04
  13  Prefactor     3.2362        22.427       -.11484E-04   -.61297E-04
  14  norm          3.5199        3.9283       -.38653E-06   -.32655E-03
  15  norm          .10000E-03    3.7325        .24416E-06** at limit **
  16  Prefactor     .10000E-03    10.903        .11728E-05** at limit **
  17  norm          .10000E-03    .65377        .10710E-06** at limit **
  18  Prefactor     4.9601        21.967        .10431E-04   -.43902E-04
  19  Prefactor     38.283        45.656       -.54804E-05   -.24868E-04
  20  Prefactor     2.6048        252.97        .15153E-03    .21362E-04
  21  Prefactor     13.523        10.365       -.55908E-05   -.91742E-03
  22  Normalizat    .83100        .20562       -.14434E-05    .16148E-03
  23  Prefactor     1.0225        .99799E-01    .36589E-05   -.66111E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  Prefactor  = 3.24963
  norm       = 1.38891
  Prefactor  = 16.3803
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.73801
  Prefactor  = 0.0001
  Prefactor  = 12.4985
  norm       = 7.04632
  Prefactor  = 0.0001
  Prefactor  = 5.86481
  Prefactor  = 3.23623
  norm       = 3.51991
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.96005
  Prefactor  = 38.2829
  Prefactor  = 2.60475
  Prefactor  = 13.5234
  Normalizat = 0.831
  Prefactor  = 1.02246
 **********
 **   18 **HESSE 
 **********

 FCN=   8971.417     FROM HESSE     STATUS=OK           374 CALLS     2925 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    11.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.2496        6.8171        .22473E-03   -1.5347    
   3  norm          1.3889        .95202        .74903E-04   -1.5472    
   4  Prefactor     16.380        65.213        .98322E-04   -1.4898    
   5  Prefactor     .10000E-03    16.994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.6174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.7380        5.9125        .31819E-03   -1.5444    
   8  Prefactor     .10000E-03    3.1028        .16278E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.498        17.090        .11329E-03   -1.5001    
  10  norm          7.0463        1.9190        .65180E-04   -1.5177    
  11  Prefactor     .10000E-03    11.733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.8648        12.829        .16578E-03   -1.5224    
  13  Prefactor     3.2362        22.443        .22500E-03   -1.5348    
  14  norm          3.5199        3.9183        .19126E-03   -1.5333    
  15  norm          .10000E-03    3.7371        .17871E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .65592        .74766E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.9601        21.946        .18030E-03   -1.5263    
  19  Prefactor     38.283        45.907        .64783E-04   -1.4470    
  20  Prefactor     2.6048        241.98        .24468E-03   -1.5385    
  21  Prefactor     13.523        10.154        .10893E-03   -1.4972    
  22  Normalizat    .83100        .23628        .38502E-03   -.98929    
  23  Prefactor     1.0225        .11592        .17160E-03   -.91985    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.36763e-09
Minuit parameter uncertainties:
  1  0.000242594
  2  6.81871
  3  0.95203
  4  65.4921
  5  3.02842e-05
  6  4.5169e-05
  7  5.91451
  8  6.87303e-06
  9  17.0966
  10  1.91898
  11  1.16685e-05
  12  12.8352
  13  17.0536
  14  3.91858
  15  1.03991e-05
  16  6.63206e-06
  17  8.66456e-06
  18  20.8794
  19  45.9499
  20  50.4222
  21  10.1551
  22  0.236571
  23  0.115948
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  6.632e-06  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.022e+00  1.159e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  8.310e-01  2.366e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.170 31.257
Photon Flux Upper Limit: 9.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/830461/likelihoodResults_323049601_323308801_4FGL_J2324.6+3115_daily_bin323.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) = 8971.41780356
delta logL = -0.000434666369983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8971.41736893
delta logL = -2.77377694147e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8987       1.0000          .0000       10.000    
     3 'Normalizat'    .83101       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0224       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+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=   8971.265     FROM MIGRAD    STATUS=CONVERGED    160 CALLS      306 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14370        2.7971        .14814E-01    .32724E-02
   2  Index         6.6161        7.3898        .31125        .76985E-04
   3  Normalizat    .79419        .25817E-01    .38502E-03    .41368E-03
   4  Prefactor     1.0338        .12736E-01    .17160E-03    .10400E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.1437
  Index      = 6.61606
  Normalizat = 0.794193
  Prefactor  = 1.03385
 **********
 **   18 **HESSE 
 **********

 FCN=   8971.265     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      337 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14370        24.739        .62639E-03   -1.5632    
   2  Index         6.6161        5.9623        .18992E-01    .32912    
   3  Normalizat    .79419        .13534        .15401E-04   -1.0028    
   4  Prefactor     1.0338        .65534E-01    .34320E-04   -.91610    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.49076e-08
Minuit parameter uncertainties:
  1  3.77123
  2  20.1451
  3  0.135395
  4  0.0655386
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/830461': 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) = 8971.26545363
delta logL = 0.151915264132

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.437e-01  3.771e+00  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  6.616e+00  2.015e+01  0.000e+00  1.000e+01 (-1.000e+00)
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.034e+00  6.554e-02  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  7.942e-01  1.354e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.170 31.257

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/830461/cmap_HighResolution_323049601_323308801_4FGL_J2324.6+3115_daily_bin323.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.61e-03', job_status='DONE', photon_flux_upper_limit='9.57e-08', time_completed='2021-09-29 15:52:32.209576', job_id='830461', GAL2='1.03', fit_tolerance='1e-08', EG2='0.79', EG='0.83', time_epoch_completed='1632955952.21', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.52e-01', ts2='0.34', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='323' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 15:52:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 830461: <4FGL_J2324.6+3115_daily_bin323> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin323> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 15:40:23 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 15:40:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 15:40:24 2021
Terminated at Wed Sep 29 15:52:32 2021
Results reported at Wed Sep 29 15:52:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin323 351.17 31.2573 323049601 323308801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2324.6+3115 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   611.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             292.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   728 sec.
    Turnaround time :                            729 sec.

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

