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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin1211
RA = 137.709, Dec = 38.9999
tmin = 553219201, tmax = 553478401
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='51927', job_status='RUN', time_executed='2021-08-31 02:51:26.722156', time_epoch_executed='1630403486.72' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='1211'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/51927

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/51927/ft1_4FGL_J0910.8+3859_daily_bin1211.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/51927/ft2_4FGL_J0910.8+3859_daily_bin1211.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/51927/ft1_4FGL_J0910.8+3859_daily_bin1211.fits outfile=/scratch/kocevski/51927/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1211.fits ra=137.709 dec=38.9999 rad=12.0 tmin=553219201.0 tmax=553478401.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.09
user 2.58
sys 2.48

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/51927/ft2_4FGL_J0910.8+3859_daily_bin1211.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/51927/ft2_4FGL_J0910.8+3859_daily_bin1211.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/51927/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1211.fits evtable="EVENTS" outfile="/scratch/kocevski/51927/ft1_filtered_4FGL_J0910.8+3859_daily_bin1211.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.81
user 0.31
sys 2.45

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/51927/ft1_filtered_4FGL_J0910.8+3859_daily_bin1211.fits" evtable="EVENTS" scfile=/scratch/kocevski/51927/ft2_4FGL_J0910.8+3859_daily_bin1211.fits sctable="SC_DATA" outfile=/scratch/kocevski/51927/ltcube_553219201_553478401_4FGL_J0910.8+3859_daily_bin1211.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/51927/ft2_4FGL_J0910.8+3859_daily_bin1211.fits
.....................!
real 14.83
user 12.14
sys 2.64

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/51927/ft1_filtered_4FGL_J0910.8+3859_daily_bin1211.fits evtable="EVENTS" scfile=/scratch/kocevski/51927/ft2_4FGL_J0910.8+3859_daily_bin1211.fits sctable="SC_DATA" expcube=/scratch/kocevski/51927/ltcube_553219201_553478401_4FGL_J0910.8+3859_daily_bin1211.fits outfile=/scratch/kocevski/51927/expmap_553219201_553478401_4FGL_J0910.8+3859_daily_bin1211.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/51927/ltcube_553219201_553478401_4FGL_J0910.8+3859_daily_bin1211.fits
.....................!
real 192.37
user 185.02
sys 7.02

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

Setting source of interest to:
4FGL J0910.8+3859 @ 137.709 38.9999

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/51927/ft1_filtered_4FGL_J0910.8+3859_daily_bin1211.fits scfile=/scratch/kocevski/51927/ft2_4FGL_J0910.8+3859_daily_bin1211.fits outfile=/scratch/kocevski/51927/cmap_553219201_553478401_4FGL_J0910.8+3859_daily_bin1211.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=137.709 yref=38.9999 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 2.79
user 0.37
sys 2.38

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/51927/ft1_filtered_4FGL_J0910.8+3859_daily_bin1211.fits scfile=/scratch/kocevski/51927/ft2_4FGL_J0910.8+3859_daily_bin1211.fits outfile=/scratch/kocevski/51927/cmap_HighResolution_553219201_553478401_4FGL_J0910.8+3859_daily_bin1211.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=137.709 yref=38.9999 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 2.81
user 0.41
sys 2.39

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/51927/ft1_filtered_4FGL_J0910.8+3859_daily_bin1211.fits evtable="EVENTS" scfile=/scratch/kocevski/51927/ft2_4FGL_J0910.8+3859_daily_bin1211.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/51927/Model_4FGL_J0910.8+3859_daily_bin1211.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/51927/ft1_filtered_4FGL_J0910.8+3859_daily_bin1211.fits.....................!
real 35.25
user 31.39
sys 3.78

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/51927/ft1_filtered_4FGL_J0910.8+3859_daily_bin1211.fits', '/scratch/kocevski/51927/ft2_4FGL_J0910.8+3859_daily_bin1211.fits', expMap='/scratch/kocevski/51927/expmap_553219201_553478401_4FGL_J0910.8+3859_daily_bin1211.fits', expCube='/scratch/kocevski/51927/ltcube_553219201_553478401_4FGL_J0910.8+3859_daily_bin1211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/51927/Model_4FGL_J0910.8+3859_daily_bin1211.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0910.8+3859'

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  5.960e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  1.996e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
320        Scale:  2.436e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/51927/ft1_filtered_4FGL_J0910.8+3859_daily_bin1211.fits
Spacecraft file(s): /scratch/kocevski/51927/ft2_4FGL_J0910.8+3859_daily_bin1211.fits
Exposure map: /scratch/kocevski/51927/expmap_553219201_553478401_4FGL_J0910.8+3859_daily_bin1211.fits
Exposure cube: /scratch/kocevski/51927/ltcube_553219201_553478401_4FGL_J0910.8+3859_daily_bin1211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/51927/Model_4FGL_J0910.8+3859_daily_bin1211.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) = 3224.98838299

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11219E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10086E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10328E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .15137E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .14298E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    41.049       1.0000         .10000E-03   10000.    
     7 'norm      '    4.3672       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10575E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.3516       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .15480E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.7883       1.0000         .10000E-03   10000.    
    16 'norm      '    .81299       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.9401       1.0000         .10000E-03   10000.    
    18 'norm      '    .10794E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .65306E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .48614E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    4.7371       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .68487E-01   1.0000         .10000E-03   10000.    
    24 'Prefactor '    32.391       1.0000         .10000E-03   10000.    
    25 'Prefactor '    10.204       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .59285       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.6449       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6390E+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=   3224.956     FROM MIGRAD    STATUS=CONVERGED   1204 CALLS     3914 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    41.965        .18142E-02** at limit **
   2  norm          .10000E-03    .57987        .42157E-03** at limit **
   3  Prefactor     .10000E-03    17.964        .18142E-02** at limit **
   4  Prefactor     .10000E-03    16.784        .29249E-02** at limit **
   5  Prefactor     .10000E-03    36.980        .18142E-02** at limit **
   6  Prefactor     41.076        31.951        .62566E-04    .12144E-03
   7  norm          4.3670        6.4301        .17024E-03    .50186E-04
   8  Prefactor     .10000E-03    8.0042        .16533E-02** at limit **
   9  Prefactor     .10000E-03    19.857        .18142E-02** at limit **
  10  Prefactor     .10000E-03    19.091        .18142E-02** at limit **
  11  Prefactor     3.3514        4.7690        .14335E-03   -.47743E-04
  12  Prefactor     .10000E-03    81.573        .18142E-02** at limit **
  13  Prefactor     .10000E-03    2.2331        .82514E-03** at limit **
  14  norm          .10000E-03    .99355        .55179E-03** at limit **
  15  Prefactor     3.7917        29.776        .20740E-03    .41331E-04
  16  norm          .81288        .69875        .34536E-04    .12012E-02
  17  Prefactor     2.9385        4.6216        .11384E-03    .32752E-03
  18  norm          .10000E-03    9.8061        .17191E-02** at limit **
  19  Prefactor     .10048E-03    82.070        .14194E-02** at limit **
  20  Prefactor     .10018E-03    40.495        .20019E-02** at limit **
  21  Prefactor     .10000E-03    9.6000        .17124E-02** at limit **
  22  norm          4.7284        14.032        .18487E-03   -.11779E-03
  23  Prefactor     .13537        27.686        .83561E-01    .36421E-04
  24  Prefactor     32.390        46.628        .70405E-04   -.35444E-04
  25  Prefactor     10.205        13.125        .12544E-03    .16994E-04
  26  Normalizat    .59259        .28302        .31073E-03    .27356E-03
  27  Prefactor     1.6451        .32234        .23871E-03    .24868E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.000100001
  Prefactor  = 41.0756
  norm       = 4.36695
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.35141
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.79169
  norm       = 0.812882
  Prefactor  = 2.93854
  norm       = 0.0001
  Prefactor  = 0.000100476
  Prefactor  = 0.000100176
  Prefactor  = 0.0001
  norm       = 4.72841
  Prefactor  = 0.135369
  Prefactor  = 32.3902
  Prefactor  = 10.2049
  Normalizat = 0.592595
  Prefactor  = 1.6451
 **********
 **   18 **HESSE 
 **********

 FCN=   3224.956     FROM HESSE     STATUS=OK           470 CALLS     4384 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    41.968        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .57987        .84314E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    17.964        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.882        .58498E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    36.981        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     41.076        31.949        .12513E-04   -1.4425    
   7  norm          4.3670        6.4299        .68096E-05   -1.5290    
   8  Prefactor     .10000E-03    8.0424        .33066E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    19.857        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    19.091        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.3514        4.7689        .57340E-05   -1.5342    
  12  Prefactor     .10000E-03    81.578        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.2332        .16503E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .99357        .11036E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.7917        29.742        .82960E-05   -1.5318    
  16  norm          .81288        .69862        .13814E-05   -1.5528    
  17  Prefactor     2.9385        4.6186        .45535E-05   -1.5365    
  18  norm          .10000E-03    9.8118        .34382E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10048E-03    84.731        .56778E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10018E-03    41.415        .40039E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.6023        .34249E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.7284        14.024        .73949E-05   -1.5273    
  23  Prefactor     .13537        26.891        .85400E-01   -1.5634    
  24  Prefactor     32.390        46.607        .28162E-05   -1.4569    
  25  Prefactor     10.205        13.124        .50175E-05   -1.5069    
  26  Normalizat    .59259        .28311        .12429E-04   -1.0830    
  27  Prefactor     1.6451        .32249        .47742E-04   -.73553    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06524e-08
Minuit parameter uncertainties:
  1  9.74488e-05
  2  5.7435e-06
  3  5.96824e-05
  4  0.000514892
  5  0.000298403
  6  31.9626
  7  6.43095
  8  0.000139974
  9  6.1224e-05
  10  9.86861e-06
  11  4.7694
  12  0.000173477
  13  1.18849e-05
  14  5.81874e-06
  15  21.2533
  16  0.698626
  17  4.61915
  18  1.24532e-05
  19  0.0127157
  20  0.00540031
  21  6.80455e-05
  22  14.0333
  23  3.8162
  24  46.6597
  25  13.1273
  26  0.283801
  27  0.322902
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  1.735e-04  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  1.996e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
320        Scale:  2.436e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
636    Prefactor:  1.645e+00  3.229e-01  0.000e+00  1.000e+01 ( 1.000e+00)
637        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
638        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
635   Normalization:  5.926e-01  2.838e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 137.709 39.000
Photon Flux Upper Limit: 9.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/51927/likelihoodResults_553219201_553478401_4FGL_J0910.8+3859_daily_bin1211.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) = 3224.95600822
delta logL = -5.82947022849e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3224.95600821
delta logL = -5.82876787121e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96345E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9965       1.0000          .0000       10.000    
     3 'Normalizat'    .59259       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6451       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3224.956     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      194 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    42.981        .90714E-02** at limit **
   2  Index         2.0206        5.9988        .50000       -.25514E-05
   3  Normalizat    .59259        .42107E-02    .70200E-01   -.57025E-05
   4  Prefactor     1.6451        .51227E-02    .53996E-01   -.11299E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100007
  Index      = 2.0206
  Normalizat = 0.592591
  Prefactor  = 1.6451
 **********
 **   18 **HESSE 
 **********

 FCN=   3224.956     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      227 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    352.35        .18143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0206        6.8904        .50000       -.63836    
   3  Normalizat    .59259        .12113E-01    .31072E-03   -1.0830    
   4  Prefactor     1.6451        .14765E-01    .23871E-03   -.73553    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.37296e-08
Minuit parameter uncertainties:
  1  0.00315204
  2  299.542
  3  0.012113
  4  0.0147647
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/51927': 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) = 3224.95594991
delta logL = 1.48284016177e-08

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  3.152e-03  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  2.021e+00  2.995e+02  0.000e+00  1.000e+01 (-1.000e+00)
320        Scale:  2.436e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
636    Prefactor:  1.645e+00  1.476e-02  0.000e+00  1.000e+01 ( 1.000e+00)
637        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
638        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
635   Normalization:  5.926e-01  1.211e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 137.709 39.000

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/51927/cmap_HighResolution_553219201_553478401_4FGL_J0910.8+3859_daily_bin1211.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.78e-03', job_status='DONE', photon_flux_upper_limit='9.04e-08', time_completed='2021-08-31 03:01:51.919699', job_id='51927', GAL2='1.65', fit_tolerance='1e-08', EG2='0.59', EG='0.59', time_epoch_completed='1630404111.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.65', dlogl='1.48e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1211' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 03:01:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 51927: <4FGL_J0910.8+3859_daily_bin1211> in cluster <slac> Done

Job <4FGL_J0910.8+3859_daily_bin1211> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 02:50:39 2021
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:50:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 02:50:40 2021
Terminated at Tue Aug 31 03:01:52 2021
Results reported at Tue Aug 31 03:01:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin1211 137.709 38.9999 553219201 553478401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0910.8+3859 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   661.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             341.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   672 sec.
    Turnaround time :                            673 sec.

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

