/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 4 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 = 7403
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0910.8+3859_daily_bin185
RA = 137.709, Dec = 38.9999
tmin = 287280001, tmax = 287539201
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='46761', job_status='RUN', time_executed='2021-08-31 02:36:01.454581', time_epoch_executed='1630402561.45' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='185'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/46761

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/46761/ft1_4FGL_J0910.8+3859_daily_bin185.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/46761/ft2_4FGL_J0910.8+3859_daily_bin185.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/46761/ft1_4FGL_J0910.8+3859_daily_bin185.fits outfile=/scratch/kocevski/46761/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin185.fits ra=137.709 dec=38.9999 rad=12.0 tmin=287280001.0 tmax=287539201.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.03
user 3.32
sys 0.58

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/46761/ft2_4FGL_J0910.8+3859_daily_bin185.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/46761/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin185.fits evtable="EVENTS" outfile="/scratch/kocevski/46761/ft1_filtered_4FGL_J0910.8+3859_daily_bin185.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 0.73
user 0.33
sys 0.33

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/46761/ft1_filtered_4FGL_J0910.8+3859_daily_bin185.fits" evtable="EVENTS" scfile=/scratch/kocevski/46761/ft2_4FGL_J0910.8+3859_daily_bin185.fits sctable="SC_DATA" outfile=/scratch/kocevski/46761/ltcube_287280001_287539201_4FGL_J0910.8+3859_daily_bin185.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/46761/ft2_4FGL_J0910.8+3859_daily_bin185.fits
.....................!
real 12.40
user 11.67
sys 0.61

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/46761/ft1_filtered_4FGL_J0910.8+3859_daily_bin185.fits evtable="EVENTS" scfile=/scratch/kocevski/46761/ft2_4FGL_J0910.8+3859_daily_bin185.fits sctable="SC_DATA" expcube=/scratch/kocevski/46761/ltcube_287280001_287539201_4FGL_J0910.8+3859_daily_bin185.fits outfile=/scratch/kocevski/46761/expmap_287280001_287539201_4FGL_J0910.8+3859_daily_bin185.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/46761/ltcube_287280001_287539201_4FGL_J0910.8+3859_daily_bin185.fits
.....................!
real 193.05
user 185.74
sys 6.00

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/46761/ft1_filtered_4FGL_J0910.8+3859_daily_bin185.fits scfile=/scratch/kocevski/46761/ft2_4FGL_J0910.8+3859_daily_bin185.fits outfile=/scratch/kocevski/46761/cmap_287280001_287539201_4FGL_J0910.8+3859_daily_bin185.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 0.73
user 0.39
sys 0.30

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/46761/ft1_filtered_4FGL_J0910.8+3859_daily_bin185.fits scfile=/scratch/kocevski/46761/ft2_4FGL_J0910.8+3859_daily_bin185.fits outfile=/scratch/kocevski/46761/cmap_HighResolution_287280001_287539201_4FGL_J0910.8+3859_daily_bin185.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 0.72
user 0.37
sys 0.33

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5641       1.0000         .10000E-03   10000.    
     2 'norm      '    1.3042       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.9967       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.895       1.0000         .10000E-03   10000.    
     7 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    51.313       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.2659       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .70682       1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.190       1.0000         .10000E-03   10000.    
    16 'norm      '    .10067E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.1246       1.0000         .10000E-03   10000.    
    18 'norm      '    3.8679       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.7623       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.1178       1.0000         .10000E-03   10000.    
    22 'norm      '    .12231E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10211E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    11.028       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .99756E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0427       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .70999       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=   5766.311     FROM MIGRAD    STATUS=CONVERGED    678 CALLS     3451 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5622        2.6090        .71944E-06   -.28756E-02
   2  norm          1.3041        .56919       -.30371E-07    .23443E-03
   3  Prefactor     .10000E-03    9.0032        .86133E-07** at limit **
   4  Prefactor     5.9950        2.9126       -.94413E-07    .67808E-04
   5  Prefactor     .10000E-03    20.364       -.95025E-05** at limit **
   6  Prefactor     13.895        10.368       -.56019E-07    .93529E-04
   7  norm          .10000E-03    3.2435        .12765E-06** at limit **
   8  Prefactor     .10000E-03    1.7279        .80510E-06** at limit **
   9  Prefactor     .10000E-03    22.184        .63374E-06** at limit **
  10  Prefactor     51.293        67.599       -.19226E-04   -.13875E-03
  11  Prefactor     2.2661        2.8751       -.86253E-07   -.77272E-04
  12  Prefactor     .10000E-03    10.804       -.63807E-06** at limit **
  13  Prefactor     .10000E-03    .92881       -.14183E-10** at limit **
  14  norm          .70674        1.5259       -.52253E-07   -.30803E-03
  15  Prefactor     11.187        13.962        .37372E-06    .19007E-04
  16  norm          .10000E-03    .31703       -.26301E-07** at limit **
  17  Prefactor     1.1296        1.9934        .61012E-07   -.16958E-03
  18  norm          3.8670        5.7568       -.27717E-06   -.56191E-04
  19  Prefactor     .10000E-03    1.0554       -.57347E-07** at limit **
  20  Prefactor     5.7629        3.7791       -.73747E-08    .81815E-06
  21  Prefactor     5.1173        8.3731        .45721E-06   -.57140E-03
  22  norm          .10000E-03    22.992        .64773E-05** at limit **
  23  Prefactor     .10000E-03    15.691        .30799E-05** at limit **
  24  Prefactor     11.030        21.691       -.22075E-06   -.82709E-04
  25  Prefactor     .10006E-03    7.2051       -.66397E-06** at limit **
  26  Normalizat    1.0426        .15952        .10557E-05   -.16336E-03
  27  Prefactor     .71018        .16335       -.96553E-07   -.43744E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.56219
  norm       = 1.30409
  Prefactor  = 0.0001
  Prefactor  = 5.99497
  Prefactor  = 0.0001
  Prefactor  = 13.8949
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 51.2925
  Prefactor  = 2.26611
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.706741
  Prefactor  = 11.1874
  norm       = 0.0001
  Prefactor  = 1.12957
  norm       = 3.86699
  Prefactor  = 0.0001
  Prefactor  = 5.76295
  Prefactor  = 5.1173
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.0304
  Prefactor  = 0.000100063
  Normalizat = 1.04256
  Prefactor  = 0.710184
 **********
 **   18 **HESSE 
 **********

 FCN=   5766.311     FROM HESSE     STATUS=OK           504 CALLS     3955 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5622        5.9974        .12747E-02   -1.5388    
   2  norm          1.3041        .57894        .36317E-04   -1.5480    
   3  Prefactor     .10000E-03    9.0689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.9950        2.9180        .86156E-04   -1.5218    
   5  Prefactor     .10000E-03    20.346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.895        10.360        .10745E-03   -1.4962    
   7  norm          .10000E-03    3.2835        .13353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.6391        .19088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    22.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     51.293        68.103        .55987E-04   -1.4274    
  11  Prefactor     2.2661        2.8588        .13978E-03   -1.5407    
  12  Prefactor     .10000E-03    10.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    .95259        .14274E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .70674        1.4040        .13170E-02   -1.5540    
  15  Prefactor     11.187        13.868        .11976E-03   -1.5039    
  16  norm          .10000E-03    .55646        .71079E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.1296        1.6816        .11617E-03   -1.5495    
  18  norm          3.8670        5.7022        .20258E-03   -1.5315    
  19  Prefactor     .10000E-03    1.6540        .14861E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.7629        3.7621        .11401E-03   -1.5228    
  21  Prefactor     5.1173        8.5032        .88860E-03   -1.5256    
  22  norm          .10000E-03    23.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    15.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     11.030        21.677        .12064E-03   -1.5044    
  25  Prefactor     .10006E-03    8.5899        .60556E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0426        .18293        .20761E-03   -.91618    
  27  Prefactor     .71018        .18836        .26350E-03   -1.0313    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82738e-08
Minuit parameter uncertainties:
  1  5.99878
  2  0.578941
  3  1.36078e-06
  4  2.91807
  5  0.000135818
  6  10.3616
  7  3.00825e-05
  8  0.000186114
  9  2.53327e-05
  10  68.2066
  11  2.85897
  12  1.17652e-05
  13  1.5859e-06
  14  1.40403
  15  13.8715
  16  1.67265e-06
  17  1.68171
  18  5.70303
  19  1.35018e-05
  20  3.76228
  21  8.50523
  22  1.71781e-05
  23  5.9791e-06
  24  21.6927
  25  0.00147694
  26  0.183038
  27  0.188526
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  1.177e-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:  7.102e-01  1.885e-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:  1.043e+00  1.830e-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: 3.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/46761/likelihoodResults_287280001_287539201_4FGL_J0910.8+3859_daily_bin185.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) = 5766.31113726
delta logL = -0.000439394761088

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5766.31069785
delta logL = 1.26701706904e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10340E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9636       1.0000          .0000       10.000    
     3 'Normalizat'    1.0425       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71022       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=   5766.311     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      235 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10113E-03    63.641        .18142E-02** at limit **
   2  Index         1.9125        5.3900        .50000        .18762E-04
   3  Normalizat    1.0426        .88247E-02    .20761E-03   -.90354E-05
   4  Prefactor     .71018        .94569E-02    .26350E-03   -.10497E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101125
  Index      = 1.91252
  Normalizat = 1.04256
  Prefactor  = 0.710182
 **********
 **   18 **HESSE 
 **********

 FCN=   5766.311     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      264 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10113E-03    280.25        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9125        5.9219        .50000       -.66556    
   3  Normalizat    1.0426        .18956E-01    .83044E-05   -.91618    
   4  Prefactor     .71018        .20314E-01    .10540E-04   -1.0313    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.72834e-09
Minuit parameter uncertainties:
  1  0.0356821
  2  325.455
  3  0.0189562
  4  0.0203142
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/46761': 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) = 5766.31069746
delta logL = 4.00417775381e-07

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.011e-04  3.568e-02  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  1.913e+00  3.255e+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:  7.102e-01  2.031e-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:  1.043e+00  1.896e-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/46761/cmap_HighResolution_287280001_287539201_4FGL_J0910.8+3859_daily_bin185.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.43e-03', job_status='DONE', photon_flux_upper_limit='3.24e-08', time_completed='2021-08-31 02:49:44.190917', job_id='46761', GAL2='0.71', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1630403384.19', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='4.00e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='185' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:49:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 46761: <4FGL_J0910.8+3859_daily_bin185> in cluster <slac> Done

Job <4FGL_J0910.8+3859_daily_bin185> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 02:35:37 2021
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:35:38 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:35:38 2021
Terminated at Tue Aug 31 02:49:45 2021
Results reported at Tue Aug 31 02:49:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin185 137.709 38.9999 287280001 287539201 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 :                                   820.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             322.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   846 sec.
    Turnaround time :                            848 sec.

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

