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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1481
RA = 351.19, Dec = 8.0282
tmin = 623203201, tmax = 623462401
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='844063', job_status='RUN', time_executed='2021-09-29 16:29:56.162179', time_epoch_executed='1632958196.16' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1481'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/844063

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/844063/ft1_4FGL_J2324.7+0801_daily_bin1481.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/844063/ft2_4FGL_J2324.7+0801_daily_bin1481.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/844063/ft1_4FGL_J2324.7+0801_daily_bin1481.fits outfile=/scratch/kocevski/844063/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1481.fits ra=351.19 dec=8.0282 rad=12.0 tmin=623203201.0 tmax=623462401.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 2.91
user 2.68
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/844063/ft1_filtered_4FGL_J2324.7+0801_daily_bin1481.fits" evtable="EVENTS" scfile=/scratch/kocevski/844063/ft2_4FGL_J2324.7+0801_daily_bin1481.fits sctable="SC_DATA" outfile=/scratch/kocevski/844063/ltcube_623203201_623462401_4FGL_J2324.7+0801_daily_bin1481.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/844063/ft2_4FGL_J2324.7+0801_daily_bin1481.fits
.....................!
real 12.45
user 12.09
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/844063/ft1_filtered_4FGL_J2324.7+0801_daily_bin1481.fits evtable="EVENTS" scfile=/scratch/kocevski/844063/ft2_4FGL_J2324.7+0801_daily_bin1481.fits sctable="SC_DATA" expcube=/scratch/kocevski/844063/ltcube_623203201_623462401_4FGL_J2324.7+0801_daily_bin1481.fits outfile=/scratch/kocevski/844063/expmap_623203201_623462401_4FGL_J2324.7+0801_daily_bin1481.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/844063/ltcube_623203201_623462401_4FGL_J2324.7+0801_daily_bin1481.fits
.....................!
real 193.07
user 187.61
sys 5.13

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/844063/ft1_filtered_4FGL_J2324.7+0801_daily_bin1481.fits scfile=/scratch/kocevski/844063/ft2_4FGL_J2324.7+0801_daily_bin1481.fits outfile=/scratch/kocevski/844063/cmap_623203201_623462401_4FGL_J2324.7+0801_daily_bin1481.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/844063/ft1_filtered_4FGL_J2324.7+0801_daily_bin1481.fits scfile=/scratch/kocevski/844063/ft2_4FGL_J2324.7+0801_daily_bin1481.fits outfile=/scratch/kocevski/844063/cmap_HighResolution_623203201_623462401_4FGL_J2324.7+0801_daily_bin1481.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.19 yref=8.0282 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/844063/ft1_filtered_4FGL_J2324.7+0801_daily_bin1481.fits', '/scratch/kocevski/844063/ft2_4FGL_J2324.7+0801_daily_bin1481.fits', expMap='/scratch/kocevski/844063/expmap_623203201_623462401_4FGL_J2324.7+0801_daily_bin1481.fits', expCube='/scratch/kocevski/844063/ltcube_623203201_623462401_4FGL_J2324.7+0801_daily_bin1481.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/844063/Model_4FGL_J2324.7+0801_daily_bin1481.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/844063/ft1_filtered_4FGL_J2324.7+0801_daily_bin1481.fits
Spacecraft file(s): /scratch/kocevski/844063/ft2_4FGL_J2324.7+0801_daily_bin1481.fits
Exposure map: /scratch/kocevski/844063/expmap_623203201_623462401_4FGL_J2324.7+0801_daily_bin1481.fits
Exposure cube: /scratch/kocevski/844063/ltcube_623203201_623462401_4FGL_J2324.7+0801_daily_bin1481.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/844063/Model_4FGL_J2324.7+0801_daily_bin1481.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 311.516737605

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 308.497495733

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.907       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .30219       1.0000         .10000E-03   10000.    
     3 'norm      '    .12070       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .29124       1.0000         .10000E-03   10000.    
     5 'Prefactor '    39.935       1.0000         .10000E-03   10000.    
     6 'Prefactor '    92.293       1.0000         .10000E-03   10000.    
     7 'Prefactor '    99.471       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .46851E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.2029       1.0000         .10000E-03   10000.    
    10 'Prefactor '    334.50       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .24564E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.0127       1.0000         .10000E-03   10000.    
    13 'norm      '    14.807       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11316       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.4561       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .34000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.5143       1.0000         .10000E-03   10000.    
    18 'norm      '    .14916       1.0000         .10000E-03   10000.    
    19 'norm      '    5.2279       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .15088E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.2023       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.6065       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.2179       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    .72683       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   308.4559     FROM MIGRAD    STATUS=CONVERGED    353 CALLS      861 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.413        65.314        .16957E-02    .57631E-03
   2  Prefactor     .30344        .38901        .27357E-02    .75263E-01
   3  norm          .10000E-03    41.525        .96095E-02** at limit **
   4  Prefactor     .10001E-03    266.74        .10387E-01** at limit **
   5  Prefactor     40.164        47.442        .15857E-02    .93138E-04
   6  Prefactor     93.399        152.14        .10458E-02   -.13801E-01
   7  Prefactor     94.830        145.93        .10077E-02   -.56483E-02
   8  Prefactor     .10000E-03    42.568        .10595E-01** at limit **
   9  norm          2.1743        3.1937        .69300E-02    .17547    
  10  Prefactor     348.93        304.28        .55615E-03   -.43879E-01
  11  Prefactor     .10000E-03    179.51        .90712E-02** at limit **
  12  Prefactor     .10023E-03    560.15        .72948E-02** at limit **
  13  norm          .42315E-03    373.22        .26022E-02** at limit **
  14  Prefactor     .10000E-03    87.979        .95738E-02** at limit **
  15  Prefactor     .15615E-02    751.48        .43006E-02** at limit **
  16  Prefactor     .10000E-03    42.816        .10668E-01** at limit **
  17  Prefactor     .10038E-03    452.19        .86859E-02** at limit **
  18  norm          .10001E-03    290.51        .97431E-02** at limit **
  19  norm          26.715        201.34        .43951E-02    .33985E-03
  20  Prefactor     .10000E-03    13.125        .90712E-02** at limit **
  21  Prefactor     .59152E-01    2034.9        .37366E-02   -.55444E-02
  22  Prefactor     .19510E-02    6284.0        .63170E-02** at limit **
  23  Prefactor     1.2179        1.1284         .0000         .0000    
  24  Normalizat    .10000E-01    .25505        .54176E-05** at limit **
  25  Prefactor     .71488        1.0683       -.30668E-05   -.90078E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.4132
  Prefactor  = 0.30344
  norm       = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 40.1644
  Prefactor  = 93.3987
  Prefactor  = 94.8299
  Prefactor  = 0.0001
  norm       = 2.17432
  Prefactor  = 348.927
  Prefactor  = 0.0001
  Prefactor  = 0.000100233
  norm       = 0.000423146
  Prefactor  = 0.0001
  Prefactor  = 0.00156148
  Prefactor  = 0.0001
  Prefactor  = 0.000100378
  norm       = 0.000100009
  norm       = 26.7154
  Prefactor  = 0.0001
  Prefactor  = 0.0591521
  Prefactor  = 0.00195097
  Prefactor  = 1.21789
  Normalizat = 0.01
  Prefactor  = 0.714877
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   308.4559     FROM HESSE     STATUS=FAILED        53 CALLS      914 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.413        65.314        .16957E-02   -1.4517    
   2  Prefactor     .30344        .38901        .27357E-02   -1.5598    
   3  norm          .10000E-03    41.525        .96095E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    266.74        .10387E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     40.164        47.442        .15857E-02   -1.4440    
   6  Prefactor     93.399        152.14        .10458E-02   -1.3772    
   7  Prefactor     94.830        145.93        .10077E-02   -1.3757    
   8  Prefactor     .10000E-03    42.568        .10595E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.1743        3.1937        .69300E-02   -1.5413    
  10  Prefactor     348.93        304.28        .55615E-03   -1.1950    
  11  Prefactor     .10000E-03    179.51        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10023E-03    560.15        .72948E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .42315E-03    373.22        .26022E-02   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    87.979        .95738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .15615E-02    751.48        .43006E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    42.816        .10668E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10038E-03    452.19        .86859E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10001E-03    290.51        .97431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          26.715        201.34        .43951E-02   -1.4674    
  20  Prefactor     .10000E-03    13.125        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .59152E-01    2034.9        .37366E-02   -1.5757    
  22  Prefactor     .19510E-02    6284.0        .63170E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     583.47        581.99         .0000       -1.5487    
  24  Normalizat    .10000E-01    .25505        .54176E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .71488        1.0683       -.30668E-05   -1.0295    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.06446e-09
Minuit parameter uncertainties:
  1  65.4459
  2  0.389017
  3  0.00023076
  4  0.00301443
  5  47.4862
  6  152.777
  7  146.483
  8  5.69677e-06
  9  3.19393
  10  305.688
  11  0.000137968
  12  0.0230695
  13  0.69896
  14  5.38789e-05
  15  2.12316
  16  9.29327e-05
  17  0.0263453
  18  0.00330625
  19  147.379
  20  5.83696e-05
  21  22.7451
  22  4.57624
  23  1.1284
  24  1.99284e-06
  25  1.10159
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 308.455934835

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  3.489e+02  3.057e+02  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:  7.149e-01  1.102e+00  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.000e-02  1.993e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.71
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 1.26e-06 +/- 1.10e-06
Energy Flux (Fixed Index): 5.36e-04 +/- 4.70e-04

TS (Fixed Index): 2.71
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 4.17e-06 ph cm-2 s-1
Energy Flux Upper Limit: 3.19e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/844063/likelihoodResults_623203201_623462401_4FGL_J2324.7+0801_daily_bin1481.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) = 308.450490553
delta logL = 0.00544428203301

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 308.444180177
delta logL = 0.0117546578448

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    399.19       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1184       1.0000          .0000       10.000    
     3 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71499       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=   308.4442     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      238 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     398.81        458.98        .10216E-03   -.13576E-05
   2  Index         2.1189        .69563        .21919E-03   -.41817E-06
   3  Normalizat    .10000E-01    .71600        .81092E-02** at limit **
   4  Prefactor     .71444        .27812        .18171E-03   -.37155E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 398.815
  Index      = 2.11894
  Normalizat = 0.01
  Prefactor  = 0.71444
 **********
 **   18 **HESSE 
 **********

 FCN=   308.4442     FROM HESSE     STATUS=OK            23 CALLS      261 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     398.81        458.36        .20432E-04   -1.1687    
   2  Index         2.1189        .69468        .87677E-05   -.61409    
   3  Normalizat    .10000E-01    .71604        .16218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .71444        .27807        .36342E-04   -1.0296    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74968e-11
Minuit parameter uncertainties:
  1  462.659
  2  0.698071
  3  1.86786e-06
  4  0.278608
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/844063': 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) = 308.444177141
delta logL = 0.0117576934445

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  3.988e+02  4.627e+02  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.119e+00  6.981e-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:  7.144e-01  2.786e-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.000e-02  1.868e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.76
Ra Dec: 351.190 8.028
Photon Index (Free Index): 2.12 +/- 0.70
Photon Flux (Free Index): 1.17e-06 +/- 1.22e-06
Energy Flux (Free Index): 6.16e-04 +/- 7.89e-04

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/844063/cmap_HighResolution_623203201_623462401_4FGL_J2324.7+0801_daily_bin1481.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.19e-01', comment='SUCCESS', photon_flux='1.26e-06', energy_flux2='6.16e-04', photon_flux_error='1.10e-06', dlogl='1.18e-02', energy_flux='5.36e-04', photon_flux2='1.17e-06', job_status='DONE', time_completed='2021-09-29 16:38:53.688613', photon_index_error2='0.70', photon_index2='2.12', ts='2.71', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', photon_flux_upper_limit='4.17e-06', energy_flux_error2='7.89e-04', EG='0.01', time_epoch_completed='1632958733.69', return_code='101', job_id='844063', GAL2='0.71', EG2='0.01', return_code2='0', energy_flux_error='4.70e-04', photon_flux_error2='1.22e-06', ts2='2.76', photon_index='2.23' WHERE bin_id='1481' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:38:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 844063: <4FGL_J2324.7+0801_daily_bin1481> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1481> 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) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:26:06 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:06 2021
Terminated at Wed Sep 29 16:38:54 2021
Results reported at Wed Sep 29 16:38:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1481 351.19 8.0282 623203201 623462401 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 :                                   321.00 sec.
    Max Memory :                                 1162 MB
    Average Memory :                             293.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   767 sec.
    Turnaround time :                            769 sec.

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

