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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1366
RA = 351.19, Dec = 8.0282
tmin = 593395201, tmax = 593654401
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='843892', job_status='RUN', time_executed='2021-09-29 16:26:04.861935', time_epoch_executed='1632957964.86' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1366'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/843892

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/843892/ft1_4FGL_J2324.7+0801_daily_bin1366.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/843892/ft2_4FGL_J2324.7+0801_daily_bin1366.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/843892/ft1_4FGL_J2324.7+0801_daily_bin1366.fits outfile=/scratch/kocevski/843892/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1366.fits ra=351.19 dec=8.0282 rad=12.0 tmin=593395201.0 tmax=593654401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.25
user 3.87
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/843892/ft2_4FGL_J2324.7+0801_daily_bin1366.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/843892/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1366.fits evtable="EVENTS" outfile="/scratch/kocevski/843892/ft1_filtered_4FGL_J2324.7+0801_daily_bin1366.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.61
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/843892/ft1_filtered_4FGL_J2324.7+0801_daily_bin1366.fits" evtable="EVENTS" scfile=/scratch/kocevski/843892/ft2_4FGL_J2324.7+0801_daily_bin1366.fits sctable="SC_DATA" outfile=/scratch/kocevski/843892/ltcube_593395201_593654401_4FGL_J2324.7+0801_daily_bin1366.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/843892/ft2_4FGL_J2324.7+0801_daily_bin1366.fits
.....................!
real 11.64
user 11.26
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/843892/ft1_filtered_4FGL_J2324.7+0801_daily_bin1366.fits evtable="EVENTS" scfile=/scratch/kocevski/843892/ft2_4FGL_J2324.7+0801_daily_bin1366.fits sctable="SC_DATA" expcube=/scratch/kocevski/843892/ltcube_593395201_593654401_4FGL_J2324.7+0801_daily_bin1366.fits outfile=/scratch/kocevski/843892/expmap_593395201_593654401_4FGL_J2324.7+0801_daily_bin1366.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/843892/ltcube_593395201_593654401_4FGL_J2324.7+0801_daily_bin1366.fits
.....................!
real 191.42
user 185.58
sys 5.33

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/843892/ft1_filtered_4FGL_J2324.7+0801_daily_bin1366.fits scfile=/scratch/kocevski/843892/ft2_4FGL_J2324.7+0801_daily_bin1366.fits outfile=/scratch/kocevski/843892/cmap_593395201_593654401_4FGL_J2324.7+0801_daily_bin1366.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/843892/ft1_filtered_4FGL_J2324.7+0801_daily_bin1366.fits scfile=/scratch/kocevski/843892/ft2_4FGL_J2324.7+0801_daily_bin1366.fits outfile=/scratch/kocevski/843892/cmap_HighResolution_593395201_593654401_4FGL_J2324.7+0801_daily_bin1366.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/843892/ft1_filtered_4FGL_J2324.7+0801_daily_bin1366.fits evtable="EVENTS" scfile=/scratch/kocevski/843892/ft2_4FGL_J2324.7+0801_daily_bin1366.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/843892/Model_4FGL_J2324.7+0801_daily_bin1366.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/843892/ft1_filtered_4FGL_J2324.7+0801_daily_bin1366.fits.....................!
real 72.27
user 70.87
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .84201       1.0000         .10000E-03   10000.    
     3 'norm      '    37.012       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.8208       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.0623       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .36064       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.363       1.0000         .10000E-03   10000.    
     9 'norm      '    1.6686       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.0271       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.1373       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.8493       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.2541       1.0000         .10000E-03   10000.    
    19 'norm      '    29.883       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.3168       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.5510       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0302       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .80053       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=   7039.954     FROM MIGRAD    STATUS=CONVERGED   1006 CALLS     2931 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.662        .18142E-02** at limit **
   2  Prefactor     .84197        .19741        .17398E-04   -.36319E-03
   3  norm          37.011        14.789        .65877E-04   -.94502E-04
   4  Prefactor     .10000E-03    28.620        .18142E-02** at limit **
   5  Prefactor     1.8216        4.0094        .12146E-02    .18811E-02
   6  Prefactor     6.0621        9.7369        .81534E-03    .29843E-03
   7  Prefactor     .38966        192.59        .59156E-02   -.57797E-04
   8  Prefactor     10.362        10.687        .62232E-03    .20290E-03
   9  norm          1.6685        .82566        .51752E-04   -.11511E-03
  10  Prefactor     .10000E-03    3.9825        .16320E-02** at limit **
  11  Prefactor     4.0260        35.404        .20095E-03    .22064E-05
  12  Prefactor     .10000E-03    18.642        .18142E-02** at limit **
  13  norm          .10000E-03    3.7147        .15721E-02** at limit **
  14  Prefactor     1.1375        4.2883        .32306E-03    .17567E-03
  15  Prefactor     .10000E-03    46.528        .18142E-02** at limit **
  16  Prefactor     5.8442        11.489        .16605E-03    .10954E-04
  17  Prefactor     .10000E-03    8.4727        .18142E-02** at limit **
  18  norm          4.2536        16.178        .19535E-03   -.11639E-05
  19  norm          29.890        25.785        .73292E-04   -.46845E-04
  20  Prefactor     .10000E-03    1.3260        .93782E-03** at limit **
  21  Prefactor     3.3143        28.428        .22227E-03   -.21482E-05
  22  Prefactor     .10000E-03    16.363        .18142E-02** at limit **
  23  Prefactor     6.5509        7.2749        .15679E-03   -.12544E-04
  24  Normalizat    1.0303        .22170        .28489E-03   -.36339E-03
  25  Prefactor     .80044        .13519        .20109E-03   -.47771E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.84197
  norm       = 37.0107
  Prefactor  = 0.0001
  Prefactor  = 1.82163
  Prefactor  = 6.06211
  Prefactor  = 0.389659
  Prefactor  = 10.362
  norm       = 1.66852
  Prefactor  = 0.0001
  Prefactor  = 4.02603
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.13749
  Prefactor  = 0.0001
  Prefactor  = 5.84423
  Prefactor  = 0.0001
  norm       = 4.25362
  norm       = 29.8905
  Prefactor  = 0.0001
  Prefactor  = 3.31429
  Prefactor  = 0.0001
  Prefactor  = 6.5509
  Normalizat = 1.03031
  Prefactor  = 0.800441
 **********
 **   18 **HESSE 
 **********

 FCN=   7039.954     FROM HESSE     STATUS=OK           405 CALLS     3336 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.662        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .84197        .19738        .34795E-05   -1.5524    
   3  norm          37.011        14.787        .13175E-04   -1.4490    
   4  Prefactor     .10000E-03    28.623        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8216        4.0076        .48583E-04   -1.5438    
   6  Prefactor     6.0621        9.7336        .32613E-04   -1.5215    
   7  Prefactor     .38966        196.77        .23662E-02   -1.5583    
   8  Prefactor     10.362        10.676        .24893E-04   -1.5064    
   9  norm          1.6685        .82564        .20701E-05   -1.5450    
  10  Prefactor     .10000E-03    3.9830        .32639E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.0260        35.321        .80379E-05   -1.5307    
  12  Prefactor     .10000E-03    18.642        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.7154        .31442E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.1375        4.2862        .12922E-04   -1.5495    
  15  Prefactor     .10000E-03    46.528        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.8442        11.491        .66421E-05   -1.5224    
  17  Prefactor     .10000E-03    8.4733        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.2536        16.172        .78141E-05   -1.5295    
  19  norm          29.890        25.790        .29317E-05   -1.4614    
  20  Prefactor     .10000E-03    1.3261        .18756E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.3143        28.416        .88910E-05   -1.5344    
  22  Prefactor     .10000E-03    16.371        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.5509        7.2741        .62717E-05   -1.5196    
  24  Normalizat    1.0303        .22116        .56977E-04   -.92022    
  25  Prefactor     .80044        .13530        .40218E-04   -.99712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95525e-09
Minuit parameter uncertainties:
  1  2.31659e-05
  2  0.197377
  3  14.7883
  4  0.000120213
  5  4.00818
  6  9.7361
  7  17.5686
  8  10.6779
  9  0.825645
  10  1.35438e-05
  11  23.8685
  12  8.36465e-05
  13  9.04389e-06
  14  4.28731
  15  8.92573e-05
  16  11.495
  17  1.85627e-05
  18  16.1884
  19  25.7997
  20  1.89663e-06
  21  19.4211
  22  2.33803e-06
  23  7.2751
  24  0.221357
  25  0.135359
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.000e-04  1.354e-05  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:  8.004e-01  1.354e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  1.030e+00  2.214e-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: 6.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/843892/likelihoodResults_593395201_593654401_4FGL_J2324.7+0801_daily_bin1366.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) = 7039.95470858
delta logL = -0.00119575601275

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7039.95351267
delta logL = 1.59902810992e-07

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 'Index     '    2.2100       1.0000          .0000       10.000    
     3 'Normalizat'    1.0303       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80044       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=   7039.954     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      246 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10069E-03    34.004        .16522E-02** at limit **
   2  Index         2.1697        5.5754        .50000        .30615E-04
   3  Normalizat    1.0303        .13569E-01    .28489E-03   -.12850E-04
   4  Prefactor     .80044        .85980E-02    .20109E-03   -.73496E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100689
  Index      = 2.16969
  Normalizat = 1.03031
  Prefactor  = 0.800441
 **********
 **   18 **HESSE 
 **********

 FCN=   7039.954     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      275 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10069E-03    151.14        .33045E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1697        6.5457        .50000       -.60172    
   3  Normalizat    1.0303        .29597E-01    .11396E-04   -.92022    
   4  Prefactor     .80044        .18752E-01    .80436E-05   -.99712    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.57577e-08
Minuit parameter uncertainties:
  1  0.0204636
  2  347.36
  3  0.029597
  4  0.0187526
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/843892': 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) = 7039.95351243
delta logL = 3.96390532842e-07

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.007e-04  2.046e-02  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.170e+00  3.474e+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:  8.004e-01  1.875e-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:  1.030e+00  2.960e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/843892/cmap_HighResolution_593395201_593654401_4FGL_J2324.7+0801_daily_bin1366.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.60e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2021-09-29 16:38:20.557142', job_id='843892', GAL2='0.80', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1632958700.56', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='3.96e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1366' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:38:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 843892: <4FGL_J2324.7+0801_daily_bin1366> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1366> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 16:25:49 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:25:51 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:51 2021
Terminated at Wed Sep 29 16:38:20 2021
Results reported at Wed Sep 29 16:38:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1366 351.19 8.0282 593395201 593654401 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 :                                   718.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             377.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            751 sec.

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

