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


Performing analysis on: 4FGL_J0924.0+2816_daily_bin1336
RA = 141.005, Dec = 28.2755
tmin = 585619201, tmax = 585878401
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='222407', job_status='RUN', time_executed='2021-08-31 11:29:02.170563', time_epoch_executed='1630434542.17' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='1336'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222407

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222407/ft1_4FGL_J0924.0+2816_daily_bin1336.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222407/ft2_4FGL_J0924.0+2816_daily_bin1336.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/222407/ft1_4FGL_J0924.0+2816_daily_bin1336.fits outfile=/scratch/kocevski/222407/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin1336.fits ra=141.005 dec=28.2755 rad=12.0 tmin=585619201.0 tmax=585878401.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.30
user 2.52
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/222407/ft2_4FGL_J0924.0+2816_daily_bin1336.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/222407/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin1336.fits evtable="EVENTS" outfile="/scratch/kocevski/222407/ft1_filtered_4FGL_J0924.0+2816_daily_bin1336.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 1.08
user 0.36
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222407/ft1_filtered_4FGL_J0924.0+2816_daily_bin1336.fits evtable="EVENTS" scfile=/scratch/kocevski/222407/ft2_4FGL_J0924.0+2816_daily_bin1336.fits sctable="SC_DATA" expcube=/scratch/kocevski/222407/ltcube_585619201_585878401_4FGL_J0924.0+2816_daily_bin1336.fits outfile=/scratch/kocevski/222407/expmap_585619201_585878401_4FGL_J0924.0+2816_daily_bin1336.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/222407/ltcube_585619201_585878401_4FGL_J0924.0+2816_daily_bin1336.fits
.....................!
real 191.50
user 185.12
sys 4.62

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/222407/ft1_filtered_4FGL_J0924.0+2816_daily_bin1336.fits scfile=/scratch/kocevski/222407/ft2_4FGL_J0924.0+2816_daily_bin1336.fits outfile=/scratch/kocevski/222407/cmap_585619201_585878401_4FGL_J0924.0+2816_daily_bin1336.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.88
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/222407/ft1_filtered_4FGL_J0924.0+2816_daily_bin1336.fits scfile=/scratch/kocevski/222407/ft2_4FGL_J0924.0+2816_daily_bin1336.fits outfile=/scratch/kocevski/222407/cmap_HighResolution_585619201_585878401_4FGL_J0924.0+2816_daily_bin1336.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.82
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    56.762       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.4792       1.0000         .10000E-03   10000.    
     6 'Prefactor '    70.927       1.0000         .10000E-03   10000.    
     7 'norm      '    .10979E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    231.83       1.0000         .10000E-03   10000.    
    10 'norm      '    3.3386       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    113.91       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    29.158       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.493       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .59358       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3793       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=   2237.861     FROM MIGRAD    STATUS=CONVERGED    403 CALLS     2004 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.1273        .49324E-07** at limit **
   2  Prefactor     .10000E-03    19.930        .28012E-05** at limit **
   3  Prefactor     .10000E-03    56.375       -.47516E-05** at limit **
   4  norm          56.757        98.013       -.34940E-06   -.34632E-05
   5  Prefactor     4.4802        8.4418       -.39965E-06   -.78177E-04
   6  Prefactor     70.930        79.455       -.19985E-05    .17967E-04
   7  norm          .10000E-03    3.3708        .40410E-06** at limit **
   8  Prefactor     .10000E-03    21.430       -.45952E-05** at limit **
   9  Prefactor     231.84        168.01        .16944E-05    .19953E-04
  10  norm          3.3380        11.022        .96919E-05   -.34573E-03
  11  Prefactor     .10000E-03    4.2526        .19596E-06** at limit **
  12  Prefactor     .10000E-03    35.463        .19043E-05** at limit **
  13  Prefactor     113.77        164.21       -.14811E-04   -.14062E-03
  14  Prefactor     .10000E-03    42.308        .35721E-05** at limit **
  15  Prefactor     29.156        16.207        .85201E-06   -.93464E-05
  16  Prefactor     17.489        20.744       -.20377E-06   -.22833E-04
  17  Prefactor     .10000E-03    1.5083        .17998E-06** at limit **
  18  norm          .10000E-03    4.5395        .81450E-07** at limit **
  19  Normalizat    .59378        .33515       -.14115E-05   -.94895E-05
  20  Prefactor     1.3791        .32787        .59335E-06   -.48867E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100003
  norm       = 56.757
  Prefactor  = 4.48018
  Prefactor  = 70.9298
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 231.839
  norm       = 3.33796
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 113.772
  Prefactor  = 0.000100002
  Prefactor  = 29.1555
  Prefactor  = 17.4892
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.593781
  Prefactor  = 1.37909
 **********
 **   18 **HESSE 
 **********

 FCN=   2237.861     FROM HESSE     STATUS=OK           283 CALLS     2287 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.1289        .49052E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    57.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          56.757        98.093        .53246E-04   -1.4200    
   5  Prefactor     4.4802        8.4403        .18024E-03   -1.5285    
   6  Prefactor     70.930        79.496        .47666E-04   -1.4022    
   7  norm          .10000E-03    6.7530        .16834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    21.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     231.84        168.09        .13291E-03   -1.2651    
  10  norm          3.3380        11.489        .11076E-02   -1.5343    
  11  Prefactor     .10000E-03    4.2783        .95232E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    35.560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     113.77        171.58        .18847E-03   -1.3571    
  14  Prefactor     .10000E-03    42.646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     29.156        16.215        .74196E-04   -1.4628    
  16  Prefactor     17.489        20.879        .95760E-04   -1.4871    
  17  Prefactor     .10000E-03    1.5244        .56704E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.5437        .98436E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .59378        .38888        .33351E-03   -1.0825    
  20  Prefactor     1.3791        .38504        .23826E-03   -.80985    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46493e-09
Minuit parameter uncertainties:
  1  2.43956e-07
  2  0.000267956
  3  0.000874812
  4  98.3743
  5  8.44254
  6  79.6155
  7  0.000112929
  8  0.00056097
  9  168.439
  10  11.4964
  11  2.87932e-06
  12  0.000242195
  13  172.34
  14  0.000622586
  15  16.2176
  16  20.8876
  17  2.23332e-06
  18  8.6989e-07
  19  0.390692
  20  0.385844
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  2.879e-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:  1.379e+00  3.858e-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:  5.938e-01  3.907e-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.60e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.24e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/222407/likelihoodResults_585619201_585878401_4FGL_J0924.0+2816_daily_bin1336.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) = 2237.86176048
delta logL = -0.00109385582437

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2237.86066662
delta logL = 3.41788108926e-09

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.4989       1.0000          .0000       10.000    
     3 'Normalizat'    .59379       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3791       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=   2237.861     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      241 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10045E-03    162.16        .95415E-03** at limit **
   2  Index         2.4520        7.0063        .50000        .11020E-04
   3  Normalizat    .59378        .48185E-01    .33350E-03    .18749E-05
   4  Prefactor     1.3791        .50758E-01    .23826E-03    .67756E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100453
  Index      = 2.45195
  Normalizat = 0.59378
  Prefactor  = 1.3791
 **********
 **   18 **HESSE 
 **********

 FCN=   2237.861     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10045E-03    572.00        .19083E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4520        7.5419        .50000       -.53473    
   3  Normalizat    .59378        .10806        .13340E-04   -1.0825    
   4  Prefactor     1.3791        .11382        .47652E-04   -.80985    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.8615e-08
Minuit parameter uncertainties:
  1  0.0325161
  2  1455.06
  3  0.108103
  4  0.113836
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222407': 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) = 2237.86066652
delta logL = 1.04046193883e-07

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.005e-04  3.252e-02  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.452e+00  1.455e+03  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.379e+00  1.138e-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:  5.938e-01  1.081e-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/222407/cmap_HighResolution_585619201_585878401_4FGL_J0924.0+2816_daily_bin1336.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-02', job_status='DONE', photon_flux_upper_limit='1.60e-07', time_completed='2021-08-31 11:36:09.624334', job_id='222407', GAL2='1.38', fit_tolerance='1e-08', EG2='0.59', EG='0.59', time_epoch_completed='1630434969.62', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.38', dlogl='1.04e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1336' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:36:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 222407: <4FGL_J0924.0+2816_daily_bin1336> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin1336> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Aug 31 11:26:49 2021
Job was executed on host(s) <bullet0199>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:27:18 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:27:18 2021
Terminated at Tue Aug 31 11:36:10 2021
Results reported at Tue Aug 31 11:36:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin1336 141.005 28.2755 585619201 585878401 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 :                                   398.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             267.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   531 sec.
    Turnaround time :                            561 sec.

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

