/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 145 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 = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1487
RA = 351.19, Dec = 8.0282
tmin = 624758401, tmax = 625017601
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='844072', job_status='RUN', time_executed='2021-09-29 16:28:42.031605', time_epoch_executed='1632958122.03' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1487'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/844072

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/844072/ft1_4FGL_J2324.7+0801_daily_bin1487.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/844072/ft2_4FGL_J2324.7+0801_daily_bin1487.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/844072/ft1_4FGL_J2324.7+0801_daily_bin1487.fits outfile=/scratch/kocevski/844072/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1487.fits ra=351.19 dec=8.0282 rad=12.0 tmin=624758401.0 tmax=625017601.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.50
user 3.25
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/844072/ft2_4FGL_J2324.7+0801_daily_bin1487.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/844072/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1487.fits evtable="EVENTS" outfile="/scratch/kocevski/844072/ft1_filtered_4FGL_J2324.7+0801_daily_bin1487.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/844072/ft1_filtered_4FGL_J2324.7+0801_daily_bin1487.fits" evtable="EVENTS" scfile=/scratch/kocevski/844072/ft2_4FGL_J2324.7+0801_daily_bin1487.fits sctable="SC_DATA" outfile=/scratch/kocevski/844072/ltcube_624758401_625017601_4FGL_J2324.7+0801_daily_bin1487.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/844072/ft2_4FGL_J2324.7+0801_daily_bin1487.fits
.....................!
real 12.14
user 11.77
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/844072/ft1_filtered_4FGL_J2324.7+0801_daily_bin1487.fits evtable="EVENTS" scfile=/scratch/kocevski/844072/ft2_4FGL_J2324.7+0801_daily_bin1487.fits sctable="SC_DATA" expcube=/scratch/kocevski/844072/ltcube_624758401_625017601_4FGL_J2324.7+0801_daily_bin1487.fits outfile=/scratch/kocevski/844072/expmap_624758401_625017601_4FGL_J2324.7+0801_daily_bin1487.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/844072/ltcube_624758401_625017601_4FGL_J2324.7+0801_daily_bin1487.fits
.....................!
real 193.38
user 188.07
sys 4.91

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/844072/ft1_filtered_4FGL_J2324.7+0801_daily_bin1487.fits scfile=/scratch/kocevski/844072/ft2_4FGL_J2324.7+0801_daily_bin1487.fits outfile=/scratch/kocevski/844072/cmap_624758401_625017601_4FGL_J2324.7+0801_daily_bin1487.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/844072/ft1_filtered_4FGL_J2324.7+0801_daily_bin1487.fits scfile=/scratch/kocevski/844072/ft2_4FGL_J2324.7+0801_daily_bin1487.fits outfile=/scratch/kocevski/844072/cmap_HighResolution_624758401_625017601_4FGL_J2324.7+0801_daily_bin1487.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/844072/ft1_filtered_4FGL_J2324.7+0801_daily_bin1487.fits evtable="EVENTS" scfile=/scratch/kocevski/844072/ft2_4FGL_J2324.7+0801_daily_bin1487.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/844072/Model_4FGL_J2324.7+0801_daily_bin1487.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/844072/ft1_filtered_4FGL_J2324.7+0801_daily_bin1487.fits.....................!
real 69.99
user 68.55
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .26135       1.0000         .10000E-03   10000.    
     3 'norm      '    111.39       1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.777       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.7774       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.5985       1.0000         .10000E-03   10000.    
     9 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.294       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13498E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .42037E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    118.43       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.4489       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .24013E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    65.504       1.0000         .10000E-03   10000.    
    22 'Prefactor '    16.760       1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.2662       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .60545       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0283       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=   6471.102     FROM MIGRAD    STATUS=CONVERGED    588 CALLS     2950 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.2232       -.41890E-07** at limit **
   2  Prefactor     .26133        .14048        .26890E-07    .24357E-03
   3  norm          111.40        26.249        .31183E-07   -.12050E-03
   4  Prefactor     23.827        32.479        .10699E-05    .43992E-04
   5  Prefactor     .10000E-03    2.1891       -.63083E-07** at limit **
   6  Prefactor     7.7756        10.718        .43198E-06    .26881E-04
   7  Prefactor     .10000E-03    5.9112        .98618E-07** at limit **
   8  Prefactor     3.5984        7.8373        .11137E-05    .26845E-04
   9  norm          .10000E-03    .55404        .87845E-06** at limit **
  10  Prefactor     14.291        12.138        .49622E-06    .15187E-03
  11  Prefactor     .10000E-03    6.8755       -.45576E-07** at limit **
  12  Prefactor     .10000E-03    86.061        .96573E-06** at limit **
  13  norm          .10009E-03    7.4957       -.60705E-06** at limit **
  14  Prefactor     .10000E-03    3.1505       -.84824E-07** at limit **
  15  Prefactor     118.61        155.47       -.91359E-05   -.60717E-04
  16  Prefactor     .10000E-03    16.751        .26273E-05** at limit **
  17  Prefactor     7.4480        15.593        .51730E-06    .33940E-04
  18  norm          .10000E-03    5.7818       -.10005E-06** at limit **
  19  norm          .10000E-03    22.870        .14356E-05** at limit **
  20  Prefactor     .10000E-03    2.3664        .57059E-06** at limit **
  21  Prefactor     65.526        42.152       -.37889E-06   -.65340E-04
  22  Prefactor     16.758        17.884        .35342E-06   -.56084E-05
  23  Prefactor     3.2658        7.1897        .71464E-06    .12992E-04
  24  Normalizat    .60558        .21689       -.49956E-05   -.18841E-03
  25  Prefactor     1.0282        .12819        .99142E-06   -.47836E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.261329
  norm       = 111.396
  Prefactor  = 23.8273
  Prefactor  = 0.0001
  Prefactor  = 7.77555
  Prefactor  = 0.0001
  Prefactor  = 3.5984
  norm       = 0.000100001
  Prefactor  = 14.2909
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100094
  Prefactor  = 0.0001
  Prefactor  = 118.612
  Prefactor  = 0.0001
  Prefactor  = 7.44801
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 65.5258
  Prefactor  = 16.7585
  Prefactor  = 3.26577
  Normalizat = 0.605582
  Prefactor  = 1.0282
 **********
 **   18 **HESSE 
 **********

 FCN=   6471.102     FROM HESSE     STATUS=OK           425 CALLS     3375 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.2270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .26133        .13856        .21287E-04   -1.5606    
   3  norm          111.40        26.245        .38112E-04   -1.3593    
   4  Prefactor     23.827        32.380        .82147E-04   -1.4731    
   5  Prefactor     .10000E-03    2.1965        .11620E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.7756        10.719        .14379E-03   -1.5150    
   7  Prefactor     .10000E-03    5.9182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.5984        7.8357        .21301E-03   -1.5329    
   9  norm          .10000E-03    .87755        .10555E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.291        11.460        .10594E-03   -1.4952    
  11  Prefactor     .10000E-03    6.8809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    86.491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10009E-03    44.954        .38431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.1628        .13922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     118.61        157.55        .18488E-03   -1.3525    
  16  Prefactor     .10000E-03    17.268        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.4480        15.490        .14695E-03   -1.5162    
  18  norm          .10000E-03    5.7918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    23.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    24.216        .23358E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     65.526        42.178        .49587E-04   -1.4087    
  22  Prefactor     16.758        17.888        .97831E-04   -1.4889    
  23  Prefactor     3.2658        7.1790        .22407E-03   -1.5347    
  24  Normalizat    .60558        .23799        .36588E-03   -1.0775    
  25  Prefactor     1.0282        .14394        .18145E-03   -.91795    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9453e-09
Minuit parameter uncertainties:
  1  8.62805e-07
  2  0.138563
  3  26.2478
  4  32.404
  5  1.87073e-06
  6  10.7212
  7  8.67182e-06
  8  7.83789
  9  4.39833e-05
  10  11.4617
  11  2.62213e-07
  12  0.000288379
  13  0.00411514
  14  1.10636e-05
  15  158.108
  16  9.58849e-05
  17  15.4988
  18  4.48751e-06
  19  7.61267e-05
  20  0.000150339
  21  42.1972
  22  17.8932
  23  7.18085
  24  0.238389
  25  0.143995
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.429e+01  1.146e+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.028e+00  1.440e-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.056e-01  2.384e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.24
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 5.14e-08 +/- 4.12e-08
Energy Flux (Fixed Index): 2.20e-05 +/- 1.76e-05

TS (Fixed Index): 2.24
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 1.37e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.05e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/844072/likelihoodResults_624758401_625017601_4FGL_J2324.7+0801_daily_bin1487.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) = 6471.09637365
delta logL = 0.00512687876198

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6471.09116134
delta logL = 0.0103391927287

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.779       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3231       1.0000          .0000       10.000    
     3 'Normalizat'    .60065       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0302       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=   6471.091     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      216 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.791        262.47        .28014E-02    .61771E-04
   2  Index         2.3233        6.1612        .12359        .12737E-03
   3  Normalizat    .60036        .98823E-01    .82946E-01    .40480E-04
   4  Prefactor     1.0304        .48695E-01    .41244E-01   -.27544E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.7915
  Index      = 2.32334
  Normalizat = 0.600364
  Prefactor  = 1.03041
 **********
 **   18 **HESSE 
 **********

 FCN=   6471.091     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.791        16.808        .11205E-03   -1.4993    
   2  Index         2.3233        .76093        .67366E-02   -.56490    
   3  Normalizat    .60036        .22781        .36738E-03   -1.0797    
   4  Prefactor     1.0304        .14413        .18128E-03   -.91723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.70569e-09
Minuit parameter uncertainties:
  1  16.8145
  2  0.76511
  3  0.228166
  4  0.144181
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/844072': 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) = 6471.09115869
delta logL = 0.0103418415119

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.279e+01  1.681e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.323e+00  7.651e-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.030e+00  1.442e-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.004e-01  2.282e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.25
Ra Dec: 351.190 8.028
Photon Index (Free Index): 2.32 +/- 0.77
Photon Flux (Free Index): 5.55e-08 +/- 5.05e-08
Energy Flux (Free Index): 2.03e-05 +/- 2.12e-05

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/844072/cmap_HighResolution_624758401_625017601_4FGL_J2324.7+0801_daily_bin1487.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', comment='SUCCESS', photon_flux='5.14e-08', energy_flux2='2.03e-05', photon_flux_error='4.12e-08', dlogl='1.03e-02', energy_flux='2.20e-05', photon_flux2='5.55e-08', job_status='DONE', time_completed='2021-09-29 16:42:35.688038', photon_index_error2='0.77', photon_index2='2.32', ts='2.24', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.37e-07', energy_flux_error2='2.12e-05', EG='0.61', time_epoch_completed='1632958955.69', return_code='0', job_id='844072', GAL2='1.03', EG2='0.60', return_code2='0', energy_flux_error='1.76e-05', photon_flux_error2='5.05e-08', ts2='2.25', photon_index='2.23' WHERE bin_id='1487' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:42:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 844072: <4FGL_J2324.7+0801_daily_bin1487> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1487> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 16:26:05 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:26:07 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:26:07 2021
Terminated at Wed Sep 29 16:42:36 2021
Results reported at Wed Sep 29 16:42:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1487 351.19 8.0282 624758401 625017601 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 :                                   682.16 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             230.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   988 sec.
    Turnaround time :                            991 sec.

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

