/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 152 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 = 7403
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2324.6+3115_daily_bin121
RA = 351.17, Dec = 31.2573
tmin = 270691201, tmax = 270950401
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='829198', job_status='RUN', time_executed='2021-09-29 15:38:28.906239', time_epoch_executed='1632955108.91' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='121'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/829198

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/829198/ft1_4FGL_J2324.6+3115_daily_bin121.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/829198/ft2_4FGL_J2324.6+3115_daily_bin121.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/829198/ft1_4FGL_J2324.6+3115_daily_bin121.fits outfile=/scratch/kocevski/829198/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin121.fits ra=351.17 dec=31.2573 rad=12.0 tmin=270691201.0 tmax=270950401.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 1.62
user 1.45
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/829198/ft1_filtered_4FGL_J2324.6+3115_daily_bin121.fits" evtable="EVENTS" scfile=/scratch/kocevski/829198/ft2_4FGL_J2324.6+3115_daily_bin121.fits sctable="SC_DATA" outfile=/scratch/kocevski/829198/ltcube_270691201_270950401_4FGL_J2324.6+3115_daily_bin121.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/829198/ft2_4FGL_J2324.6+3115_daily_bin121.fits
.....................!
real 12.19
user 11.84
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/829198/ft1_filtered_4FGL_J2324.6+3115_daily_bin121.fits evtable="EVENTS" scfile=/scratch/kocevski/829198/ft2_4FGL_J2324.6+3115_daily_bin121.fits sctable="SC_DATA" expcube=/scratch/kocevski/829198/ltcube_270691201_270950401_4FGL_J2324.6+3115_daily_bin121.fits outfile=/scratch/kocevski/829198/expmap_270691201_270950401_4FGL_J2324.6+3115_daily_bin121.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/829198/ltcube_270691201_270950401_4FGL_J2324.6+3115_daily_bin121.fits
.....................!
real 190.10
user 185.95
sys 3.77

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/829198/ft1_filtered_4FGL_J2324.6+3115_daily_bin121.fits scfile=/scratch/kocevski/829198/ft2_4FGL_J2324.6+3115_daily_bin121.fits outfile=/scratch/kocevski/829198/cmap_270691201_270950401_4FGL_J2324.6+3115_daily_bin121.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/829198/ft1_filtered_4FGL_J2324.6+3115_daily_bin121.fits scfile=/scratch/kocevski/829198/ft2_4FGL_J2324.6+3115_daily_bin121.fits outfile=/scratch/kocevski/829198/cmap_HighResolution_270691201_270950401_4FGL_J2324.6+3115_daily_bin121.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.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.5492       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .82508       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .42996E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.946       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.2721       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.1243       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11744E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.756       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.2514       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.597       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .13357E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11184E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .69935       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0326       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=   7702.810     FROM MIGRAD    STATUS=CONVERGED    913 CALLS     2621 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.5591        15.794        .14596E-03   -.78901E-04
   2  Prefactor     .10000E-03    2.0906        .12329E-02** at limit **
   3  norm          .82567        .99403        .96708E-03    .44631E-02
   4  Prefactor     .10000E-03    130.64        .18142E-02** at limit **
   5  Prefactor     .10000E-03    24.958        .10342    ** at limit **
   6  Prefactor     16.952        20.627        .97294E-04    .14723E-04
   7  Prefactor     .10000E-03    4.5523        .18142E-02** at limit **
   8  Prefactor     7.2730        9.5133        .14874E-03    .11542E-04
   9  Prefactor     .10000E-03    9.1581        .18142E-02** at limit **
  10  norm          1.1242        .99022        .80213E-04    .11920E-03
  11  Prefactor     .10000E-03    18.159        .36285E-03** at limit **
  12  Prefactor     .10000E-03    7.2326        .18142E-02** at limit **
  13  Prefactor     .10000E-03    5.0308        .18142E-02** at limit **
  14  norm          .10000E-03    1.3822        .10040E-02** at limit **
  15  norm          10.757        8.7170        .12216E-03   -.67936E-05
  16  Prefactor     .10000E-03    3.0984        .15075E-02** at limit **
  17  norm          3.2515        2.6972        .12607E-03    .12454E-03
  18  Prefactor     .10000E-03    15.179        .18142E-02** at limit **
  19  Prefactor     19.619        32.782        .90475E-04   -.20482E-04
  20  Prefactor     .10000E-03    135.36        .18142E-02** at limit **
  21  Prefactor     .10001E-03    39.038        .36380E-02** at limit **
  22  Normalizat    .69970        .21538        .35997E-03   -.10062E-03
  23  Prefactor     1.0324        .11225        .15731E-03   -.11690E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.55911
  Prefactor  = 0.0001
  norm       = 0.825675
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 16.9523
  Prefactor  = 0.0001
  Prefactor  = 7.27304
  Prefactor  = 0.0001
  norm       = 1.12421
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 10.7568
  Prefactor  = 0.0001
  norm       = 3.25154
  Prefactor  = 0.0001
  Prefactor  = 19.6193
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  Normalizat = 0.699703
  Prefactor  = 1.03243
 **********
 **   18 **HESSE 
 **********

 FCN=   7702.810     FROM HESSE     STATUS=OK           358 CALLS     2979 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.5591        15.752        .58384E-05   -1.5158    
   2  Prefactor     .10000E-03    2.0909        .24658E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .82567        .99236        .19342E-03   -1.5526    
   4  Prefactor     .10000E-03    130.67        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    23.319        .10795       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.952        20.626        .38918E-05   -1.4884    
   7  Prefactor     .10000E-03    4.5545        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.2730        9.5130        .59495E-05   -1.5169    
   9  Prefactor     .10000E-03    9.1586        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1242        .99019        .32085E-05   -1.5496    
  11  Prefactor     .10000E-03    18.159        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.2357        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.0309        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.3823        .20080E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.757        8.7171        .48864E-05   -1.5052    
  16  Prefactor     .10000E-03    3.0985        .30149E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.2515        2.6972        .50427E-05   -1.5347    
  18  Prefactor     .10000E-03    15.187        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     19.619        32.791        .36190E-05   -1.4822    
  20  Prefactor     .10000E-03    135.40        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10001E-03    39.936        .14552E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .69970        .21548        .14399E-04   -1.0390    
  23  Prefactor     1.0324        .11231        .31462E-04   -.91656    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56552e-10
Minuit parameter uncertainties:
  1  15.7608
  2  4.08218e-06
  3  0.992376
  4  0.000343772
  5  0.000242139
  6  20.6349
  7  1.23205e-06
  8  9.51495
  9  5.29477e-06
  10  0.990209
  11  2.2712e-05
  12  1.3738e-05
  13  2.00211e-06
  14  1.94567e-06
  15  8.71808
  16  3.20675e-06
  17  2.69728
  18  2.9868e-05
  19  32.8213
  20  2.33192e-05
  21  0.00138852
  22  0.215739
  23  0.112335
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  3.207e-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.032e+00  1.123e-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:  6.997e-01  2.157e-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: 5.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/829198/likelihoodResults_270691201_270950401_4FGL_J2324.6+3115_daily_bin121.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) = 7702.81161625
delta logL = -0.00153378147206

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7702.81008227
delta logL = 1.97956978809e-07

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 'Index     '    2.8574       1.0000          .0000       10.000    
     3 'Normalizat'    .69972       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0324       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=   7702.810     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      256 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    43.211        .15280E-01** at limit **
   2  Index         2.1191        5.3874        .50000       -.86970E-07
   3  Normalizat    .69970        .15072E-01    .35997E-03    .12873E-03
   4  Prefactor     1.0324        .79323E-02    .15731E-03    .37444E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.11912
  Normalizat = 0.699704
  Prefactor  = 1.03243
 **********
 **   18 **HESSE 
 **********

 FCN=   7702.810     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      285 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    323.45        .17915E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1191        8.5775        .50000       -.61404    
   3  Normalizat    .69970        .44719E-01    .14399E-04   -1.0390    
   4  Prefactor     1.0324        .23536E-01    .31462E-04   -.91656    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.82723e-11
Minuit parameter uncertainties:
  1  0.000140894
  2  866.32
  3  0.0447215
  4  0.0235363
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/829198': 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) = 7702.81007767
delta logL = 4.80144808535e-06

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  1.409e-04  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.119e+00  8.663e+02  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.032e+00  2.354e-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:  6.997e-01  4.472e-02  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/829198/cmap_HighResolution_270691201_270950401_4FGL_J2324.6+3115_daily_bin121.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.04e-03', job_status='DONE', photon_flux_upper_limit='5.09e-08', time_completed='2021-09-29 15:50:50.985839', job_id='829198', GAL2='1.03', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1632955850.99', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='4.80e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='121' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 15:50:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 829198: <4FGL_J2324.6+3115_daily_bin121> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin121> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 15:35:46 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 15:35:47 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:35:47 2021
Terminated at Wed Sep 29 15:50:51 2021
Results reported at Wed Sep 29 15:50:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin121 351.17 31.2573 270691201 270950401 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 :                                   741.03 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             314.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            905 sec.

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

