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


Performing analysis on: 4FGL_J0924.0+2816_daily_bin1531
RA = 141.005, Dec = 28.2755
tmin = 636163201, tmax = 636422401
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='223951', job_status='RUN', time_executed='2021-08-31 11:37:58.041605', time_epoch_executed='1630435078.04' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='1531'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/223951

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/223951/ft1_4FGL_J0924.0+2816_daily_bin1531.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/223951/ft2_4FGL_J0924.0+2816_daily_bin1531.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/223951/ft1_4FGL_J0924.0+2816_daily_bin1531.fits outfile=/scratch/kocevski/223951/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin1531.fits ra=141.005 dec=28.2755 rad=12.0 tmin=636163201.0 tmax=636422401.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 7.31
user 2.70
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/223951/ft2_4FGL_J0924.0+2816_daily_bin1531.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/223951/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin1531.fits evtable="EVENTS" outfile="/scratch/kocevski/223951/ft1_filtered_4FGL_J0924.0+2816_daily_bin1531.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.00
user 0.29
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/223951/ft1_filtered_4FGL_J0924.0+2816_daily_bin1531.fits" evtable="EVENTS" scfile=/scratch/kocevski/223951/ft2_4FGL_J0924.0+2816_daily_bin1531.fits sctable="SC_DATA" outfile=/scratch/kocevski/223951/ltcube_636163201_636422401_4FGL_J0924.0+2816_daily_bin1531.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/223951/ft2_4FGL_J0924.0+2816_daily_bin1531.fits
.....................!
real 16.30
user 10.17
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/223951/ft1_filtered_4FGL_J0924.0+2816_daily_bin1531.fits evtable="EVENTS" scfile=/scratch/kocevski/223951/ft2_4FGL_J0924.0+2816_daily_bin1531.fits sctable="SC_DATA" expcube=/scratch/kocevski/223951/ltcube_636163201_636422401_4FGL_J0924.0+2816_daily_bin1531.fits outfile=/scratch/kocevski/223951/expmap_636163201_636422401_4FGL_J0924.0+2816_daily_bin1531.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/223951/ltcube_636163201_636422401_4FGL_J0924.0+2816_daily_bin1531.fits
.....................!
real 166.71
user 147.96
sys 3.53

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/223951/ft1_filtered_4FGL_J0924.0+2816_daily_bin1531.fits scfile=/scratch/kocevski/223951/ft2_4FGL_J0924.0+2816_daily_bin1531.fits outfile=/scratch/kocevski/223951/cmap_636163201_636422401_4FGL_J0924.0+2816_daily_bin1531.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.59
user 0.31
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/223951/ft1_filtered_4FGL_J0924.0+2816_daily_bin1531.fits scfile=/scratch/kocevski/223951/ft2_4FGL_J0924.0+2816_daily_bin1531.fits outfile=/scratch/kocevski/223951/cmap_HighResolution_636163201_636422401_4FGL_J0924.0+2816_daily_bin1531.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.57
user 0.32
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .65595       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14074E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10445E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.4032       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.2278       1.0000         .10000E-03   10000.    
     7 'norm      '    .91116       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .55772E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10458E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    7.9830       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12313E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10188E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .23148E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11256E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.7226       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12136E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.3185       1.0000         .10000E-03   10000.    
    18 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1363       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .91601       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=   5564.575     FROM MIGRAD    STATUS=CONVERGED    454 CALLS     1811 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .65628        .77785        .13591E-06    .12050E-02
   2  Prefactor     .10000E-03    8.1275        .11136E-06** at limit **
   3  Prefactor     .10001E-03    32.509       -.34629E-06** at limit **
   4  norm          .10000E-03    11.508        .11629E-06** at limit **
   5  Prefactor     3.4028        3.7156        .77076E-07    .21435E-03
   6  Prefactor     2.1414        169.67       -.53606E-05    .15185E-04
   7  norm          .91105        .91538        .91493E-08   -.27482E-03
   8  Prefactor     .10002E-03    82.083       -.28330E-04** at limit **
   9  Prefactor     .10000E-03    95.799        .20393E-05** at limit **
  10  norm          7.9840        7.3706       -.17318E-05   -.27824E-03
  11  Prefactor     .10000E-03    2.0939        .85240E-06** at limit **
  12  Prefactor     .10000E-03    15.399        .23156E-06** at limit **
  13  Prefactor     .10001E-03    124.42       -.41403E-05** at limit **
  14  Prefactor     .10000E-03    35.157        .14908E-05** at limit **
  15  Prefactor     2.7282        6.9434        .86234E-06    .42794E-03
  16  Prefactor     .10000E-03    9.7214       -.65192E-05** at limit **
  17  Prefactor     1.3183        1.3881        .22267E-07   -.16268E-04
  18  norm          .10000E-03    3.6163        .54200E-07** at limit **
  19  Normalizat    1.1363        .17337       -.42897E-06   -.17404E-03
  20  Prefactor     .91594        .17019       -.86369E-06   -.33926E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.656277
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  norm       = 0.0001
  Prefactor  = 3.40275
  Prefactor  = 2.14145
  norm       = 0.911054
  Prefactor  = 0.000100019
  Prefactor  = 0.0001
  norm       = 7.98402
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 2.72824
  Prefactor  = 0.000100005
  Prefactor  = 1.3183
  norm       = 0.0001
  Normalizat = 1.13634
  Prefactor  = 0.915937
 **********
 **   18 **HESSE 
 **********

 FCN=   5564.575     FROM HESSE     STATUS=OK           295 CALLS     2106 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .65628        .75267        .68591E-03   -1.5546    
   2  Prefactor     .10000E-03    8.1828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    33.085        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    11.514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.4028        3.7116        .14407E-03   -1.5339    
   6  Prefactor     2.1414        173.64        .27546E-03   -1.5415    
   7  norm          .91105        .94402        .69622E-03   -1.5517    
   8  Prefactor     .10002E-03    89.774        .53054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    96.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.9840        7.3859        .14191E-03   -1.5143    
  11  Prefactor     .10000E-03    4.4687        .20749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    124.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    35.210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.7282        6.9727        .24681E-03   -1.5378    
  16  Prefactor     .10000E-03    33.215        .37105E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.3183        1.3919        .87408E-04   -1.5478    
  18  norm          .10000E-03    3.6237        .13853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1363        .19694        .21903E-03   -.88593    
  20  Prefactor     .91594        .19593        .24508E-03   -.95586    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76462e-09
Minuit parameter uncertainties:
  1  0.752685
  2  4.33158e-05
  3  0.000899927
  4  2.0411e-05
  5  3.71184
  6  38.6817
  7  0.944035
  8  0.00264835
  9  0.000276376
  10  7.38677
  11  0.00013221
  12  6.92721e-05
  13  0.00202848
  14  3.37453e-05
  15  6.9748
  16  0.000802966
  17  1.39194
  18  1.2527e-05
  19  0.197069
  20  0.196081
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  1.322e-04  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:  9.159e-01  1.961e-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.136e+00  1.971e-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: 6.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/223951/likelihoodResults_636163201_636422401_4FGL_J0924.0+2816_daily_bin1531.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) = 5564.57620276
delta logL = -0.00106588655763

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5564.57513921
delta logL = -2.33938953897e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11384E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5663       1.0000          .0000       10.000    
     3 'Normalizat'    1.1368       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91552       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5564.575     FROM MIGRAD    STATUS=FAILED       100 CALLS      266 TOTAL
                     EDM=   .22E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10084E-03    687.34        .17330E-02** at limit **
   2  Index         2.6486        7.9749        .50000       -.15029E-03
   3  Normalizat    1.1363        .47041E-01    .21903E-03    .10552E-03
   4  Prefactor     .91594        .47890E-01    .24508E-03    .60350E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5564.575     FROM SIMPLEX   STATUS=UNCHANGED    144 CALLS      410 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10084E-03    687.34        .41434E-03** at limit **
   2  Index         2.6486        7.9749        .14132E-04   -.15029E-03
   3  Normalizat    1.1363        .47041E-01    .37672E-06    .10552E-03
   4  Prefactor     .91594        .47890E-01    .31350E-06    .60350E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5564.339     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      494 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .50626E-01    1.4136        .34660E-02    .53892E-02
   2  Index         5.0559        3.3982        .20000        .11978E-03
   3  Normalizat    1.0963        .30519E-01    .43806E-04   -.72256E-03
   4  Prefactor     .94137        .31175E-01    .98033E-05   -.55456E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0506264
  Index      = 5.05589
  Normalizat = 1.09627
  Prefactor  = 0.941366
 **********
 **   18 **HESSE 
 **********

 FCN=   5564.339     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      523 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .50626E-01    6.1293        .25431E-04   -1.5663    
   2  Index         5.0559        6.6593        .79925E-02    .11178E-01
   3  Normalizat    1.0963        .16039        .87613E-05   -.89872    
   4  Prefactor     .94137        .16053        .19607E-05   -.94710    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.98389e-09
Minuit parameter uncertainties:
  1  1.11312
  2  12.2085
  3  0.160457
  4  0.160609
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/223951': 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) = 5564.338898
delta logL = 0.236238869672

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  5.063e-02  1.113e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  5.056e+00  1.221e+01  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:  9.414e-01  1.606e-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.096e+00  1.605e-01  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/223951/cmap_HighResolution_636163201_636422401_4FGL_J0924.0+2816_daily_bin1531.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.31e-03', job_status='DONE', photon_flux_upper_limit='6.82e-08', time_completed='2021-08-31 11:46:08.770886', job_id='223951', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.14', time_epoch_completed='1630435568.77', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.36e-01', ts2='0.50', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1531' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:46:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 223951: <4FGL_J0924.0+2816_daily_bin1531> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin1531> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 11:31:59 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:32:13 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:32:13 2021
Terminated at Tue Aug 31 11:46:09 2021
Results reported at Tue Aug 31 11:46:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin1531 141.005 28.2755 636163201 636422401 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 :                                   442.56 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             208.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            850 sec.

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

