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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1230
RA = 351.19, Dec = 8.0282
tmin = 558144001, tmax = 558403201
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='843699', job_status='RUN', time_executed='2021-09-29 16:28:07.242557', time_epoch_executed='1632958087.24' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1230'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/843699

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/843699/ft1_4FGL_J2324.7+0801_daily_bin1230.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/843699/ft2_4FGL_J2324.7+0801_daily_bin1230.fits


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

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

Done.
real 4.25
user 4.02
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/843699/ft1_filtered_4FGL_J2324.7+0801_daily_bin1230.fits" evtable="EVENTS" scfile=/scratch/kocevski/843699/ft2_4FGL_J2324.7+0801_daily_bin1230.fits sctable="SC_DATA" outfile=/scratch/kocevski/843699/ltcube_558144001_558403201_4FGL_J2324.7+0801_daily_bin1230.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/843699/ft2_4FGL_J2324.7+0801_daily_bin1230.fits
.....................!
real 12.88
user 12.30
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/843699/ft1_filtered_4FGL_J2324.7+0801_daily_bin1230.fits evtable="EVENTS" scfile=/scratch/kocevski/843699/ft2_4FGL_J2324.7+0801_daily_bin1230.fits sctable="SC_DATA" expcube=/scratch/kocevski/843699/ltcube_558144001_558403201_4FGL_J2324.7+0801_daily_bin1230.fits outfile=/scratch/kocevski/843699/expmap_558144001_558403201_4FGL_J2324.7+0801_daily_bin1230.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/843699/ltcube_558144001_558403201_4FGL_J2324.7+0801_daily_bin1230.fits
.....................!
real 191.23
user 185.09
sys 5.83

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/843699/ft1_filtered_4FGL_J2324.7+0801_daily_bin1230.fits scfile=/scratch/kocevski/843699/ft2_4FGL_J2324.7+0801_daily_bin1230.fits outfile=/scratch/kocevski/843699/cmap_558144001_558403201_4FGL_J2324.7+0801_daily_bin1230.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/843699/ft1_filtered_4FGL_J2324.7+0801_daily_bin1230.fits scfile=/scratch/kocevski/843699/ft2_4FGL_J2324.7+0801_daily_bin1230.fits outfile=/scratch/kocevski/843699/cmap_HighResolution_558144001_558403201_4FGL_J2324.7+0801_daily_bin1230.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/843699/ft1_filtered_4FGL_J2324.7+0801_daily_bin1230.fits evtable="EVENTS" scfile=/scratch/kocevski/843699/ft2_4FGL_J2324.7+0801_daily_bin1230.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/843699/Model_4FGL_J2324.7+0801_daily_bin1230.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/843699/ft1_filtered_4FGL_J2324.7+0801_daily_bin1230.fits.....................!
real 61.16
user 59.92
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.3606       1.0000         .10000E-03   10000.    
     3 'norm      '    1.8493       1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.964       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .56708E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.2926       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.4583       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    82.484       1.0000         .10000E-03   10000.    
    13 'norm      '    .10101E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.519       1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.094       1.0000         .10000E-03   10000.    
    18 'norm      '    8.2257       1.0000         .10000E-03   10000.    
    19 'norm      '    .45795E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .47920E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .92486       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .98245       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=   5440.500     FROM MIGRAD    STATUS=CONVERGED    623 CALLS     2952 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.605       -.52902E-06** at limit **
   2  Prefactor     1.3609        .35217       -.26436E-07    .61642E-03
   3  norm          1.8500        14.002       -.48386E-05   -.28070E-03
   4  Prefactor     23.990        49.828       -.20307E-04    .63137E-05
   5  Prefactor     .18077E-03    6.0474       -.33134E-06** at limit **
   6  Prefactor     .10000E-03    12.713       -.91476E-07** at limit **
   7  Prefactor     7.2849        23.300        .76764E-05    .11875E-04
   8  Prefactor     .10000E-03    4.8074        .42511E-07** at limit **
   9  norm          1.4584        .89304       -.51193E-07    .12122E-03
  10  Prefactor     .10000E-03    23.755        .81924E-06** at limit **
  11  Prefactor     .10000E-03    17.079       -.17847E-06** at limit **
  12  Prefactor     82.520        57.632       -.65136E-05    .25597E-04
  13  norm          .10000E-03    9.8363        .30766E-07** at limit **
  14  Prefactor     .10000E-03    7.9546        .11363E-07** at limit **
  15  Prefactor     .10000E-03    73.574       -.96599E-07** at limit **
  16  Prefactor     11.483        14.387        .51872E-07    .21400E-03
  17  Prefactor     23.096        28.777       -.24936E-05    .24692E-05
  18  norm          8.2257        17.383       -.17698E-06   -.16039E-04
  19  norm          .10000E-03    18.001       -.30895E-06** at limit **
  20  Prefactor     .10000E-03    2.8528       -.28587E-06** at limit **
  21  Prefactor     .10000E-03    24.952       -.10685E-06** at limit **
  22  Prefactor     .10000E-03    11.534        .46746E-07** at limit **
  23  Prefactor     .10000E-03    10.219        .13498E-06** at limit **
  24  Normalizat    .92498        .25760        .41766E-05    .25808E-04
  25  Prefactor     .98242        .14911        .14977E-06    .19811E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.36086
  norm       = 1.84997
  Prefactor  = 23.9896
  Prefactor  = 0.00018077
  Prefactor  = 0.0001
  Prefactor  = 7.28492
  Prefactor  = 0.0001
  norm       = 1.45838
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 82.5196
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.4832
  Prefactor  = 23.0961
  norm       = 8.22569
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.92498
  Prefactor  = 0.982421
 **********
 **   18 **HESSE 
 **********

 FCN=   5440.500     FROM HESSE     STATUS=OK           433 CALLS     3385 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.3609        .35141        .21175E-04   -1.5475    
   3  norm          1.8500        14.757        .30660E-03   -1.5436    
   4  Prefactor     23.990        49.658        .81826E-04   -1.4728    
   5  Prefactor     .18077E-03    9.2923        .63430E-01   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.2849        23.260        .14853E-03   -1.5168    
   8  Prefactor     .10000E-03    4.8099        .15795E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.4584        .88339        .52007E-04   -1.5466    
  10  Prefactor     .10000E-03    24.394        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    17.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     82.520        57.463        .44226E-04   -1.3889    
  13  norm          .10000E-03    9.9204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.0565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    73.579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.483        11.260        .11804E-03   -1.5030    
  17  Prefactor     23.096        28.769        .83352E-04   -1.4746    
  18  norm          8.2257        17.381        .13979E-03   -1.5134    
  19  norm          .10000E-03    111.23        .49755E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    17.357        .20938E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    25.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    11.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    10.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .92498        .30568        .33628E-03   -.95588    
  25  Prefactor     .98242        .17912        .20273E-03   -.93318    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.73605e-10
Minuit parameter uncertainties:
  1  7.17938e-06
  2  0.351415
  3  10.4531
  4  49.7439
  5  0.0548004
  6  2.299e-05
  7  23.2893
  8  1.88296e-06
  9  0.883394
  10  0.000102069
  11  9.16459e-06
  12  57.5021
  13  1.5008e-05
  14  6.38214e-06
  15  6.61989e-06
  16  11.2621
  17  28.7861
  18  17.3915
  19  0.00103581
  20  8.12549e-05
  21  1.35635e-05
  22  1.42185e-05
  23  5.19259e-06
  24  0.306258
  25  0.179227
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.000e-04  1.021e-04  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:  9.824e-01  1.792e-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:  9.250e-01  3.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/843699/likelihoodResults_558144001_558403201_4FGL_J2324.7+0801_daily_bin1230.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) = 5440.50038152
delta logL = -0.0001955570051

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5440.50018589
delta logL = 7.031030691e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2597       1.0000          .0000       10.000    
     3 'Normalizat'    .92497       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98242       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=   5440.500     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      221 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.632        .90712E-02** at limit **
   2  Index         2.2876        8.2557        .50000       -.76780E-05
   3  Normalizat    .92498        .40890E-02    .75983E-01    .10567E-04
   4  Prefactor     .98242        .25463E-02    .46047E-01   -.33399E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.28757
  Normalizat = 0.924983
  Prefactor  = 0.982419
 **********
 **   18 **HESSE 
 **********

 FCN=   5440.500     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      254 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    398.45        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2876        5.8859        .50000       -.57339    
   3  Normalizat    .92498        .23960E-01    .33628E-03   -.95588    
   4  Prefactor     .98242        .14944E-01    .20273E-03   -.93318    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.74131e-07
Minuit parameter uncertainties:
  1  0.000729528
  2  235.909
  3  0.0239602
  4  0.0149441
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/843699': 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) = 5440.50018583
delta logL = 1.35078153107e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  9.824e-01  1.494e-02  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  9.250e-01  2.396e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.190 8.028

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/843699/cmap_HighResolution_558144001_558403201_4FGL_J2324.7+0801_daily_bin1230.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.11e-03', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2021-09-29 16:38:32.866664', job_id='843699', GAL2='0.98', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1632958712.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.35e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1230' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:38:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 843699: <4FGL_J2324.7+0801_daily_bin1230> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1230> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 16:25:35 2021
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:25:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 16:25:36 2021
Terminated at Wed Sep 29 16:38:33 2021
Results reported at Wed Sep 29 16:38:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1230 351.19 8.0282 558144001 558403201 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 :                                   622.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   777 sec.
    Turnaround time :                            778 sec.

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

