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


Performing analysis on: 4FGL_J0924.0+2816_daily_bin1210
RA = 141.005, Dec = 28.2755
tmin = 552960001, tmax = 553219201
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='222216', job_status='RUN', time_executed='2021-08-31 11:30:43.885252', time_epoch_executed='1630434643.89' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='1210'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222216

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222216/ft1_4FGL_J0924.0+2816_daily_bin1210.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222216/ft2_4FGL_J0924.0+2816_daily_bin1210.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/222216/ft1_4FGL_J0924.0+2816_daily_bin1210.fits outfile=/scratch/kocevski/222216/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin1210.fits ra=141.005 dec=28.2755 rad=12.0 tmin=552960001.0 tmax=553219201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.95
user 2.63
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/222216/ft2_4FGL_J0924.0+2816_daily_bin1210.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/222216/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin1210.fits evtable="EVENTS" outfile="/scratch/kocevski/222216/ft1_filtered_4FGL_J0924.0+2816_daily_bin1210.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 2.20
user 0.32
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/222216/ft1_filtered_4FGL_J0924.0+2816_daily_bin1210.fits" evtable="EVENTS" scfile=/scratch/kocevski/222216/ft2_4FGL_J0924.0+2816_daily_bin1210.fits sctable="SC_DATA" outfile=/scratch/kocevski/222216/ltcube_552960001_553219201_4FGL_J0924.0+2816_daily_bin1210.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/222216/ft2_4FGL_J0924.0+2816_daily_bin1210.fits
.....................!
real 13.49
user 12.16
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222216/ft1_filtered_4FGL_J0924.0+2816_daily_bin1210.fits evtable="EVENTS" scfile=/scratch/kocevski/222216/ft2_4FGL_J0924.0+2816_daily_bin1210.fits sctable="SC_DATA" expcube=/scratch/kocevski/222216/ltcube_552960001_553219201_4FGL_J0924.0+2816_daily_bin1210.fits outfile=/scratch/kocevski/222216/expmap_552960001_553219201_4FGL_J0924.0+2816_daily_bin1210.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/222216/ltcube_552960001_553219201_4FGL_J0924.0+2816_daily_bin1210.fits
.....................!
real 193.89
user 187.24
sys 5.47

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/222216/ft1_filtered_4FGL_J0924.0+2816_daily_bin1210.fits scfile=/scratch/kocevski/222216/ft2_4FGL_J0924.0+2816_daily_bin1210.fits outfile=/scratch/kocevski/222216/cmap_552960001_553219201_4FGL_J0924.0+2816_daily_bin1210.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 6.21
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/222216/ft1_filtered_4FGL_J0924.0+2816_daily_bin1210.fits scfile=/scratch/kocevski/222216/ft2_4FGL_J0924.0+2816_daily_bin1210.fits outfile=/scratch/kocevski/222216/cmap_HighResolution_552960001_553219201_4FGL_J0924.0+2816_daily_bin1210.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 1.65
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11395E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    57.549       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.1981       1.0000         .10000E-03   10000.    
     4 'norm      '    59.145       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11724E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.9794       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .26253E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10235E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.8230       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .74126E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    4.9719       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3954       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .68364       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=   2201.707     FROM MIGRAD    STATUS=CONVERGED    424 CALLS     2079 TOTAL
                     EDM=   .78E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.0109        .32189E-06** at limit **
   2  Prefactor     57.559        37.733       -.90020E-06   -.47265E-04
   3  Prefactor     6.1287        29.383        .35192E-05   -.32955E-05
   4  norm          59.103        84.450        .62834E-05    .19133E-05
   5  Prefactor     .10000E-03    3.2479        .49610E-08** at limit **
   6  Prefactor     .10000E-03    40.133        .46173E-06** at limit **
   7  norm          .10000E-03    1.0326       -.29854E-07** at limit **
   8  Prefactor     .10000E-03    14.619        .28037E-07** at limit **
   9  Prefactor     .10000E-03    105.41       -.69581E-05** at limit **
  10  norm          3.9786        8.2849        .22626E-06   -.26378E-05
  11  Prefactor     .10000E-03    5.2678       -.10442E-06** at limit **
  12  Prefactor     .10000E-03    125.94       -.98416E-06** at limit **
  13  Prefactor     .10000E-03    26.822       -.14633E-06** at limit **
  14  Prefactor     .10000E-03    121.52        .47436E-05** at limit **
  15  Prefactor     1.8156        7.3341        .67635E-05    .15847E-04
  16  Prefactor     .10000E-03    8.1212        .78469E-07** at limit **
  17  Prefactor     .65532E-01    2.3138       -.74926E-06    .34596E-03
  18  norm          4.9729        9.2749       -.12726E-08   -.84786E-07
  19  Normalizat    1.3962        .28189       -.13628E-05    .20390E-04
  20  Prefactor     .68269        .27811       -.10995E-05   -.29998E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 57.5593
  Prefactor  = 6.12865
  norm       = 59.1028
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.97857
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.81556
  Prefactor  = 0.0001
  Prefactor  = 0.0655318
  norm       = 4.97294
  Normalizat = 1.39619
  Prefactor  = 0.682693
 **********
 **   18 **HESSE 
 **********

 FCN=   2201.707     FROM HESSE     STATUS=OK           289 CALLS     2368 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.3962        .90993E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     57.559        37.401        .52882E-04   -1.4189    
   3  Prefactor     6.1287        29.493        .16125E-03   -1.5213    
   4  norm          59.103        84.652        .26084E-03   -1.4169    
   5  Prefactor     .10000E-03    3.2546        .82589E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    40.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.0331        .46569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.622        .17525E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    105.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.9786        8.2745        .18954E-03   -1.5309    
  11  Prefactor     .10000E-03    5.3368        .10512E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    126.96        .21445E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    26.823        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    122.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.8156        7.3688        .12019E-02   -1.5438    
  16  Prefactor     .10000E-03    8.1599        .13059E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .65532E-01    41.441        .12884E-02   -1.5657    
  18  norm          4.9729        9.2627        .18036E-03   -1.5262    
  19  Normalizat    1.3962        .33820        .20845E-03   -.80739    
  20  Prefactor     .68269        .32817        .29037E-03   -1.0421    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13811e-09
Minuit parameter uncertainties:
  1  1.15747e-05
  2  37.4165
  3  26.91
  4  84.8253
  5  1.41207e-06
  6  5.01653e-06
  7  1.29627e-06
  8  2.53661e-06
  9  0.000340482
  10  8.27688
  11  8.8825e-06
  12  0.000386067
  13  5.85072e-06
  14  2.79146e-05
  15  7.3167
  16  1.53097e-05
  17  3.29564
  18  9.26533
  19  0.338743
  20  0.3291
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  8.883e-06  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:  6.827e-01  3.291e-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:  1.396e+00  3.387e-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: 1.51e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.18e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/222216/likelihoodResults_552960001_553219201_4FGL_J0924.0+2816_daily_bin1210.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) = 2201.70813795
delta logL = -0.000889734328211

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2201.70724825
delta logL = -3.41237864632e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5057       1.0000          .0000       10.000    
     3 'Normalizat'    1.3962       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68271       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.

 FCN=   2201.707     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      212 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.782        .90712E-02** at limit **
   2  Index         2.5059        7.3527        .50000       -.28250E-06
   3  Normalizat    1.3962        .10970E-01    .47156E-01    .26484E-05
   4  Prefactor     .68270        .11160E-01    .65628E-01    .87348E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.50593
  Normalizat = 1.39619
  Prefactor  = 0.682695
 **********
 **   18 **HESSE 
 **********

 FCN=   2201.707     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      245 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    141.69        .10512E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5059        7.4847        .50000       -.52223    
   3  Normalizat    1.3962        .37286E-01    .20845E-03   -.80739    
   4  Prefactor     .68270        .37872E-01    .29037E-03   -1.0421    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59813e-09
Minuit parameter uncertainties:
  1  1.94019e-05
  2  585.394
  3  0.0372866
  4  0.0378738
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222216': 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) = 2201.70724822
delta logL = 4.8203219194e-11

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  1.940e-05  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.506e+00  5.854e+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:  6.827e-01  3.787e-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:  1.396e+00  3.729e-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/222216/cmap_HighResolution_552960001_553219201_4FGL_J0924.0+2816_daily_bin1210.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-02', job_status='DONE', photon_flux_upper_limit='1.51e-07', time_completed='2021-08-31 11:38:08.748808', job_id='222216', GAL2='0.68', fit_tolerance='1e-08', EG2='1.40', EG='1.40', time_epoch_completed='1630435088.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='4.82e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1210' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:38:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 222216: <4FGL_J0924.0+2816_daily_bin1210> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin1210> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Aug 31 11:26:35 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:26:55 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:55 2021
Terminated at Tue Aug 31 11:38:09 2021
Results reported at Tue Aug 31 11:38:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin1210 141.005 28.2755 552960001 553219201 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 :                                   409.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   674 sec.
    Turnaround time :                            694 sec.

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

