/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 61 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 = 7535
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0924.0+2816_daily_bin1239
RA = 141.005, Dec = 28.2755
tmin = 560476801, tmax = 560736001
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='222263', job_status='RUN', time_executed='2021-08-31 11:29:43.647835', time_epoch_executed='1630434583.65' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='1239'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222263

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222263/ft1_4FGL_J0924.0+2816_daily_bin1239.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222263/ft2_4FGL_J0924.0+2816_daily_bin1239.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/222263/ft1_4FGL_J0924.0+2816_daily_bin1239.fits outfile=/scratch/kocevski/222263/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin1239.fits ra=141.005 dec=28.2755 rad=12.0 tmin=560476801.0 tmax=560736001.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 8.09
user 3.54
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/222263/ft2_4FGL_J0924.0+2816_daily_bin1239.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/222263/ft2_4FGL_J0924.0+2816_daily_bin1239.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/222263/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin1239.fits evtable="EVENTS" outfile="/scratch/kocevski/222263/ft1_filtered_4FGL_J0924.0+2816_daily_bin1239.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 4.35
user 0.37
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/222263/ft1_filtered_4FGL_J0924.0+2816_daily_bin1239.fits" evtable="EVENTS" scfile=/scratch/kocevski/222263/ft2_4FGL_J0924.0+2816_daily_bin1239.fits sctable="SC_DATA" outfile=/scratch/kocevski/222263/ltcube_560476801_560736001_4FGL_J0924.0+2816_daily_bin1239.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/222263/ft2_4FGL_J0924.0+2816_daily_bin1239.fits
.....................!
real 14.34
user 11.52
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222263/ft1_filtered_4FGL_J0924.0+2816_daily_bin1239.fits evtable="EVENTS" scfile=/scratch/kocevski/222263/ft2_4FGL_J0924.0+2816_daily_bin1239.fits sctable="SC_DATA" expcube=/scratch/kocevski/222263/ltcube_560476801_560736001_4FGL_J0924.0+2816_daily_bin1239.fits outfile=/scratch/kocevski/222263/expmap_560476801_560736001_4FGL_J0924.0+2816_daily_bin1239.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/222263/ltcube_560476801_560736001_4FGL_J0924.0+2816_daily_bin1239.fits
.....................!
real 195.46
user 185.96
sys 4.16

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 170 point sources and 0 extended sources

Setting source of interest to:
4FGL J0924.0+2816 @ 141.005 28.2755

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/222263/ft1_filtered_4FGL_J0924.0+2816_daily_bin1239.fits scfile=/scratch/kocevski/222263/ft2_4FGL_J0924.0+2816_daily_bin1239.fits outfile=/scratch/kocevski/222263/cmap_560476801_560736001_4FGL_J0924.0+2816_daily_bin1239.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=141.005 yref=28.2755 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.70
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/222263/ft1_filtered_4FGL_J0924.0+2816_daily_bin1239.fits scfile=/scratch/kocevski/222263/ft2_4FGL_J0924.0+2816_daily_bin1239.fits outfile=/scratch/kocevski/222263/cmap_HighResolution_560476801_560736001_4FGL_J0924.0+2816_daily_bin1239.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=141.005 yref=28.2755 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.97
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/222263/ft1_filtered_4FGL_J0924.0+2816_daily_bin1239.fits evtable="EVENTS" scfile=/scratch/kocevski/222263/ft2_4FGL_J0924.0+2816_daily_bin1239.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/222263/Model_4FGL_J0924.0+2816_daily_bin1239.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/222263/ft1_filtered_4FGL_J0924.0+2816_daily_bin1239.fits.....................!
real 39.49
user 35.11
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/222263/ft1_filtered_4FGL_J0924.0+2816_daily_bin1239.fits', '/scratch/kocevski/222263/ft2_4FGL_J0924.0+2816_daily_bin1239.fits', expMap='/scratch/kocevski/222263/expmap_560476801_560736001_4FGL_J0924.0+2816_daily_bin1239.fits', expCube='/scratch/kocevski/222263/ltcube_560476801_560736001_4FGL_J0924.0+2816_daily_bin1239.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/222263/Model_4FGL_J0924.0+2816_daily_bin1239.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0924.0+2816'

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.227e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.506e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/222263/ft1_filtered_4FGL_J0924.0+2816_daily_bin1239.fits
Spacecraft file(s): /scratch/kocevski/222263/ft2_4FGL_J0924.0+2816_daily_bin1239.fits
Exposure map: /scratch/kocevski/222263/expmap_560476801_560736001_4FGL_J0924.0+2816_daily_bin1239.fits
Exposure cube: /scratch/kocevski/222263/ltcube_560476801_560736001_4FGL_J0924.0+2816_daily_bin1239.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/222263/Model_4FGL_J0924.0+2816_daily_bin1239.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) = 3398.25297352

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.806       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    102.93       1.0000         .10000E-03   10000.    
     7 'norm      '    1.9695       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.2336       1.0000         .10000E-03   10000.    
    10 'norm      '    7.7235       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.098       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .84721       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0110       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3398.252     FROM MIGRAD    STATUS=CONVERGED    404 CALLS     1958 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .17652       -.30586E-07** at limit **
   2  Prefactor     10.805        10.584       -.66274E-06   -.22640E-03
   3  Prefactor     .10000E-03    7.1354       -.86756E-07** at limit **
   4  norm          .10000E-03    15.184        .77640E-06** at limit **
   5  Prefactor     .10000E-03    4.6850        .21284E-06** at limit **
   6  Prefactor     102.90        79.662       -.19510E-04    .10152E-04
   7  norm          1.9694        1.7998       -.14232E-06    .16481E-03
   8  Prefactor     .10000E-03    27.304       -.90484E-06** at limit **
   9  Prefactor     5.1769        189.04       -.21065E-03    .19759E-04
  10  norm          7.7198        11.431       -.55217E-07   -.12162E-04
  11  Prefactor     .10000E-03    1.9811        .80200E-07** at limit **
  12  Prefactor     .10000E-03    27.409        .46845E-06** at limit **
  13  Prefactor     21.064        62.992       -.62370E-04    .16841E-04
  14  Prefactor     .10000E-03    59.627        .33582E-05** at limit **
  15  Prefactor     .10000E-03    4.1887        .39395E-06** at limit **
  16  Prefactor     .10000E-03    4.1135       -.25818E-06** at limit **
  17  Prefactor     .10000E-03    .77860       -.18047E-07** at limit **
  18  norm          .10000E-03    4.6246       -.67782E-06** at limit **
  19  Normalizat    .84708        .20850        .50195E-05    .23711E-03
  20  Prefactor     1.0111        .20334        .72367E-05    .88782E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 10.8051
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 102.905
  norm       = 1.96944
  Prefactor  = 0.0001
  Prefactor  = 5.17689
  norm       = 7.71984
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.0643
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.847079
  Prefactor  = 1.01109
 **********
 **   18 **HESSE 
 **********

 FCN=   3398.252     FROM HESSE     STATUS=OK           283 CALLS     2241 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .17737        .23903E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.805        10.586        .60941E-03   -1.5050    
   3  Prefactor     .10000E-03    7.1437        .15209E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    15.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.7936        .12315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     102.90        79.676        .19816E-03   -1.3676    
   7  norm          1.9694        1.8107        .72733E-04   -1.5427    
   8  Prefactor     .10000E-03    27.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.1769        190.77        .17571E-03   -1.5253    
  10  norm          7.7198        11.439        .14429E-03   -1.5152    
  11  Prefactor     .10000E-03    1.9915        .80109E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    27.474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.064        63.052        .87201E-04   -1.4790    
  14  Prefactor     .10000E-03    59.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.2154        .11650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.1157        .11548E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    .77982        .50233E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.6346        .12244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .84708        .24532        .24153E-03   -.98345    
  20  Prefactor     1.0111        .23919        .21617E-03   -.92361    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.51655e-10
Minuit parameter uncertainties:
  1  1.38293e-06
  2  10.5874
  3  1.14441e-05
  4  0.000202904
  5  5.92018e-05
  6  79.759
  7  1.81074
  8  0.000190405
  9  63.0695
  10  11.4425
  11  1.40662e-05
  12  2.38721e-05
  13  63.2527
  14  3.62665e-05
  15  8.90063e-06
  16  1.00155e-05
  17  2.6405e-06
  18  1.1595e-05
  19  0.245647
  20  0.239445
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  1.407e-05  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.506e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.011e+00  2.394e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  8.471e-01  2.456e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 141.005 28.276
Photon Flux Upper Limit: 8.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.83e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/222263/likelihoodResults_560476801_560736001_4FGL_J0924.0+2816_daily_bin1239.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3398.25475788
delta logL = -0.0023728356864

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3398.25238506
delta logL = -1.68911356013e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4875       1.0000          .0000       10.000    
     3 'Normalizat'    .84707       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0111       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+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=   3398.252     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      246 TOTAL
                     EDM=   .84E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.178        .81176E-02** at limit **
   2  Index         2.0521        5.9179        .50000        .24979E-06
   3  Normalizat    .84708        .13304E-01    .24153E-03    .24624E-03
   4  Prefactor     1.0111        .12971E-01    .21617E-03    .28412E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.05208
  Normalizat = 0.847076
  Prefactor  = 1.01109
 **********
 **   18 **HESSE 
 **********

 FCN=   3398.252     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      275 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    131.56        .88005E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0521        6.0363        .50000       -.63054    
   3  Normalizat    .84708        .41509E-01    .48305E-04   -.98346    
   4  Prefactor     1.0111        .40473E-01    .43233E-04   -.92361    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.27593e-10
Minuit parameter uncertainties:
  1  4.88565e-05
  2  593.052
  3  0.041511
  4  0.0404743
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222263': 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) = 3398.2523808
delta logL = 4.24353629569e-06

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  4.886e-05  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.052e+00  5.931e+02  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.011e+00  4.047e-02  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  8.471e-01  4.151e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 141.005 28.276

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/222263/cmap_HighResolution_560476801_560736001_4FGL_J0924.0+2816_daily_bin1239.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.83e-03', job_status='DONE', photon_flux_upper_limit='8.78e-08', time_completed='2021-08-31 11:37:50.572094', job_id='222263', GAL2='1.01', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1630435070.57', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='4.24e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1239' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:37:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 222263: <4FGL_J0924.0+2816_daily_bin1239> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin1239> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Aug 31 11:26:40 2021
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:26:59 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 11:26:59 2021
Terminated at Tue Aug 31 11:37:51 2021
Results reported at Tue Aug 31 11:37:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin1239 141.005 28.2755 560476801 560736001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0924.0+2816 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   446.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             253.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   651 sec.
    Turnaround time :                            671 sec.

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

