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


Performing analysis on: 4FGL_J0924.0+2816_daily_bin681
RA = 141.005, Dec = 28.2755
tmin = 415843201, tmax = 416102401
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='219332', job_status='RUN', time_executed='2021-08-31 11:21:41.762127', time_epoch_executed='1630434101.76' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='681'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/219332

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/219332/ft1_4FGL_J0924.0+2816_daily_bin681.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/219332/ft2_4FGL_J0924.0+2816_daily_bin681.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/219332/ft1_4FGL_J0924.0+2816_daily_bin681.fits outfile=/scratch/kocevski/219332/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin681.fits ra=141.005 dec=28.2755 rad=12.0 tmin=415843201.0 tmax=416102401.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 5.86
user 5.61
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/219332/ft2_4FGL_J0924.0+2816_daily_bin681.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/219332/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin681.fits evtable="EVENTS" outfile="/scratch/kocevski/219332/ft1_filtered_4FGL_J0924.0+2816_daily_bin681.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/219332/ft1_filtered_4FGL_J0924.0+2816_daily_bin681.fits" evtable="EVENTS" scfile=/scratch/kocevski/219332/ft2_4FGL_J0924.0+2816_daily_bin681.fits sctable="SC_DATA" outfile=/scratch/kocevski/219332/ltcube_415843201_416102401_4FGL_J0924.0+2816_daily_bin681.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/219332/ft2_4FGL_J0924.0+2816_daily_bin681.fits
.....................!
real 12.99
user 12.65
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/219332/ft1_filtered_4FGL_J0924.0+2816_daily_bin681.fits evtable="EVENTS" scfile=/scratch/kocevski/219332/ft2_4FGL_J0924.0+2816_daily_bin681.fits sctable="SC_DATA" expcube=/scratch/kocevski/219332/ltcube_415843201_416102401_4FGL_J0924.0+2816_daily_bin681.fits outfile=/scratch/kocevski/219332/expmap_415843201_416102401_4FGL_J0924.0+2816_daily_bin681.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/219332/ltcube_415843201_416102401_4FGL_J0924.0+2816_daily_bin681.fits
.....................!
real 194.69
user 188.25
sys 4.43

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/219332/ft1_filtered_4FGL_J0924.0+2816_daily_bin681.fits scfile=/scratch/kocevski/219332/ft2_4FGL_J0924.0+2816_daily_bin681.fits outfile=/scratch/kocevski/219332/cmap_415843201_416102401_4FGL_J0924.0+2816_daily_bin681.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.66
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/219332/ft1_filtered_4FGL_J0924.0+2816_daily_bin681.fits scfile=/scratch/kocevski/219332/ft2_4FGL_J0924.0+2816_daily_bin681.fits outfile=/scratch/kocevski/219332/cmap_HighResolution_415843201_416102401_4FGL_J0924.0+2816_daily_bin681.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/219332/ft1_filtered_4FGL_J0924.0+2816_daily_bin681.fits', '/scratch/kocevski/219332/ft2_4FGL_J0924.0+2816_daily_bin681.fits', expMap='/scratch/kocevski/219332/expmap_415843201_416102401_4FGL_J0924.0+2816_daily_bin681.fits', expCube='/scratch/kocevski/219332/ltcube_415843201_416102401_4FGL_J0924.0+2816_daily_bin681.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/219332/Model_4FGL_J0924.0+2816_daily_bin681.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/219332/ft1_filtered_4FGL_J0924.0+2816_daily_bin681.fits
Spacecraft file(s): /scratch/kocevski/219332/ft2_4FGL_J0924.0+2816_daily_bin681.fits
Exposure map: /scratch/kocevski/219332/expmap_415843201_416102401_4FGL_J0924.0+2816_daily_bin681.fits
Exposure cube: /scratch/kocevski/219332/ltcube_415843201_416102401_4FGL_J0924.0+2816_daily_bin681.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/219332/Model_4FGL_J0924.0+2816_daily_bin681.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) = 3617.00745854

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4359       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.2637       1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.571       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.1565       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.5998       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .43559       1.0000         .10000E-03   10000.    
    13 'Prefactor '    69.352       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.354       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.2948       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.3662       1.0000         .10000E-03   10000.    
    18 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .77365       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0483       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=   3616.864     FROM MIGRAD    STATUS=CONVERGED    431 CALLS     2090 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4363        1.2545       -.55451E-07    .32174E-04
   2  Prefactor     6.2658        10.709        .20758E-05   -.16905E-03
   3  Prefactor     17.578        16.858        .61219E-08    .26251E-04
   4  norm          .10000E-03    12.806       -.56587E-08** at limit **
   5  Prefactor     .10000E-03    1.6309        .21934E-07** at limit **
   6  Prefactor     .10000E-03    15.051       -.15896E-08** at limit **
   7  norm          .10000E-03    .50897        .36780E-08** at limit **
   8  Prefactor     .10000E-03    15.827       -.12883E-06** at limit **
   9  Prefactor     .10000E-03    24.474       -.93701E-08** at limit **
  10  norm          2.1632        8.4867        .75697E-06   -.43241E-04
  11  Prefactor     3.5976        3.4834       -.28165E-07   -.67496E-05
  12  Prefactor     .74205        37.274        .13591E-07   -.85193E-05
  13  Prefactor     69.315        125.96       -.50337E-05   -.85568E-04
  14  Prefactor     .10000E-03    35.996       -.17806E-06** at limit **
  15  Prefactor     17.347        10.690        .10295E-06   -.27219E-05
  16  Prefactor     9.2961        8.6480       -.62319E-07    .45275E-05
  17  Prefactor     1.3656        2.8301        .18145E-06   -.57060E-04
  18  norm          .10000E-03    4.9607        .75861E-08** at limit **
  19  Normalizat    .77339        .21412        .12503E-05   -.67205E-04
  20  Prefactor     1.0483        .20674       -.94961E-06    .29990E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.43626
  Prefactor  = 6.26581
  Prefactor  = 17.5784
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.16317
  Prefactor  = 3.59759
  Prefactor  = 0.742048
  Prefactor  = 69.3148
  Prefactor  = 0.0001
  Prefactor  = 17.3467
  Prefactor  = 9.29615
  Prefactor  = 1.36556
  norm       = 0.0001
  Normalizat = 0.773388
  Prefactor  = 1.04826
 **********
 **   18 **HESSE 
 **********

 FCN=   3616.864     FROM HESSE     STATUS=OK           295 CALLS     2385 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4363        1.2553        .34086E-04   -1.5287    
   2  Prefactor     6.2658        10.956        .80196E-03   -1.5207    
   3  Prefactor     17.578        16.875        .95547E-04   -1.4869    
   4  norm          .10000E-03    12.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.6373        .74991E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .50930        .41898E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    24.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.1632        8.5225        .28053E-03   -1.5414    
  11  Prefactor     3.5976        3.4811        .10573E-03   -1.5329    
  12  Prefactor     .74205        285.48        .68848E-02   -1.5536    
  13  Prefactor     69.315        134.96        .48201E-04   -1.4041    
  14  Prefactor     .10000E-03    36.014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     17.347        10.717        .96142E-04   -1.4875    
  16  Prefactor     9.2961        8.6542        .13145E-03   -1.5098    
  17  Prefactor     1.3656        2.8074        .13834E-03   -1.5474    
  18  norm          .10000E-03    4.9707        .13081E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .77339        .24038        .12402E-02   -1.0106    
  20  Prefactor     1.0483        .23416        .22379E-03   -.91138    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.72678e-08
Minuit parameter uncertainties:
  1  1.25535
  2  10.96
  3  16.8801
  4  3.09951e-06
  5  9.93963e-07
  6  2.07796e-06
  7  1.16114e-07
  8  2.5593e-05
  9  1.10589e-06
  10  8.52733
  11  3.48132
  12  29.2487
  13  135.565
  14  1.93241e-05
  15  10.7179
  16  8.65533
  17  2.80764
  18  3.84813e-07
  19  0.240713
  20  0.234393
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  3.598e+00  3.481e+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

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.048e+00  2.344e-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:  7.734e-01  2.407e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.42
Ra Dec: 141.005 28.276
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 3.47e-08 +/- 3.36e-08
Energy Flux (Fixed Index): 1.00e-05 +/- 9.69e-06

TS (Fixed Index): 2.42
Ra Dec: 141.005 28.276
Photon Flux Upper Limit: 1.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/219332/likelihoodResults_415843201_416102401_4FGL_J0924.0+2816_daily_bin681.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) = 3616.81233453
delta logL = 0.0513361907524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3616.80824567
delta logL = 0.0554250487694

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8974       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1710       1.0000          .0000       10.000    
     3 'Normalizat'    .78656       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0406       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=   3616.808     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      228 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8971        4.0028        .11797E-03    .15292E-02
   2  Index         2.1709        1.0024        .97223E-02    .18074E-03
   3  Normalizat    .78648        .22772        .24616E-03   -.12042E-03
   4  Prefactor     1.0407        .23371        .22449E-03   -.13927E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.89711
  Index      = 2.17086
  Normalizat = 0.786479
  Prefactor  = 1.04066
 **********
 **   18 **HESSE 
 **********

 FCN=   3616.808     FROM HESSE     STATUS=OK            23 CALLS      251 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8971        4.0084        .23595E-04   -1.5313    
   2  Index         2.1709        1.0033        .38889E-03   -.60144    
   3  Normalizat    .78648        .22787        .98466E-05   -1.0057    
   4  Prefactor     1.0407        .23388        .44899E-04   -.91386    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21156e-09
Minuit parameter uncertainties:
  1  4.00864
  2  1.01345
  3  0.228142
  4  0.234106
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/219332': 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) = 3616.80824558
delta logL = 0.0554251416652

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  3.897e+00  4.009e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.171e+00  1.013e+00  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.041e+00  2.341e-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:  7.865e-01  2.281e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.52
Ra Dec: 141.005 28.276
Photon Index (Free Index): 2.17 +/- 1.01
Photon Flux (Free Index): 2.48e-08 +/- 3.94e-08
Energy Flux (Free Index): 1.18e-05 +/- 1.50e-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/219332/cmap_HighResolution_415843201_416102401_4FGL_J0924.0+2816_daily_bin681.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.34e-03', comment='SUCCESS', photon_flux='3.47e-08', energy_flux2='1.18e-05', photon_flux_error='3.36e-08', dlogl='5.54e-02', energy_flux='1.00e-05', photon_flux2='2.48e-08', job_status='DONE', time_completed='2021-08-31 11:30:16.108209', photon_index_error2='1.01', photon_index2='2.17', ts='2.42', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='1.20e-07', energy_flux_error2='1.50e-05', EG='0.77', time_epoch_completed='1630434616.11', return_code='0', job_id='219332', GAL2='1.04', EG2='0.79', return_code2='0', energy_flux_error='9.69e-06', photon_flux_error2='3.94e-08', ts2='2.52', photon_index='2.51' WHERE bin_id='681' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:30:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0013>
Subject: Job 219332: <4FGL_J0924.0+2816_daily_bin681> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin681> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 11:20:40 2021
Job was executed on host(s) <bullet0013>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:20:41 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:20:41 2021
Terminated at Tue Aug 31 11:30:17 2021
Results reported at Tue Aug 31 11:30:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin681 141.005 28.2755 415843201 416102401 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 :                                   500.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             294.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   575 sec.
    Turnaround time :                            577 sec.

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

