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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin119
RA = 351.19, Dec = 8.0282
tmin = 270172801, tmax = 270432001
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='837771', job_status='RUN', time_executed='2021-09-29 16:05:37.872795', time_epoch_executed='1632956737.87' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='119'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/837771

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/837771/ft1_4FGL_J2324.7+0801_daily_bin119.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/837771/ft2_4FGL_J2324.7+0801_daily_bin119.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/837771/ft1_4FGL_J2324.7+0801_daily_bin119.fits outfile=/scratch/kocevski/837771/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin119.fits ra=351.19 dec=8.0282 rad=12.0 tmin=270172801.0 tmax=270432001.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.63
user 1.44
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/837771/ft2_4FGL_J2324.7+0801_daily_bin119.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/837771/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin119.fits evtable="EVENTS" outfile="/scratch/kocevski/837771/ft1_filtered_4FGL_J2324.7+0801_daily_bin119.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/837771/ft1_filtered_4FGL_J2324.7+0801_daily_bin119.fits" evtable="EVENTS" scfile=/scratch/kocevski/837771/ft2_4FGL_J2324.7+0801_daily_bin119.fits sctable="SC_DATA" outfile=/scratch/kocevski/837771/ltcube_270172801_270432001_4FGL_J2324.7+0801_daily_bin119.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/837771/ft2_4FGL_J2324.7+0801_daily_bin119.fits
.....................!
real 12.32
user 11.88
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/837771/ft1_filtered_4FGL_J2324.7+0801_daily_bin119.fits evtable="EVENTS" scfile=/scratch/kocevski/837771/ft2_4FGL_J2324.7+0801_daily_bin119.fits sctable="SC_DATA" expcube=/scratch/kocevski/837771/ltcube_270172801_270432001_4FGL_J2324.7+0801_daily_bin119.fits outfile=/scratch/kocevski/837771/expmap_270172801_270432001_4FGL_J2324.7+0801_daily_bin119.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/837771/ltcube_270172801_270432001_4FGL_J2324.7+0801_daily_bin119.fits
.....................!
real 191.52
user 185.28
sys 5.59

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/837771/ft1_filtered_4FGL_J2324.7+0801_daily_bin119.fits scfile=/scratch/kocevski/837771/ft2_4FGL_J2324.7+0801_daily_bin119.fits outfile=/scratch/kocevski/837771/cmap_270172801_270432001_4FGL_J2324.7+0801_daily_bin119.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.69
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/837771/ft1_filtered_4FGL_J2324.7+0801_daily_bin119.fits scfile=/scratch/kocevski/837771/ft2_4FGL_J2324.7+0801_daily_bin119.fits outfile=/scratch/kocevski/837771/cmap_HighResolution_270172801_270432001_4FGL_J2324.7+0801_daily_bin119.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/837771/ft1_filtered_4FGL_J2324.7+0801_daily_bin119.fits evtable="EVENTS" scfile=/scratch/kocevski/837771/ft2_4FGL_J2324.7+0801_daily_bin119.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/837771/Model_4FGL_J2324.7+0801_daily_bin119.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/837771/ft1_filtered_4FGL_J2324.7+0801_daily_bin119.fits.....................!
real 67.42
user 65.86
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.0434       1.0000         .10000E-03   10000.    
     3 'norm      '    .10095E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.3719       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .13856E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    10.871       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.4343       1.0000         .10000E-03   10000.    
    15 'Prefactor '    237.79       1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.292       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    27.899       1.0000         .10000E-03   10000.    
    19 'norm      '    16.029       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .29072       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10596E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0161       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .86269       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=   6164.918     FROM MIGRAD    STATUS=CONVERGED    590 CALLS     2906 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.1714       -.21125E-06** at limit **
   2  Prefactor     1.0433        .20798       -.11857E-08    .15939E-02
   3  norm          .10000E-03    16.203       -.65630E-06** at limit **
   4  Prefactor     .10000E-03    14.984       -.11079E-06** at limit **
   5  Prefactor     3.3717        3.8009        .17370E-07    .16671E-03
   6  Prefactor     .10000E-03    3.9476       -.11165E-06** at limit **
   7  Prefactor     .10000E-03    20.653       -.66901E-06** at limit **
   8  Prefactor     .10000E-03    1.8374       -.67321E-07** at limit **
   9  norm          .10000E-03    1.2040        .24872E-05** at limit **
  10  Prefactor     .10000E-03    4.5815       -.14764E-06** at limit **
  11  Prefactor     .10000E-03    50.130       -.12975E-05** at limit **
  12  Prefactor     .10000E-03    20.488       -.30213E-06** at limit **
  13  norm          10.871        8.1762       -.52276E-07    .71789E-04
  14  Prefactor     7.4324        7.6895       -.38210E-07    .14370E-03
  15  Prefactor     238.18        206.18       -.15314E-05   -.19358E-03
  16  Prefactor     15.321        15.643        .17187E-05    .31691E-03
  17  Prefactor     .10000E-03    8.9440       -.14428E-06** at limit **
  18  norm          27.895        17.764       -.58801E-07    .55456E-04
  19  norm          16.049        30.826        .26137E-05    .17788E-03
  20  Prefactor     .28605        14.312       -.10152E-04    .20049E-03
  21  Prefactor     .10001E-03    86.025       -.24794E-05** at limit **
  22  Prefactor     .10000E-03    7.0731       -.45788E-07** at limit **
  23  Prefactor     .10000E-03    2.6201       -.61618E-07** at limit **
  24  Normalizat    1.0163        .20308        .15843E-06    .20206E-03
  25  Prefactor     .86266        .12742        .68122E-06    .47616E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.04333
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 3.37166
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 10.871
  Prefactor  = 7.43241
  Prefactor  = 238.184
  Prefactor  = 15.321
  Prefactor  = 0.0001
  norm       = 27.895
  norm       = 16.0486
  Prefactor  = 0.28605
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.01632
  Prefactor  = 0.862662
 **********
 **   18 **HESSE 
 **********

 FCN=   6164.918     FROM HESSE     STATUS=OK           421 CALLS     3327 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.1802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.0433        .20796        .15445E-04   -1.5504    
   3  norm          .10000E-03    16.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.3717        3.7962        .15802E-03   -1.5341    
   6  Prefactor     .10000E-03    3.9631        .15238E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    20.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.8408        .10395E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.0369        .10491E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.6120        .16413E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    52.029        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    20.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.871        8.1555        .12151E-03   -1.5048    
  14  Prefactor     7.4324        7.6796        .14709E-03   -1.5163    
  15  Prefactor     238.18        209.50        .13127E-03   -1.2609    
  16  Prefactor     15.321        15.765        .10242E-03   -1.4925    
  17  Prefactor     .10000E-03    8.9590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          27.895        17.764        .75847E-04   -1.4651    
  19  norm          16.049        31.189        .10004E-03   -1.4907    
  20  Prefactor     .28605        20.237        .23710E-02   -1.5601    
  21  Prefactor     .10001E-03    87.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    7.0821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    2.6239        .12413E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0163        .24244        .29099E-03   -.92486    
  25  Prefactor     .86266        .15290        .20069E-03   -.97458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89552e-09
Minuit parameter uncertainties:
  1  4.27869e-05
  2  0.207962
  3  0.00019476
  4  4.50714e-05
  5  3.79644
  6  1.93355e-05
  7  0.000261924
  8  7.57769e-06
  9  5.9384e-06
  10  2.62133e-05
  11  0.00070825
  12  0.000105977
  13  8.15635
  14  7.68063
  15  210.166
  16  15.7691
  17  3.59314e-05
  18  17.7673
  19  31.2207
  20  4.81278
  21  0.00186664
  22  1.49509e-05
  23  8.36546e-06
  24  0.242701
  25  0.152975
Done.

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

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
509   Normalization:  1.016e+00  2.427e-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: 6.27e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/837771/likelihoodResults_270172801_270432001_4FGL_J2324.7+0801_daily_bin119.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) = 6164.91883213
delta logL = -0.00103274078629

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6164.91779981
delta logL = -4.18178387918e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10785E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1942       1.0000          .0000       10.000    
     3 'Normalizat'    1.0162       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86273       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6164.918     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      241 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10133E-03    29.161        .17163E-02** at limit **
   2  Index         2.1381        6.0151        .50000        .48043E-04
   3  Normalizat    1.0163        .12146E-01    .29099E-03   -.30083E-04
   4  Prefactor     .86266        .78287E-02    .20069E-03   -.78742E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101329
  Index      = 2.13806
  Normalizat = 1.01633
  Prefactor  = 0.86266
 **********
 **   18 **HESSE 
 **********

 FCN=   6164.918     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10133E-03    127.36        .34326E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1381        8.3670        .50000       -.60942    
   3  Normalizat    1.0163        .25951E-01    .11640E-04   -.92485    
   4  Prefactor     .86266        .16727E-01    .80275E-05   -.97458    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.13863e-08
Minuit parameter uncertainties:
  1  0.0260753
  2  225.715
  3  0.0259513
  4  0.0167266
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/837771': 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) = 6164.91779832
delta logL = 1.07196865429e-06

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.013e-04  2.608e-02  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.138e+00  2.257e+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:  8.627e-01  1.673e-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:  1.016e+00  2.595e-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/837771/cmap_HighResolution_270172801_270432001_4FGL_J2324.7+0801_daily_bin119.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.78e-03', job_status='DONE', photon_flux_upper_limit='6.27e-08', time_completed='2021-09-29 16:16:46.113036', job_id='837771', GAL2='0.86', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1632957406.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.07e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='119' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:16:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 837771: <4FGL_J2324.7+0801_daily_bin119> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin119 351.19 8.0282 270172801 270432001 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 :                                   666.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             378.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   678 sec.
    Turnaround time :                            680 sec.

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

