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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin356
RA = 351.19, Dec = 8.0282
tmin = 331603201, tmax = 331862401
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='838152', job_status='RUN', time_executed='2021-09-29 16:06:22.908947', time_epoch_executed='1632956782.91' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='356'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/838152

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/838152/ft1_4FGL_J2324.7+0801_daily_bin356.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/838152/ft2_4FGL_J2324.7+0801_daily_bin356.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/838152/ft1_4FGL_J2324.7+0801_daily_bin356.fits outfile=/scratch/kocevski/838152/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin356.fits ra=351.19 dec=8.0282 rad=12.0 tmin=331603201.0 tmax=331862401.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.29
user 3.06
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/838152/ft2_4FGL_J2324.7+0801_daily_bin356.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/838152/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin356.fits evtable="EVENTS" outfile="/scratch/kocevski/838152/ft1_filtered_4FGL_J2324.7+0801_daily_bin356.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.46
user 0.32
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/838152/ft1_filtered_4FGL_J2324.7+0801_daily_bin356.fits" evtable="EVENTS" scfile=/scratch/kocevski/838152/ft2_4FGL_J2324.7+0801_daily_bin356.fits sctable="SC_DATA" outfile=/scratch/kocevski/838152/ltcube_331603201_331862401_4FGL_J2324.7+0801_daily_bin356.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/838152/ft2_4FGL_J2324.7+0801_daily_bin356.fits
.....................!
real 11.92
user 11.58
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/838152/ft1_filtered_4FGL_J2324.7+0801_daily_bin356.fits evtable="EVENTS" scfile=/scratch/kocevski/838152/ft2_4FGL_J2324.7+0801_daily_bin356.fits sctable="SC_DATA" expcube=/scratch/kocevski/838152/ltcube_331603201_331862401_4FGL_J2324.7+0801_daily_bin356.fits outfile=/scratch/kocevski/838152/expmap_331603201_331862401_4FGL_J2324.7+0801_daily_bin356.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/838152/ltcube_331603201_331862401_4FGL_J2324.7+0801_daily_bin356.fits
.....................!
real 190.91
user 185.70
sys 4.86

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/838152/ft1_filtered_4FGL_J2324.7+0801_daily_bin356.fits scfile=/scratch/kocevski/838152/ft2_4FGL_J2324.7+0801_daily_bin356.fits outfile=/scratch/kocevski/838152/cmap_331603201_331862401_4FGL_J2324.7+0801_daily_bin356.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.65
user 0.37
sys 0.28

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/838152/ft1_filtered_4FGL_J2324.7+0801_daily_bin356.fits scfile=/scratch/kocevski/838152/ft2_4FGL_J2324.7+0801_daily_bin356.fits outfile=/scratch/kocevski/838152/cmap_HighResolution_331603201_331862401_4FGL_J2324.7+0801_daily_bin356.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/838152/ft1_filtered_4FGL_J2324.7+0801_daily_bin356.fits evtable="EVENTS" scfile=/scratch/kocevski/838152/ft2_4FGL_J2324.7+0801_daily_bin356.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/838152/Model_4FGL_J2324.7+0801_daily_bin356.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/838152/ft1_filtered_4FGL_J2324.7+0801_daily_bin356.fits.....................!
real 79.38
user 78.03
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10458E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .80209       1.0000         .10000E-03   10000.    
     3 'norm      '    7.8426       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.7356       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.1041       1.0000         .10000E-03   10000.    
     9 'norm      '    .53641E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.5678       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.2259       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.689       1.0000         .10000E-03   10000.    
    13 'norm      '    .10190E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.0603       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    27.258       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .73672E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    74.911       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.1725       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .34917       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2178       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=   7618.013     FROM MIGRAD    STATUS=CONVERGED    576 CALLS     3014 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10390E-01    12.638       -.20375E-06    .95086E-04
   2  Prefactor     .80207        .19148        .83494E-08    .12671E-02
   3  norm          7.8383        15.817        .13521E-05    .28540E-04
   4  Prefactor     7.7356        27.915        .13181E-05    .15881E-04
   5  Prefactor     .10000E-03    3.1286        .15245E-06** at limit **
   6  Prefactor     .10000E-03    5.2877        .16108E-06** at limit **
   7  Prefactor     .10000E-03    5.2463       -.23361E-07** at limit **
   8  Prefactor     9.1084        10.249        .74109E-06    .72440E-04
   9  norm          .53053E-01    .37911        .22622E-06   -.40329E-03
  10  Prefactor     8.5683        9.7806       -.42944E-06    .46963E-04
  11  Prefactor     8.2047        23.184       -.11816E-05   -.42782E-04
  12  Prefactor     13.628        42.077       -.13005E-04   -.20069E-03
  13  norm          .10000E-03    10.604       -.21020E-05** at limit **
  14  Prefactor     6.0601        7.5454        .51639E-05   -.68862E-03
  15  Prefactor     .10000E-03    79.127        .13193E-05** at limit **
  16  Prefactor     .10000E-03    11.101       -.34806E-06** at limit **
  17  Prefactor     .10000E-03    10.025        .77498E-07** at limit **
  18  norm          27.258        14.613       -.14746E-06    .33624E-04
  19  norm          .10000E-03    9.6768       -.41938E-06** at limit **
  20  Prefactor     .10001E-03    1.8078        .47221E-06** at limit **
  21  Prefactor     74.900        42.665        .56399E-06   -.10164E-03
  22  Prefactor     .10000E-03    14.672        .73487E-07** at limit **
  23  Prefactor     9.1722        7.6618        .20913E-06    .26419E-04
  24  Normalizat    .34934        .21946       -.93873E-05   -.57164E-04
  25  Prefactor     1.2177        .13009        .22748E-05   -.75724E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.01039
  Prefactor  = 0.802075
  norm       = 7.83833
  Prefactor  = 7.73562
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.10843
  norm       = 0.0530528
  Prefactor  = 8.56833
  Prefactor  = 8.20471
  Prefactor  = 13.6277
  norm       = 0.000100002
  Prefactor  = 6.06011
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 27.2582
  norm       = 0.0001
  Prefactor  = 0.000100012
  Prefactor  = 74.9
  Prefactor  = 0.0001
  Prefactor  = 9.17222
  Normalizat = 0.349339
  Prefactor  = 1.21769
 **********
 **   18 **HESSE 
 **********

 FCN=   7618.013     FROM HESSE     STATUS=OK           439 CALLS     3453 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10390E-01    15.074        .98259E-01   -1.5688    
   2  Prefactor     .80207        .19115        .17496E-04   -1.5529    
   3  norm          7.8383        15.798        .14318E-03   -1.5148    
   4  Prefactor     7.7356        27.916        .14418E-03   -1.5152    
   5  Prefactor     .10000E-03    3.1468        .15071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.3165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.2532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.1084        10.125        .13283E-03   -1.5104    
   9  norm          .53053E-01    .87313        .10343E-02   -1.5662    
  10  Prefactor     8.5683        9.7264        .13695E-03   -1.5122    
  11  Prefactor     8.2047        22.965        .13978E-03   -1.5135    
  12  Prefactor     13.628        43.981        .10826E-03   -1.4969    
  13  norm          .10000E-03    11.020        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.0601        7.8272        .81548E-03   -1.5216    
  15  Prefactor     .10000E-03    79.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          27.258        14.598        .76732E-04   -1.4663    
  19  norm          .10000E-03    9.6906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10001E-03    16.128        .22169E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     74.900        42.393        .46391E-04   -1.3975    
  22  Prefactor     .10000E-03    14.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     9.1722        7.6527        .13233E-03   -1.5102    
  24  Normalizat    .34934        .21162        .46381E-03   -1.2001    
  25  Prefactor     1.2177        .13035        .17146E-03   -.85789    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.60201e-08
Minuit parameter uncertainties:
  1  0.787879
  2  0.191152
  3  15.8059
  4  27.9635
  5  2.93114e-06
  6  6.244e-06
  7  1.30933e-05
  8  10.127
  9  0.430053
  10  9.72816
  11  22.9899
  12  44.0862
  13  0.000326361
  14  7.82854
  15  0.000251702
  16  0.000146102
  17  1.01818e-05
  18  14.5999
  19  1.36711e-05
  20  0.00087851
  21  42.4104
  22  5.25855e-06
  23  7.65353
  24  0.212109
  25  0.130386
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  8.568e+00  9.728e+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:  1.218e+00  1.304e-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:  3.493e-01  2.121e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.20
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 3.08e-08 +/- 3.50e-08
Energy Flux (Fixed Index): 1.32e-05 +/- 1.50e-05

TS (Fixed Index): 1.20
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/838152/likelihoodResults_331603201_331862401_4FGL_J2324.7+0801_daily_bin356.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) = 7616.9287627
delta logL = 1.08466928716

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7616.74965208
delta logL = 1.26377990726

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40185E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    5.9936       1.0000          .0000       10.000    
     3 'Normalizat'    .23709       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2723       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=   7616.750     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      376 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40201E-02    .30243E-01    .97443E-03    .77185E-01
   2  Index         5.9938        1.7145        .88954E-01    .58949E-03
   3  Normalizat    .23728        .43050E-01    .12668        .32292E-03
   4  Prefactor     1.2723        .28872E-01    .33110E-01    .48172E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00402008
  Index      = 5.99376
  Normalizat = 0.23728
  Prefactor  = 1.27226
 **********
 **   18 **HESSE 
 **********

 FCN=   7616.750     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      409 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40201E-02    .71246E-01    .33533E-04   -1.5695    
   2  Index         5.9938        3.0202        .34456E-02    .20008    
   3  Normalizat    .23728        .15701        .55917E-03   -1.2680    
   4  Prefactor     1.2723        .10311        .16814E-03   -.84136    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.23475e-09
Minuit parameter uncertainties:
  1  0.0334241
  2  3.2542
  3  0.157301
  4  0.103123
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/838152': 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) = 7616.74965015
delta logL = 1.26378184024

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  4.020e-03  3.342e-02  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  5.994e+00  3.254e+00  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:  1.272e+00  1.031e-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:  2.373e-01  1.573e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.12
Ra Dec: 351.190 8.028
Photon Index (Free Index): 5.99 +/- 3.25
Photon Flux (Free Index): 1.06e-07 +/- 6.14e-08
Energy Flux (Free Index): 1.32e-05 +/- 8.15e-06

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/838152/cmap_HighResolution_331603201_331862401_4FGL_J2324.7+0801_daily_bin356.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.27e-03', comment='SUCCESS', photon_flux='3.08e-08', energy_flux2='1.32e-05', photon_flux_error='3.50e-08', dlogl='1.26e+00', energy_flux='1.32e-05', photon_flux2='1.06e-07', job_status='DONE', time_completed='2021-09-29 16:19:06.462730', photon_index_error2='3.25', photon_index2='5.99', ts='1.20', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', photon_flux_upper_limit='1.08e-07', energy_flux_error2='8.15e-06', EG='0.35', time_epoch_completed='1632957546.46', return_code='0', job_id='838152', GAL2='1.27', EG2='0.24', return_code2='102', energy_flux_error='1.50e-05', photon_flux_error2='6.14e-08', ts2='4.12', photon_index='2.23' WHERE bin_id='356' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:19:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 838152: <4FGL_J2324.7+0801_daily_bin356> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin356> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 16:05:59 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:06:00 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:06:00 2021
Terminated at Wed Sep 29 16:19:06 2021
Results reported at Wed Sep 29 16:19:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin356 351.19 8.0282 331603201 331862401 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 :                                   758.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            787 sec.

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

