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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin1166
RA = 137.709, Dec = 38.9999
tmin = 541555201, tmax = 541814401
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='51860', job_status='RUN', time_executed='2021-08-31 02:51:02.252346', time_epoch_executed='1630403462.25' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='1166'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/51860

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/51860/ft1_4FGL_J0910.8+3859_daily_bin1166.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/51860/ft2_4FGL_J0910.8+3859_daily_bin1166.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/51860/ft1_4FGL_J0910.8+3859_daily_bin1166.fits outfile=/scratch/kocevski/51860/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1166.fits ra=137.709 dec=38.9999 rad=12.0 tmin=541555201.0 tmax=541814401.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 4.16
user 3.38
sys 0.71

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/51860/ft2_4FGL_J0910.8+3859_daily_bin1166.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/51860/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1166.fits evtable="EVENTS" outfile="/scratch/kocevski/51860/ft1_filtered_4FGL_J0910.8+3859_daily_bin1166.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.01
user 0.32
sys 0.67

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/51860/ft1_filtered_4FGL_J0910.8+3859_daily_bin1166.fits" evtable="EVENTS" scfile=/scratch/kocevski/51860/ft2_4FGL_J0910.8+3859_daily_bin1166.fits sctable="SC_DATA" outfile=/scratch/kocevski/51860/ltcube_541555201_541814401_4FGL_J0910.8+3859_daily_bin1166.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/51860/ft2_4FGL_J0910.8+3859_daily_bin1166.fits
.....................!
real 12.59
user 11.73
sys 0.80

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/51860/ft1_filtered_4FGL_J0910.8+3859_daily_bin1166.fits evtable="EVENTS" scfile=/scratch/kocevski/51860/ft2_4FGL_J0910.8+3859_daily_bin1166.fits sctable="SC_DATA" expcube=/scratch/kocevski/51860/ltcube_541555201_541814401_4FGL_J0910.8+3859_daily_bin1166.fits outfile=/scratch/kocevski/51860/expmap_541555201_541814401_4FGL_J0910.8+3859_daily_bin1166.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/51860/ltcube_541555201_541814401_4FGL_J0910.8+3859_daily_bin1166.fits
.....................!
real 190.82
user 184.97
sys 5.09

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/51860/ft1_filtered_4FGL_J0910.8+3859_daily_bin1166.fits scfile=/scratch/kocevski/51860/ft2_4FGL_J0910.8+3859_daily_bin1166.fits outfile=/scratch/kocevski/51860/cmap_541555201_541814401_4FGL_J0910.8+3859_daily_bin1166.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 1.03
user 0.38
sys 0.62

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/51860/ft1_filtered_4FGL_J0910.8+3859_daily_bin1166.fits scfile=/scratch/kocevski/51860/ft2_4FGL_J0910.8+3859_daily_bin1166.fits outfile=/scratch/kocevski/51860/cmap_HighResolution_541555201_541814401_4FGL_J0910.8+3859_daily_bin1166.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 1.04
user 0.37
sys 0.66

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/51860/ft1_filtered_4FGL_J0910.8+3859_daily_bin1166.fits', '/scratch/kocevski/51860/ft2_4FGL_J0910.8+3859_daily_bin1166.fits', expMap='/scratch/kocevski/51860/expmap_541555201_541814401_4FGL_J0910.8+3859_daily_bin1166.fits', expCube='/scratch/kocevski/51860/ltcube_541555201_541814401_4FGL_J0910.8+3859_daily_bin1166.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/51860/Model_4FGL_J0910.8+3859_daily_bin1166.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/51860/ft1_filtered_4FGL_J0910.8+3859_daily_bin1166.fits
Spacecraft file(s): /scratch/kocevski/51860/ft2_4FGL_J0910.8+3859_daily_bin1166.fits
Exposure map: /scratch/kocevski/51860/expmap_541555201_541814401_4FGL_J0910.8+3859_daily_bin1166.fits
Exposure cube: /scratch/kocevski/51860/ltcube_541555201_541814401_4FGL_J0910.8+3859_daily_bin1166.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/51860/Model_4FGL_J0910.8+3859_daily_bin1166.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) = 6590.48446046

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6455       1.0000         .10000E-03   10000.    
     2 'norm      '    .52585       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.8836       1.0000         .10000E-03   10000.    
     7 'norm      '    8.5901       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.824       1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.360       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10496E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.6176       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.0493       1.0000         .10000E-03   10000.    
    16 'norm      '    .65780       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.7601       1.0000         .10000E-03   10000.    
    18 'norm      '    .84647       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.1326       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .25394E-01   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .84133       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.4695       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.

 FCN=   6590.478     FROM MIGRAD    STATUS=CONVERGED    740 CALLS     3508 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6490        6.1364        .10503E-04   -.57756E-03
   2  norm          .52597        .41244       -.13081E-06   -.22657E-03
   3  Prefactor     .10000E-03    7.3502        .48142E-06** at limit **
   4  Prefactor     .10000E-03    1.3515        .29843E-06** at limit **
   5  Prefactor     .10000E-03    9.6714        .26973E-06** at limit **
   6  Prefactor     5.8869        6.5195       -.40738E-06   -.11952E-03
   7  norm          8.5932        6.1061        .60206E-07   -.21200E-04
   8  Prefactor     .10000E-03    1.3591       -.18185E-06** at limit **
   9  Prefactor     26.861        27.701        .80685E-05    .52894E-03
  10  Prefactor     18.485        48.309        .78686E-05    .10644E-03
  11  Prefactor     .10000E-03    2.2227       -.11006E-06** at limit **
  12  Prefactor     .10000E-03    23.992        .51565E-07** at limit **
  13  Prefactor     .10000E-03    1.1772        .73727E-07** at limit **
  14  norm          1.6181        1.4524       -.17056E-06   -.29420E-03
  15  Prefactor     4.0414        16.171       -.70708E-07   -.55351E-04
  16  norm          .65787        .63274        .54144E-07   -.13656E-03
  17  Prefactor     4.7633        4.7705       -.42771E-07   -.27995E-03
  18  norm          .87503        5.2144       -.67926E-06    .19934E-04
  19  Prefactor     3.1303        2.8826        .24366E-07   -.30041E-03
  20  Prefactor     .10000E-03    4.5395       -.13649E-05** at limit **
  21  Prefactor     .10000E-03    26.041        .11757E-06** at limit **
  22  norm          .10000E-03    9.4000       -.10966E-07** at limit **
  23  Prefactor     .10000E-03    18.514        .11452E-06** at limit **
  24  Prefactor     .73258        29.021        .31031E-05   -.98061E-04
  25  Prefactor     .10000E-03    4.1397        .12214E-06** at limit **
  26  Normalizat    .84026        .18877        .23922E-07   -.66390E-04
  27  Prefactor     1.4699        .18539       -.24490E-05   -.22505E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.64899
  norm       = 0.525971
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.88689
  norm       = 8.59323
  Prefactor  = 0.0001
  Prefactor  = 26.8613
  Prefactor  = 18.4852
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.61812
  Prefactor  = 4.04142
  norm       = 0.657875
  Prefactor  = 4.76325
  norm       = 0.875028
  Prefactor  = 3.13034
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.732576
  Prefactor  = 0.0001
  Normalizat = 0.840264
  Prefactor  = 1.46994
 **********
 **   18 **HESSE 
 **********

 FCN=   6590.478     FROM HESSE     STATUS=OK           492 CALLS     4000 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6490        6.2183        .16464E-02   -1.5451    
   2  norm          .52597        .43634        .44380E-03   -1.5563    
   3  Prefactor     .10000E-03    7.3803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.3710        .92149E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.6784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.8869        6.5197        .16556E-03   -1.5223    
   7  norm          8.5932        6.1021        .13677E-03   -1.5122    
   8  Prefactor     .10000E-03    1.3857        .92287E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     26.861        28.010        .77349E-04   -1.4671    
  10  Prefactor     18.485        48.375        .93473E-04   -1.4848    
  11  Prefactor     .10000E-03    4.4396        .23423E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    24.013        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.1852        .85927E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.6181        1.4668        .89931E-04   -1.5454    
  15  Prefactor     4.0414        16.041        .20038E-03   -1.5306    
  16  norm          .65787        .61807        .48246E-04   -1.5546    
  17  Prefactor     4.7633        4.7487        .12774E-03   -1.5271    
  18  norm          .87503        17.242        .32190E-02   -1.5521    
  19  Prefactor     3.1303        2.8449        .12032E-03   -1.5354    
  20  Prefactor     .10000E-03    4.6894        .33836E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    27.155        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    9.4734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    18.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .73258        272.42        .81727E-02   -1.5537    
  25  Prefactor     .10000E-03    4.1532        .16131E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .84026        .22356        .29191E-03   -.98592    
  27  Prefactor     1.4699        .21974        .24111E-03   -.78385    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67674e-09
Minuit parameter uncertainties:
  1  6.22074
  2  0.43634
  3  4.54423e-05
  4  1.34568e-05
  5  3.21282e-05
  6  6.52051
  7  6.10249
  8  1.06484e-05
  9  28.0237
  10  48.4776
  11  1.48063e-05
  12  3.41412e-05
  13  4.57614e-06
  14  1.46682
  15  16.0583
  16  0.618079
  17  4.74906
  18  7.77061
  19  2.84504
  20  0.000145183
  21  1.37939e-05
  22  3.02282e-06
  23  2.52839e-05
  24  28.3826
  25  1.21436e-05
  26  0.223802
  27  0.219881
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  3.414e-05  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.470e+00  2.199e-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:  8.403e-01  2.238e-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: 5.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/51860/likelihoodResults_541555201_541814401_4FGL_J0910.8+3859_daily_bin1166.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) = 6590.47824119
delta logL = -0.000198288889806

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6590.47804295
delta logL = -4.61704985355e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0763       1.0000          .0000       10.000    
     3 'Normalizat'    .84026       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4699       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=   6590.478     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      236 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    872.02        .90712E-02** at limit **
   2  Index         2.0709        5.1937        .50000        .18019E-05
   3  Normalizat    .84026        .29277E-01    .65985E-01    .22357E-04
   4  Prefactor     1.4699        .31057E-01    .54534E-01    .13240E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.0709
  Normalizat = 0.840262
  Prefactor  = 1.46994
 **********
 **   18 **HESSE 
 **********

 FCN=   6590.478     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      269 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6851.0        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0709        6.0352        .50000       -.62589    
   3  Normalizat    .84026        .87969E-01    .29191E-03   -.98592    
   4  Prefactor     1.4699        .93428E-01    .24111E-03   -.78385    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.94834e-10
Minuit parameter uncertainties:
  1  3.40394e-06
  2  54.6881
  3  0.0879836
  4  0.0934393
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/51860': 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) = 6590.47804293
delta logL = -2.79687810689e-08

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  3.404e-06  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  2.071e+00  5.469e+01  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.470e+00  9.344e-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:  8.403e-01  8.798e-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/51860/cmap_HighResolution_541555201_541814401_4FGL_J0910.8+3859_daily_bin1166.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.91e-03', job_status='DONE', photon_flux_upper_limit='5.22e-08', time_completed='2021-08-31 03:05:22.817294', job_id='51860', GAL2='1.47', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1630404322.82', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.47', dlogl='-2.80e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1166' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 03:05:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 51860: <4FGL_J0910.8+3859_daily_bin1166> in cluster <slac> Done

Job <4FGL_J0910.8+3859_daily_bin1166> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 02:50:34 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:50:35 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:35 2021
Terminated at Tue Aug 31 03:05:23 2021
Results reported at Tue Aug 31 03:05:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin1166 137.709 38.9999 541555201 541814401 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 :                                   865.40 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             324.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            889 sec.

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

