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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1383
RA = 351.19, Dec = 8.0282
tmin = 597801601, tmax = 598060801
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='843919', job_status='RUN', time_executed='2021-09-29 16:27:51.805992', time_epoch_executed='1632958071.81' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1383'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/843919

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/843919/ft1_4FGL_J2324.7+0801_daily_bin1383.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/843919/ft2_4FGL_J2324.7+0801_daily_bin1383.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/843919/ft1_4FGL_J2324.7+0801_daily_bin1383.fits outfile=/scratch/kocevski/843919/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1383.fits ra=351.19 dec=8.0282 rad=12.0 tmin=597801601.0 tmax=598060801.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.58
user 3.37
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/843919/ft2_4FGL_J2324.7+0801_daily_bin1383.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/843919/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1383.fits evtable="EVENTS" outfile="/scratch/kocevski/843919/ft1_filtered_4FGL_J2324.7+0801_daily_bin1383.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/843919/ft1_filtered_4FGL_J2324.7+0801_daily_bin1383.fits" evtable="EVENTS" scfile=/scratch/kocevski/843919/ft2_4FGL_J2324.7+0801_daily_bin1383.fits sctable="SC_DATA" outfile=/scratch/kocevski/843919/ltcube_597801601_598060801_4FGL_J2324.7+0801_daily_bin1383.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/843919/ft2_4FGL_J2324.7+0801_daily_bin1383.fits
.....................!
real 11.74
user 11.38
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/843919/ft1_filtered_4FGL_J2324.7+0801_daily_bin1383.fits evtable="EVENTS" scfile=/scratch/kocevski/843919/ft2_4FGL_J2324.7+0801_daily_bin1383.fits sctable="SC_DATA" expcube=/scratch/kocevski/843919/ltcube_597801601_598060801_4FGL_J2324.7+0801_daily_bin1383.fits outfile=/scratch/kocevski/843919/expmap_597801601_598060801_4FGL_J2324.7+0801_daily_bin1383.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/843919/ltcube_597801601_598060801_4FGL_J2324.7+0801_daily_bin1383.fits
.....................!
real 193.26
user 187.62
sys 5.27

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/843919/ft1_filtered_4FGL_J2324.7+0801_daily_bin1383.fits scfile=/scratch/kocevski/843919/ft2_4FGL_J2324.7+0801_daily_bin1383.fits outfile=/scratch/kocevski/843919/cmap_597801601_598060801_4FGL_J2324.7+0801_daily_bin1383.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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/843919/ft1_filtered_4FGL_J2324.7+0801_daily_bin1383.fits scfile=/scratch/kocevski/843919/ft2_4FGL_J2324.7+0801_daily_bin1383.fits outfile=/scratch/kocevski/843919/cmap_HighResolution_597801601_598060801_4FGL_J2324.7+0801_daily_bin1383.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.55
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/843919/ft1_filtered_4FGL_J2324.7+0801_daily_bin1383.fits evtable="EVENTS" scfile=/scratch/kocevski/843919/ft2_4FGL_J2324.7+0801_daily_bin1383.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/843919/Model_4FGL_J2324.7+0801_daily_bin1383.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/843919/ft1_filtered_4FGL_J2324.7+0801_daily_bin1383.fits.....................!
real 80.05
user 78.58
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10260       1.0000         .10000E-03   10000.    
     3 'norm      '    14.910       1.0000         .10000E-03   10000.    
     4 'Prefactor '    46.608       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.6877       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.456       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.743       1.0000         .10000E-03   10000.    
     9 'norm      '    2.5559       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.142       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    35.088       1.0000         .10000E-03   10000.    
    13 'norm      '    9.8430       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10288E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.8167       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.5392       1.0000         .10000E-03   10000.    
    18 'norm      '    18.182       1.0000         .10000E-03   10000.    
    19 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .16363E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .64827       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1314       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=   7545.315     FROM MIGRAD    STATUS=CONVERGED    556 CALLS     2911 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.594       -.91136E-05** at limit **
   2  Prefactor     .10267        .14536        .19923E-07    .47798E-03
   3  norm          14.911        15.754        .14137E-06   -.60885E-05
   4  Prefactor     46.611        38.348        .20968E-05    .16881E-04
   5  Prefactor     3.6868        6.1675        .21937E-06   -.10322E-02
   6  Prefactor     .10000E-03    3.9767        .65096E-07** at limit **
   7  Prefactor     15.455        20.106       -.88766E-06   -.12561E-04
   8  Prefactor     14.743        9.3523        .94474E-07   -.18789E-03
   9  norm          2.5560        .99173       -.12220E-07   -.14746E-03
  10  Prefactor     12.141        11.229       -.21629E-06    .21782E-04
  11  Prefactor     .10000E-03    7.7806        .44263E-06** at limit **
  12  Prefactor     35.096        31.627        .66359E-05    .41285E-04
  13  norm          9.8383        9.1982        .10937E-06    .11191E-03
  14  Prefactor     .10000E-03    7.3355       -.19503E-05** at limit **
  15  Prefactor     .10000E-03    51.622       -.12706E-05** at limit **
  16  Prefactor     5.8193        6.4871       -.37983E-06   -.19998E-03
  17  Prefactor     1.5369        10.175        .11488E-05   -.62086E-03
  18  norm          18.181        17.511        .87745E-07    .10259E-04
  19  norm          .10000E-03    15.248        .75048E-05** at limit **
  20  Prefactor     .10000E-03    2.1310        .25167E-07** at limit **
  21  Prefactor     .10000E-03    7.5578       -.10762E-05** at limit **
  22  Prefactor     .10000E-03    9.3519        .32516E-05** at limit **
  23  Prefactor     .10000E-03    6.5676        .10772E-05** at limit **
  24  Normalizat    .64835        .20060       -.97521E-06    .72774E-05
  25  Prefactor     1.1313        .12584       -.61757E-07   -.19611E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.10267
  norm       = 14.9108
  Prefactor  = 46.6106
  Prefactor  = 3.68676
  Prefactor  = 0.0001
  Prefactor  = 15.4553
  Prefactor  = 14.7427
  norm       = 2.55604
  Prefactor  = 12.1409
  Prefactor  = 0.0001
  Prefactor  = 35.0958
  norm       = 9.8383
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.81933
  Prefactor  = 1.53686
  norm       = 18.1815
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.648352
  Prefactor  = 1.13133
 **********
 **   18 **HESSE 
 **********

 FCN=   7545.315     FROM HESSE     STATUS=OK           433 CALLS     3344 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10267        .13861        .36786E-03   -1.5644    
   3  norm          14.911        15.760        .10373E-03   -1.4935    
   4  Prefactor     46.611        38.356        .58731E-04   -1.4341    
   5  Prefactor     3.6868        6.8776        .10516E-02   -1.5324    
   6  Prefactor     .10000E-03    3.9836        .16916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.455        20.106        .10188E-03   -1.4921    
   8  Prefactor     14.743        9.3613        .52156E-03   -1.4940    
   9  norm          2.5560        .98984        .52010E-04   -1.5388    
  10  Prefactor     12.141        11.216        .11496E-03   -1.5011    
  11  Prefactor     .10000E-03    7.7881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     35.096        31.625        .67653E-04   -1.4522    
  13  norm          9.8383        9.1801        .12772E-03   -1.5081    
  14  Prefactor     .10000E-03    7.4061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    51.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.8193        6.4051        .16652E-03   -1.5225    
  17  Prefactor     1.5369        31.102        .17186E-02   -1.5460    
  18  norm          18.181        17.514        .93929E-04   -1.4855    
  19  norm          .10000E-03    15.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.7853        .24170E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.5626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    9.3971        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    6.6120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .64835        .22070        .36960E-03   -1.0597    
  25  Prefactor     1.1313        .14216        .18647E-03   -.88471    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.33346e-09
Minuit parameter uncertainties:
  1  5.13641e-05
  2  0.138614
  3  15.7642
  4  38.3767
  5  6.87909
  6  9.49202e-07
  7  20.1151
  8  9.36219
  9  0.989845
  10  11.2178
  11  4.58977e-06
  12  31.6404
  13  9.18137
  14  5.4098e-06
  15  1.96987e-05
  16  6.40588
  17  13.8352
  18  17.5184
  19  5.73221e-05
  20  9.16854e-06
  21  7.82799e-06
  22  2.05485e-05
  23  9.05369e-06
  24  0.221003
  25  0.142207
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.214e+01  1.122e+01  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.131e+00  1.422e-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:  6.484e-01  2.210e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.81
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 4.37e-08 +/- 4.04e-08
Energy Flux (Fixed Index): 1.87e-05 +/- 1.72e-05

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

Saving results to:
/scratch/kocevski/843919/likelihoodResults_597801601_598060801_4FGL_J2324.7+0801_daily_bin1383.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) = 7545.11919776
delta logL = 0.195794884266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7545.10751813
delta logL = 0.207474512476

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.545       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8012       1.0000          .0000       10.000    
     3 'Normalizat'    .66072       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1251       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=   7545.108     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      283 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.546        16.407        .90596E-04   -.25311E-03
   2  Index         1.8009        .57001        .78384E-02   -.10820E-03
   3  Normalizat    .66072        .21225        .36637E-03    .84062E-04
   4  Prefactor     1.1251        .13929        .18688E-03    .21018E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.5455
  Index      = 1.80086
  Normalizat = 0.660716
  Prefactor  = 1.12508
 **********
 **   18 **HESSE 
 **********

 FCN=   7545.108     FROM HESSE     STATUS=OK            23 CALLS      306 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.546        16.183        .36239E-05   -1.4823    
   2  Index         1.8009        .56231        .31354E-03   -.69427    
   3  Normalizat    .66072        .21231        .14655E-04   -1.0546    
   4  Prefactor     1.1251        .13936        .37376E-04   -.88669    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33552e-10
Minuit parameter uncertainties:
  1  16.1865
  2  0.564341
  3  0.212578
  4  0.139402
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/843919': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7545.1075179
delta logL = 0.207474745226

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.955e+01  1.619e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  1.801e+00  5.643e-01  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.125e+00  1.394e-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:  6.607e-01  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.23
Ra Dec: 351.190 8.028
Photon Index (Free Index): 1.80 +/- 0.56
Photon Flux (Free Index): 3.34e-08 +/- 3.46e-08
Energy Flux (Free Index): 3.99e-05 +/- 5.24e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/843919/cmap_HighResolution_597801601_598060801_4FGL_J2324.7+0801_daily_bin1383.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.51e-03', comment='SUCCESS', photon_flux='4.37e-08', energy_flux2='3.99e-05', photon_flux_error='4.04e-08', dlogl='2.07e-01', energy_flux='1.87e-05', photon_flux2='3.34e-08', job_status='DONE', time_completed='2021-09-29 16:42:08.959500', photon_index_error2='0.56', photon_index2='1.80', ts='1.81', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='1.25e-07', energy_flux_error2='5.24e-05', EG='0.65', time_epoch_completed='1632958928.96', return_code='0', job_id='843919', GAL2='1.13', EG2='0.66', return_code2='0', energy_flux_error='1.72e-05', photon_flux_error2='3.46e-08', ts2='2.23', photon_index='2.23' WHERE bin_id='1383' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:42:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 843919: <4FGL_J2324.7+0801_daily_bin1383> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1383> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 16:25:54 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:25:55 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:55 2021
Terminated at Wed Sep 29 16:42:09 2021
Results reported at Wed Sep 29 16:42:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1383 351.19 8.0282 597801601 598060801 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 :                                   751.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             267.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   974 sec.
    Turnaround time :                            975 sec.

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

