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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1639
RA = 351.19, Dec = 8.0282
tmin = 664156801, tmax = 664416001
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='201092', job_status='RUN', time_executed='2022-01-21 00:38:16.161872', time_epoch_executed='1642754296.16' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1639'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/201092

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/201092/ft1_4FGL_J2324.7+0801_daily_bin1639.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/201092/ft2_4FGL_J2324.7+0801_daily_bin1639.fits


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

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

Done.
real 4.02
user 3.77
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/201092/ft1_filtered_4FGL_J2324.7+0801_daily_bin1639.fits" evtable="EVENTS" scfile=/scratch/kocevski/201092/ft2_4FGL_J2324.7+0801_daily_bin1639.fits sctable="SC_DATA" outfile=/scratch/kocevski/201092/ltcube_664156801_664416001_4FGL_J2324.7+0801_daily_bin1639.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/201092/ft2_4FGL_J2324.7+0801_daily_bin1639.fits
.....................!
real 13.37
user 13.00
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/201092/ft1_filtered_4FGL_J2324.7+0801_daily_bin1639.fits evtable="EVENTS" scfile=/scratch/kocevski/201092/ft2_4FGL_J2324.7+0801_daily_bin1639.fits sctable="SC_DATA" expcube=/scratch/kocevski/201092/ltcube_664156801_664416001_4FGL_J2324.7+0801_daily_bin1639.fits outfile=/scratch/kocevski/201092/expmap_664156801_664416001_4FGL_J2324.7+0801_daily_bin1639.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/201092/ltcube_664156801_664416001_4FGL_J2324.7+0801_daily_bin1639.fits
.....................!
real 191.84
user 187.02
sys 4.45

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/201092/ft1_filtered_4FGL_J2324.7+0801_daily_bin1639.fits scfile=/scratch/kocevski/201092/ft2_4FGL_J2324.7+0801_daily_bin1639.fits outfile=/scratch/kocevski/201092/cmap_664156801_664416001_4FGL_J2324.7+0801_daily_bin1639.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/201092/ft1_filtered_4FGL_J2324.7+0801_daily_bin1639.fits scfile=/scratch/kocevski/201092/ft2_4FGL_J2324.7+0801_daily_bin1639.fits outfile=/scratch/kocevski/201092/cmap_HighResolution_664156801_664416001_4FGL_J2324.7+0801_daily_bin1639.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/201092/ft1_filtered_4FGL_J2324.7+0801_daily_bin1639.fits evtable="EVENTS" scfile=/scratch/kocevski/201092/ft2_4FGL_J2324.7+0801_daily_bin1639.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/201092/Model_4FGL_J2324.7+0801_daily_bin1639.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/201092/ft1_filtered_4FGL_J2324.7+0801_daily_bin1639.fits.....................!
real 70.85
user 69.42
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .68260       1.0000         .10000E-03   10000.    
     3 'norm      '    .25272E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.2682       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.2838       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10350E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .50152       1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.313       1.0000         .10000E-03   10000.    
    13 'norm      '    8.3082       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.611       1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.534       1.0000         .10000E-03   10000.    
    17 'Prefactor '    26.471       1.0000         .10000E-03   10000.    
    18 'norm      '    15.189       1.0000         .10000E-03   10000.    
    19 'norm      '    1.7951       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0238       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .92651       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=   6303.584     FROM MIGRAD    STATUS=CONVERGED    594 CALLS     2922 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.1274       -.75877E-06** at limit **
   2  Prefactor     .68253        .17707       -.25075E-07    .44154E-03
   3  norm          .10002E-03    12.939       -.15039E-05** at limit **
   4  Prefactor     .10000E-03    7.7705        .18164E-07** at limit **
   5  Prefactor     4.2673        7.5739       -.10707E-05   -.26032E-03
   6  Prefactor     .10000E-03    9.2247       -.95073E-06** at limit **
   7  Prefactor     .10000E-03    13.887        .80510E-06** at limit **
   8  Prefactor     .10000E-03    4.5111        .13701E-06** at limit **
   9  norm          1.2837        .93051        .31567E-06    .29784E-03
  10  Prefactor     .10000E-03    10.857        .28950E-05** at limit **
  11  Prefactor     .18742        12.803       -.10317E-05   -.62953E-04
  12  Prefactor     22.303        31.775       -.89988E-05    .65127E-05
  13  norm          8.3025        8.7862        .15260E-05   -.98576E-04
  14  Prefactor     .10000E-03    3.3837        .35498E-06** at limit **
  15  Prefactor     13.522        584.00       -.23111E-03    .49706E-05
  16  Prefactor     14.514        14.619        .44812E-05    .14312E-03
  17  Prefactor     26.447        27.488       -.12458E-04   -.26272E-04
  18  norm          15.190        12.821       -.91550E-06    .19845E-04
  19  norm          1.7996        38.645       -.79160E-05   -.12868E-03
  20  Prefactor     .10000E-03    3.8367        .28600E-06** at limit **
  21  Prefactor     .10000E-03    19.996       -.27735E-07** at limit **
  22  Prefactor     .10000E-03    11.963       -.36056E-05** at limit **
  23  Prefactor     .10000E-03    3.4226        .10911E-06** at limit **
  24  Normalizat    1.0243        .19777        .16146E-05    .16339E-03
  25  Prefactor     .92650        .12435        .12643E-05    .19123E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.68253
  norm       = 0.000100023
  Prefactor  = 0.0001
  Prefactor  = 4.26731
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.28371
  Prefactor  = 0.0001
  Prefactor  = 0.187418
  Prefactor  = 22.3035
  norm       = 8.30254
  Prefactor  = 0.0001
  Prefactor  = 13.5223
  Prefactor  = 14.5143
  Prefactor  = 26.4468
  norm       = 15.19
  norm       = 1.79956
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.02432
  Prefactor  = 0.926501
 **********
 **   18 **HESSE 
 **********

 FCN=   6303.584     FROM HESSE     STATUS=OK           433 CALLS     3355 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.1292        .17558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .68253        .17660        .16256E-04   -1.5543    
   3  norm          .10002E-03    68.109        .55106E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.7737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.2673        7.5708        .19502E-03   -1.5295    
   6  Prefactor     .10000E-03    9.3648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    14.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.5751        .16442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.2837        .92721        .62775E-04   -1.5481    
  10  Prefactor     .10000E-03    10.999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .18742        21.405        .81241E-01   -1.5621    
  12  Prefactor     22.303        31.789        .84797E-04   -1.4763    
  13  norm          8.3025        8.7553        .13908E-03   -1.5132    
  14  Prefactor     .10000E-03    3.4052        .14245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.522        583.82        .10857E-03   -1.4972    
  16  Prefactor     14.514        14.320        .10506E-03   -1.4946    
  17  Prefactor     26.447        27.488        .77863E-04   -1.4679    
  18  norm          15.190        12.821        .10277E-03   -1.4928    
  19  norm          1.7996        37.172        .31210E-03   -1.5440    
  20  Prefactor     .10000E-03    3.9119        .30279E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    20.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    11.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    3.4310        .14344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0243        .23019        .29354E-03   -.92220    
  25  Prefactor     .92650        .14478        .19772E-03   -.95221    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8343e-10
Minuit parameter uncertainties:
  1  1.03816e-06
  2  0.1766
  3  0.00248973
  4  3.01363e-06
  5  7.57253
  6  1.67307e-05
  7  1.42599e-05
  8  8.92251e-06
  9  0.927224
  10  0.000110186
  11  4.00626
  12  31.8133
  13  8.75666
  14  8.3793e-06
  15  179.605
  16  14.3234
  17  27.5009
  18  12.8235
  19  16.3688
  20  4.27752e-05
  21  1.72181e-05
  22  2.40338e-05
  23  5.01157e-06
  24  0.230413
  25  0.144844
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  9.265e-01  1.448e-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.024e+00  2.304e-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: 8.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/201092/likelihoodResults_664156801_664416001_4FGL_J2324.7+0801_daily_bin1639.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) = 6303.58475697
delta logL = -0.0004333746665

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6303.58432434
delta logL = -7.39414645068e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10372E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2022       1.0000          .0000       10.000    
     3 'Normalizat'    1.0241       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92666       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=   6303.584     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    258.86        .90712E-02** at limit **
   2  Index         2.1774        8.3533        .50000        .17675E-04
   3  Normalizat    1.0243        .25060E-01    .66358E-01    .67060E-04
   4  Prefactor     .92650        .16226E-01    .45344E-01    .83834E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.1774
  Normalizat = 1.02432
  Prefactor  = 0.926501
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2173.8        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1774        5.4187        .50000       -.59985    
   3  Normalizat    1.0243        .11694        .29354E-03   -.92220    
   4  Prefactor     .92650        .75789E-01    .19772E-03   -.95221    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.67111e-07
Minuit parameter uncertainties:
  1  0.00362795
  2  58.9632
  3  0.116972
  4  0.075798
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/201092': 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) = 6303.58432337
delta logL = 2.26412339543e-07

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.000e-04  3.628e-03  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.177e+00  5.896e+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:  9.265e-01  7.580e-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.024e+00  1.170e-01  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/201092/cmap_HighResolution_664156801_664416001_4FGL_J2324.7+0801_daily_bin1639.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.64e-03', job_status='DONE', photon_flux_upper_limit='8.70e-08', time_completed='2022-01-21 00:49:53.296889', job_id='201092', GAL2='0.93', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1642754993.3', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.26e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1639' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 21 00:49:53 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 201092: <4FGL_J2324.7+0801_daily_bin1639> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1639> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Jan 21 00:36:00 2022
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 21 00:36:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 21 00:36:01 2022
Terminated at Fri Jan 21 00:49:54 2022
Results reported at Fri Jan 21 00:49:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1639 351.19 8.0282 664156801 664416001 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 :                                   699.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   832 sec.
    Turnaround time :                            834 sec.

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

