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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin237
RA = 351.19, Dec = 8.0282
tmin = 300758401, tmax = 301017601
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='837961', job_status='RUN', time_executed='2021-09-29 16:08:00.755622', time_epoch_executed='1632956880.76' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='237'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/837961

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/837961/ft1_4FGL_J2324.7+0801_daily_bin237.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/837961/ft2_4FGL_J2324.7+0801_daily_bin237.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/837961/ft1_4FGL_J2324.7+0801_daily_bin237.fits outfile=/scratch/kocevski/837961/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin237.fits ra=351.19 dec=8.0282 rad=12.0 tmin=300758401.0 tmax=301017601.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.51
user 3.27
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/837961/ft2_4FGL_J2324.7+0801_daily_bin237.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/837961/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin237.fits evtable="EVENTS" outfile="/scratch/kocevski/837961/ft1_filtered_4FGL_J2324.7+0801_daily_bin237.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/837961/ft1_filtered_4FGL_J2324.7+0801_daily_bin237.fits" evtable="EVENTS" scfile=/scratch/kocevski/837961/ft2_4FGL_J2324.7+0801_daily_bin237.fits sctable="SC_DATA" outfile=/scratch/kocevski/837961/ltcube_300758401_301017601_4FGL_J2324.7+0801_daily_bin237.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/837961/ft2_4FGL_J2324.7+0801_daily_bin237.fits
.....................!
real 12.91
user 12.58
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/837961/ft1_filtered_4FGL_J2324.7+0801_daily_bin237.fits evtable="EVENTS" scfile=/scratch/kocevski/837961/ft2_4FGL_J2324.7+0801_daily_bin237.fits sctable="SC_DATA" expcube=/scratch/kocevski/837961/ltcube_300758401_301017601_4FGL_J2324.7+0801_daily_bin237.fits outfile=/scratch/kocevski/837961/expmap_300758401_301017601_4FGL_J2324.7+0801_daily_bin237.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/837961/ltcube_300758401_301017601_4FGL_J2324.7+0801_daily_bin237.fits
.....................!
real 190.81
user 186.23
sys 4.28

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/837961/ft1_filtered_4FGL_J2324.7+0801_daily_bin237.fits scfile=/scratch/kocevski/837961/ft2_4FGL_J2324.7+0801_daily_bin237.fits outfile=/scratch/kocevski/837961/cmap_300758401_301017601_4FGL_J2324.7+0801_daily_bin237.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.19 yref=8.0282 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/837961/ft1_filtered_4FGL_J2324.7+0801_daily_bin237.fits scfile=/scratch/kocevski/837961/ft2_4FGL_J2324.7+0801_daily_bin237.fits outfile=/scratch/kocevski/837961/cmap_HighResolution_300758401_301017601_4FGL_J2324.7+0801_daily_bin237.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/837961/ft1_filtered_4FGL_J2324.7+0801_daily_bin237.fits evtable="EVENTS" scfile=/scratch/kocevski/837961/ft2_4FGL_J2324.7+0801_daily_bin237.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/837961/Model_4FGL_J2324.7+0801_daily_bin237.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/837961/ft1_filtered_4FGL_J2324.7+0801_daily_bin237.fits.....................!
real 95.93
user 94.65
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    4.4199       1.0000         .10000E-03   10000.    
     3 'norm      '    11.763       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.1366       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.8277       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.8062       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.0895       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.4494       1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.163       1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.762       1.0000         .10000E-03   10000.    
    13 'norm      '    2.5101       1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.348       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .58619E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    38.511       1.0000         .10000E-03   10000.    
    19 'norm      '    5.8407       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.1556       1.0000         .10000E-03   10000.    
    21 'Prefactor '    41.174       1.0000         .10000E-03   10000.    
    22 'Prefactor '    15.921       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0055       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .89505       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=   8878.545     FROM MIGRAD    STATUS=CONVERGED    564 CALLS     2920 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7725        .42847E-07** at limit **
   2  Prefactor     4.4199        .38110       -.14216E-07    .12449E-03
   3  norm          11.763        12.687       -.21533E-07    .17629E-04
   4  Prefactor     .10000E-03    14.698       -.40339E-06** at limit **
   5  Prefactor     7.1356        7.3955        .83783E-06   -.55706E-03
   6  Prefactor     2.8277        10.519        .58105E-07   -.44799E-04
   7  Prefactor     9.8061        11.275        .41839E-07    .19537E-04
   8  Prefactor     1.0839        11.317        .23681E-05   -.25571E-03
   9  norm          .10000E-03    .23185        .71367E-08** at limit **
  10  Prefactor     1.4463        17.126       -.10489E-05   -.16949E-03
  11  Prefactor     25.155        25.371       -.27330E-05   -.23795E-03
  12  Prefactor     19.760        29.064       -.53554E-06   -.45703E-04
  13  norm          2.5197        12.493       -.19541E-05   -.25450E-03
  14  Prefactor     23.346        12.871       -.36136E-07   -.69036E-04
  15  Prefactor     .10000E-03    71.113       -.81272E-07** at limit **
  16  Prefactor     .10004E-03    5.6323        .32428E-06** at limit **
  17  Prefactor     .10000E-03    26.017        .22458E-06** at limit **
  18  norm          38.510        20.449        .42667E-07    .18068E-04
  19  norm          5.8340        11.618        .21106E-05   -.42308E-03
  20  Prefactor     5.1548        4.0720        .21835E-07   -.23248E-03
  21  Prefactor     41.167        37.650       -.23026E-05   -.20486E-03
  22  Prefactor     15.914        25.906       -.15785E-05   -.11304E-03
  23  Prefactor     .10000E-03    2.2046        .97255E-08** at limit **
  24  Normalizat    1.0054        .21380        .14227E-05   -.81472E-04
  25  Prefactor     .89511        .12421       -.26567E-06    .25771E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.41988
  norm       = 11.7627
  Prefactor  = 0.0001
  Prefactor  = 7.13562
  Prefactor  = 2.8277
  Prefactor  = 9.80615
  Prefactor  = 1.08395
  norm       = 0.0001
  Prefactor  = 1.44627
  Prefactor  = 25.1545
  Prefactor  = 19.7599
  norm       = 2.51973
  Prefactor  = 23.3461
  Prefactor  = 0.0001
  Prefactor  = 0.000100045
  Prefactor  = 0.0001
  norm       = 38.51
  norm       = 5.834
  Prefactor  = 5.1548
  Prefactor  = 41.1667
  Prefactor  = 15.9139
  Prefactor  = 0.0001
  Normalizat = 1.00542
  Prefactor  = 0.895114
 **********
 **   18 **HESSE 
 **********

 FCN=   8878.545     FROM HESSE     STATUS=OK           435 CALLS     3355 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.7738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.4199        .38168        .16341E-04   -1.5287    
   3  norm          11.763        12.711        .11680E-03   -1.5022    
   4  Prefactor     .10000E-03    14.739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.1356        7.6084        .75079E-03   -1.5174    
   6  Prefactor     2.8277        10.518        .24185E-03   -1.5372    
   7  Prefactor     9.8061        11.278        .12796E-03   -1.5082    
   8  Prefactor     1.0839        11.968        .45861E-03   -1.5500    
   9  norm          .10000E-03    .23813        .88547E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.4463        16.981        .35791E-03   -1.5467    
  11  Prefactor     25.155        25.079        .79857E-04   -1.4704    
  12  Prefactor     19.760        29.081        .90098E-04   -1.4819    
  13  norm          2.5197        11.694        .25790E-03   -1.5390    
  14  Prefactor     23.346        12.554        .82899E-04   -1.4741    
  15  Prefactor     .10000E-03    71.121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10004E-03    19.379        .39021E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    26.237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          38.510        20.450        .64587E-04   -1.4466    
  19  norm          5.8340        11.416        .83088E-03   -1.5225    
  20  Prefactor     5.1548        4.0451        .15942E-03   -1.5254    
  21  Prefactor     41.167        38.086        .62471E-04   -1.4424    
  22  Prefactor     15.914        26.121        .10038E-03   -1.4910    
  23  Prefactor     .10000E-03    2.2054        .13663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0054        .24871        .35518E-03   -.92849    
  25  Prefactor     .89511        .14577        .23046E-03   -.96312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.66633e-09
Minuit parameter uncertainties:
  1  1.82334e-06
  2  0.381682
  3  12.714
  4  4.99876e-05
  5  7.60943
  6  10.5248
  7  11.2806
  8  7.20503
  9  6.86613e-07
  10  9.91465
  11  25.0892
  12  29.1022
  13  10.8596
  14  12.5555
  15  4.05732e-05
  16  0.00186095
  17  0.000146459
  18  20.4535
  19  11.4207
  20  4.04534
  21  38.1089
  22  26.1397
  23  7.53456e-08
  24  0.248993
  25  0.145834
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.446e+00  9.915e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  8.951e-01  1.458e-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.005e+00  2.490e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/837961/likelihoodResults_300758401_301017601_4FGL_J2324.7+0801_daily_bin237.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) = 8878.39565224
delta logL = 0.149355257228

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8878.39108992
delta logL = 0.153917584224

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2174       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6309       1.0000          .0000       10.000    
     3 'Normalizat'    1.0147       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88649       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=   8878.391     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      269 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2174        897.65        .40249E-02   -.11774E-03
   2  Index         1.6308        5.8193        .28469       -.23356E-04
   3  Normalizat    1.0150        .10035        .79899E-01    .23242E-04
   4  Prefactor     .88627        .57330E-01    .44833E-01    .97810E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.21736
  Index      = 1.6308
  Normalizat = 1.01502
  Prefactor  = 0.886273
 **********
 **   18 **HESSE 
 **********

 FCN=   8878.391     FROM HESSE     STATUS=OK            33 CALLS      302 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2174        12.368        .16100E-03   -1.5209    
   2  Index         1.6308        .76726        .15180E-01   -.73939    
   3  Normalizat    1.0150        .22944        .35367E-03   -.92529    
   4  Prefactor     .88627        .14307        .23144E-03   -.96622    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.86533e-11
Minuit parameter uncertainties:
  1  12.3728
  2  0.77289
  3  0.229665
  4  0.143127
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/837961': 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) = 8878.39108877
delta logL = 0.153918728216

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  6.217e+00  1.237e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  1.631e+00  7.729e-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:  8.863e-01  1.431e-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.015e+00  2.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/837961/cmap_HighResolution_300758401_301017601_4FGL_J2324.7+0801_daily_bin237.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.08e-03', job_status='DONE', photon_flux_upper_limit='9.27e-08', time_completed='2021-09-29 16:22:02.002370', job_id='837961', GAL2='0.89', fit_tolerance='1e-08', EG2='1.02', EG='1.01', time_epoch_completed='1632957722.0', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.54e-01', ts2='0.34', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='237' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:22:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 837961: <4FGL_J2324.7+0801_daily_bin237> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin237> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 16:05:42 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:05:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 16:05:43 2021
Terminated at Wed Sep 29 16:22:02 2021
Results reported at Wed Sep 29 16:22:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin237 351.19 8.0282 300758401 301017601 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 :                                   840.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   979 sec.
    Turnaround time :                            980 sec.

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

