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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin326
RA = 351.17, Dec = 31.2573
tmin = 323827201, tmax = 324086401
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='830465', job_status='RUN', time_executed='2021-09-29 15:43:31.956779', time_epoch_executed='1632955411.96' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='326'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/830465

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/830465/ft1_4FGL_J2324.6+3115_daily_bin326.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/830465/ft2_4FGL_J2324.6+3115_daily_bin326.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/830465/ft1_4FGL_J2324.6+3115_daily_bin326.fits outfile=/scratch/kocevski/830465/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin326.fits ra=351.17 dec=31.2573 rad=12.0 tmin=323827201.0 tmax=324086401.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.56
user 2.37
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/830465/ft2_4FGL_J2324.6+3115_daily_bin326.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/830465/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin326.fits evtable="EVENTS" outfile="/scratch/kocevski/830465/ft1_filtered_4FGL_J2324.6+3115_daily_bin326.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.45
user 0.26
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/830465/ft1_filtered_4FGL_J2324.6+3115_daily_bin326.fits" evtable="EVENTS" scfile=/scratch/kocevski/830465/ft2_4FGL_J2324.6+3115_daily_bin326.fits sctable="SC_DATA" outfile=/scratch/kocevski/830465/ltcube_323827201_324086401_4FGL_J2324.6+3115_daily_bin326.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/830465/ft2_4FGL_J2324.6+3115_daily_bin326.fits
.....................!
real 9.06
user 8.74
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/830465/ft1_filtered_4FGL_J2324.6+3115_daily_bin326.fits evtable="EVENTS" scfile=/scratch/kocevski/830465/ft2_4FGL_J2324.6+3115_daily_bin326.fits sctable="SC_DATA" expcube=/scratch/kocevski/830465/ltcube_323827201_324086401_4FGL_J2324.6+3115_daily_bin326.fits outfile=/scratch/kocevski/830465/expmap_323827201_324086401_4FGL_J2324.6+3115_daily_bin326.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/830465/ltcube_323827201_324086401_4FGL_J2324.6+3115_daily_bin326.fits
.....................!
real 144.92
user 140.51
sys 4.19

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/830465/ft1_filtered_4FGL_J2324.6+3115_daily_bin326.fits scfile=/scratch/kocevski/830465/ft2_4FGL_J2324.6+3115_daily_bin326.fits outfile=/scratch/kocevski/830465/cmap_323827201_324086401_4FGL_J2324.6+3115_daily_bin326.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.29
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/830465/ft1_filtered_4FGL_J2324.6+3115_daily_bin326.fits scfile=/scratch/kocevski/830465/ft2_4FGL_J2324.6+3115_daily_bin326.fits outfile=/scratch/kocevski/830465/cmap_HighResolution_323827201_324086401_4FGL_J2324.6+3115_daily_bin326.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/830465/ft1_filtered_4FGL_J2324.6+3115_daily_bin326.fits evtable="EVENTS" scfile=/scratch/kocevski/830465/ft2_4FGL_J2324.6+3115_daily_bin326.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/830465/Model_4FGL_J2324.6+3115_daily_bin326.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/830465/ft1_filtered_4FGL_J2324.6+3115_daily_bin326.fits.....................!
real 73.01
user 71.87
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/830465/ft1_filtered_4FGL_J2324.6+3115_daily_bin326.fits', '/scratch/kocevski/830465/ft2_4FGL_J2324.6+3115_daily_bin326.fits', expMap='/scratch/kocevski/830465/expmap_323827201_324086401_4FGL_J2324.6+3115_daily_bin326.fits', expCube='/scratch/kocevski/830465/ltcube_323827201_324086401_4FGL_J2324.6+3115_daily_bin326.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/830465/Model_4FGL_J2324.6+3115_daily_bin326.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/830465/ft1_filtered_4FGL_J2324.6+3115_daily_bin326.fits
Spacecraft file(s): /scratch/kocevski/830465/ft2_4FGL_J2324.6+3115_daily_bin326.fits
Exposure map: /scratch/kocevski/830465/expmap_323827201_324086401_4FGL_J2324.6+3115_daily_bin326.fits
Exposure cube: /scratch/kocevski/830465/ltcube_323827201_324086401_4FGL_J2324.6+3115_daily_bin326.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/830465/Model_4FGL_J2324.6+3115_daily_bin326.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) = 9031.75702485

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.2350       1.0000         .10000E-03   10000.    
     3 'norm      '    3.0833       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.817       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.487       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    8.7300       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.5081       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.860       1.0000         .10000E-03   10000.    
    14 'norm      '    5.3939       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.896       1.0000         .10000E-03   10000.    
    17 'norm      '    .12257E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.6714       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .83486       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95287       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=   9031.753     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2484 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.0392        .53743E-06** at limit **
   2  Prefactor     4.2336        6.5868        .29221E-06   -.42106E-04
   3  norm          3.0832        1.1257       -.16801E-07    .10080E-04
   4  Prefactor     .10000E-03    25.942        .15961E-06** at limit **
   5  Prefactor     .10000E-03    9.3108       -.13954E-06** at limit **
   6  Prefactor     22.818        15.643        .91695E-07    .46451E-04
   7  Prefactor     .10000E-03    2.8582       -.66443E-06** at limit **
   8  Prefactor     18.485        14.701       -.38183E-06   -.91700E-04
   9  Prefactor     .10000E-03    9.4654       -.22940E-06** at limit **
  10  norm          8.7298        1.9345       -.71437E-07   -.17456E-03
  11  Prefactor     4.5075        12.901        .11325E-07   -.26812E-04
  12  Prefactor     .10000E-03    10.196       -.15800E-06** at limit **
  13  Prefactor     21.858        21.489       -.36174E-06   -.64900E-04
  14  norm          5.3936        4.8688        .28743E-05   -.21693E-02
  15  norm          .10000E-03    4.3039        .18710E-06** at limit **
  16  Prefactor     15.893        17.152       -.26890E-05   -.13704E-03
  17  norm          .10000E-03    1.6198        .93855E-06** at limit **
  18  Prefactor     .10000E-03    5.1185       -.42233E-06** at limit **
  19  Prefactor     9.6502        31.966       -.12874E-04   -.43527E-03
  20  Prefactor     .10000E-03    11.317        .66017E-06** at limit **
  21  Prefactor     .10000E-03    1.7360       -.17569E-07** at limit **
  22  Normalizat    .83506        .19936        .26002E-05   -.20960E-03
  23  Prefactor     .95280        .93587E-01   -.72570E-06   -.14188E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 4.23363
  norm       = 3.08323
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.8179
  Prefactor  = 0.0001
  Prefactor  = 18.4852
  Prefactor  = 0.0001
  norm       = 8.72976
  Prefactor  = 4.50746
  Prefactor  = 0.0001
  Prefactor  = 21.8584
  norm       = 5.39363
  norm       = 0.0001
  Prefactor  = 15.8935
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 9.65017
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.835062
  Prefactor  = 0.952797
 **********
 **   18 **HESSE 
 **********

 FCN=   9031.753     FROM HESSE     STATUS=OK           364 CALLS     2848 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.0718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.2336        6.5907        .19581E-03   -1.5296    
   3  norm          3.0832        1.1254        .59093E-04   -1.5357    
   4  Prefactor     .10000E-03    25.957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.3320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     22.818        15.655        .83856E-04   -1.4752    
   7  Prefactor     .10000E-03    2.8935        .15739E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     18.485        14.706        .93151E-04   -1.4848    
   9  Prefactor     .10000E-03    9.4902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.7298        1.9343        .59367E-04   -1.5117    
  11  Prefactor     4.5075        12.879        .18962E-03   -1.5283    
  12  Prefactor     .10000E-03    10.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.858        21.484        .85670E-04   -1.4773    
  14  norm          5.3936        5.3316        .86515E-03   -1.5243    
  15  norm          .10000E-03    4.3115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     15.893        17.306        .10046E-03   -1.4910    
  17  norm          .10000E-03    2.8867        .22864E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.1240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.6502        35.144        .12886E-03   -1.5087    
  20  Prefactor     .10000E-03    11.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    1.7415        .12228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .83506        .22861        .37301E-03   -.98781    
  23  Prefactor     .95280        .10791        .17199E-03   -.94320    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.26392e-09
Minuit parameter uncertainties:
  1  5.36191e-05
  2  6.59181
  3  1.12536
  4  2.91094e-05
  5  2.90493e-05
  6  15.6578
  7  5.27609e-05
  8  14.7091
  9  3.67464e-05
  10  1.9343
  11  12.8867
  12  7.85972e-05
  13  21.4911
  14  5.33205
  15  9.77937e-06
  16  17.3112
  17  0.000133491
  18  3.39893e-05
  19  35.2194
  20  9.50424e-05
  21  1.71469e-06
  22  0.228872
  23  0.107939
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.589e+01  1.731e+01  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:  9.528e-01  1.079e-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.351e-01  2.289e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.44
Ra Dec: 351.170 31.257
Photon Index (Fixed Index): 2.88 +/- 0.00
Photon Flux (Fixed Index): 5.11e-08 +/- 5.56e-08
Energy Flux (Fixed Index): 1.09e-05 +/- 1.19e-05

TS (Fixed Index): 1.44
Ra Dec: 351.170 31.257
Photon Flux Upper Limit: 1.58e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.26e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/830465/likelihoodResults_323827201_324086401_4FGL_J2324.6+3115_daily_bin326.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) = 9031.5798791
delta logL = 0.173079762473

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9031.56693116
delta logL = 0.186027701546

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.284       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4084       1.0000          .0000       10.000    
     3 'Normalizat'    .85058       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94707       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=   9031.567     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      249 TOTAL
                     EDM=   .23E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.290        17.358        .93666E-04    .38840E-05
   2  Index         2.4088        .69895        .12177E-01   -.69516E-05
   3  Normalizat    .85059        .21825        .36993E-03   -.53474E-05
   4  Prefactor     .94707        .10674        .17242E-03    .19807E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.2905
  Index      = 2.40885
  Normalizat = 0.850586
  Prefactor  = 0.94707
 **********
 **   18 **HESSE 
 **********

 FCN=   9031.567     FROM HESSE     STATUS=OK            25 CALLS      274 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.290        17.454        .37466E-05   -1.4852    
   2  Index         2.4088        .70285        .48709E-03   -.54478    
   3  Normalizat    .85059        .21844        .14797E-04   -.98219    
   4  Prefactor     .94707        .10680        .34485E-04   -.94515    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2936e-12
Minuit parameter uncertainties:
  1  17.4587
  2  0.706049
  3  0.218663
  4  0.106819
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/830465': 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) = 9031.56693094
delta logL = 0.186027913696

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.829e+01  1.746e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.409e+00  7.060e-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:  9.471e-01  1.068e-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.506e-01  2.187e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.82
Ra Dec: 351.170 31.257
Photon Index (Free Index): 2.41 +/- 0.71
Photon Flux (Free Index): 4.03e-08 +/- 4.60e-08
Energy Flux (Free Index): 1.30e-05 +/- 1.28e-05

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/830465/cmap_HighResolution_323827201_324086401_4FGL_J2324.6+3115_daily_bin326.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.26e-02', comment='SUCCESS', photon_flux='5.11e-08', energy_flux2='1.30e-05', photon_flux_error='5.56e-08', dlogl='1.86e-01', energy_flux='1.09e-05', photon_flux2='4.03e-08', job_status='DONE', time_completed='2021-09-29 15:53:34.344145', photon_index_error2='0.71', photon_index2='2.41', ts='1.44', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.58e-07', energy_flux_error2='1.28e-05', EG='0.84', time_epoch_completed='1632956014.34', return_code='0', job_id='830465', GAL2='0.95', EG2='0.85', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='4.60e-08', ts2='1.82', photon_index='2.88' WHERE bin_id='326' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 15:53:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 830465: <4FGL_J2324.6+3115_daily_bin326> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin326> 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) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 15:40:25 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:25 2021
Terminated at Wed Sep 29 15:53:35 2021
Results reported at Wed Sep 29 15:53:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin326 351.17 31.2573 323827201 324086401 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 :                                   600.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            792 sec.

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

