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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin935
RA = 137.709, Dec = 38.9999
tmin = 481680001, tmax = 481939201
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='50154', job_status='RUN', time_executed='2021-08-31 02:46:18.326237', time_epoch_executed='1630403178.33' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='935'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/50154

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/50154/ft1_4FGL_J0910.8+3859_daily_bin935.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/50154/ft2_4FGL_J0910.8+3859_daily_bin935.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/50154/ft1_4FGL_J0910.8+3859_daily_bin935.fits outfile=/scratch/kocevski/50154/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin935.fits ra=137.709 dec=38.9999 rad=12.0 tmin=481680001.0 tmax=481939201.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.61
user 3.38
sys 0.91

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/50154/ft1_filtered_4FGL_J0910.8+3859_daily_bin935.fits" evtable="EVENTS" scfile=/scratch/kocevski/50154/ft2_4FGL_J0910.8+3859_daily_bin935.fits sctable="SC_DATA" outfile=/scratch/kocevski/50154/ltcube_481680001_481939201_4FGL_J0910.8+3859_daily_bin935.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/50154/ft2_4FGL_J0910.8+3859_daily_bin935.fits
.....................!
real 12.72
user 11.48
sys 1.16

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/50154/ft1_filtered_4FGL_J0910.8+3859_daily_bin935.fits evtable="EVENTS" scfile=/scratch/kocevski/50154/ft2_4FGL_J0910.8+3859_daily_bin935.fits sctable="SC_DATA" expcube=/scratch/kocevski/50154/ltcube_481680001_481939201_4FGL_J0910.8+3859_daily_bin935.fits outfile=/scratch/kocevski/50154/expmap_481680001_481939201_4FGL_J0910.8+3859_daily_bin935.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/50154/ltcube_481680001_481939201_4FGL_J0910.8+3859_daily_bin935.fits
.....................!
real 192.98
user 185.41
sys 6.32

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/50154/ft1_filtered_4FGL_J0910.8+3859_daily_bin935.fits scfile=/scratch/kocevski/50154/ft2_4FGL_J0910.8+3859_daily_bin935.fits outfile=/scratch/kocevski/50154/cmap_481680001_481939201_4FGL_J0910.8+3859_daily_bin935.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.23
user 0.37
sys 0.84

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/50154/ft1_filtered_4FGL_J0910.8+3859_daily_bin935.fits scfile=/scratch/kocevski/50154/ft2_4FGL_J0910.8+3859_daily_bin935.fits outfile=/scratch/kocevski/50154/cmap_HighResolution_481680001_481939201_4FGL_J0910.8+3859_daily_bin935.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.26
user 0.38
sys 0.86

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.0319       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.1030       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10958E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.3036       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.6765       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.639       1.0000         .10000E-03   10000.    
    14 'norm      '    1.0500       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.285       1.0000         .10000E-03   10000.    
    16 'norm      '    .75712       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.0666       1.0000         .10000E-03   10000.    
    18 'norm      '    12.618       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12126E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .16287       1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.479       1.0000         .10000E-03   10000.    
    22 'norm      '    10.169       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    10.838       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .98479       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.2694       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=   6945.589     FROM MIGRAD    STATUS=CONVERGED    638 CALLS     2835 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.9018        .10289E-06** at limit **
   2  norm          1.0317        .54999       -.95825E-07   -.72889E-03
   3  Prefactor     .10000E-03    6.8097       -.85416E-06** at limit **
   4  Prefactor     .10000E-03    1.7710       -.24307E-06** at limit **
   5  Prefactor     6.0719        23.406        .96301E-05    .32912E-04
   6  Prefactor     .10000E-03    6.3497       -.18828E-05** at limit **
   7  norm          1.3036        4.5802        .41673E-06    .44978E-04
   8  Prefactor     2.6770        2.5449       -.17488E-06    .21063E-04
   9  Prefactor     .10000E-03    10.339       -.12606E-06** at limit **
  10  Prefactor     .10000E-03    24.659        .67475E-07** at limit **
  11  Prefactor     .10000E-03    1.8596        .53779E-07** at limit **
  12  Prefactor     .10000E-03    9.3328        .69890E-06** at limit **
  13  Prefactor     12.639        4.2723       -.36574E-06   -.29374E-03
  14  norm          1.0488        1.5517       -.58488E-07   -.83306E-04
  15  Prefactor     10.285        11.996       -.19740E-07   -.28471E-04
  16  norm          .75725        .73363       -.95512E-06   -.46135E-03
  17  Prefactor     3.0662        4.8529        .41058E-05    .65793E-03
  18  norm          12.616        9.2090        .40725E-07   -.90867E-04
  19  Prefactor     .10000E-03    1.3224        .20902E-06** at limit **
  20  Prefactor     .18339        3.3830       -.30155E-05    .13410E-02
  21  Prefactor     17.481        14.072       -.31999E-06   -.59707E-05
  22  norm          10.167        16.167        .11378E-07   -.17913E-04
  23  Prefactor     .10000E-03    10.253        .45082E-07** at limit **
  24  Prefactor     .10000E-03    7.6148        .84665E-07** at limit **
  25  Prefactor     10.839        9.4128        .17717E-06    .42883E-05
  26  Normalizat    .98454        .19010       -.29355E-05    .10305E-03
  27  Prefactor     1.2696        .18987        .14561E-05   -.44018E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.03172
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.07185
  Prefactor  = 0.000100002
  norm       = 1.30358
  Prefactor  = 2.67697
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.6389
  norm       = 1.04876
  Prefactor  = 10.2851
  norm       = 0.757246
  Prefactor  = 3.06622
  norm       = 12.6163
  Prefactor  = 0.0001
  Prefactor  = 0.183386
  Prefactor  = 17.4806
  norm       = 10.1674
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.8394
  Normalizat = 0.984536
  Prefactor  = 1.26958
 **********
 **   18 **HESSE 
 **********

 FCN=   6945.589     FROM HESSE     STATUS=OK           500 CALLS     3335 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.0091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.0317        .55255        .43433E-04   -1.5505    
   3  Prefactor     .10000E-03    6.8574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.8262        .21645E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.0719        23.489        .16252E-03   -1.5215    
   6  Prefactor     .10000E-03    6.4935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3036        4.5514        .32245E-03   -1.5480    
   8  Prefactor     2.6770        2.5319        .12244E-03   -1.5381    
   9  Prefactor     .10000E-03    10.359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    24.667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.8777        .11096E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.3330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.639        4.2482        .93958E-04   -1.4997    
  14  norm          1.0488        1.3139        .12204E-02   -1.5503    
  15  Prefactor     10.285        11.987        .12494E-03   -1.5066    
  16  norm          .75725        .72898        .45493E-03   -1.5534    
  17  Prefactor     3.0662        4.9518        .71822E-03   -1.5358    
  18  norm          12.616        9.1823        .11277E-03   -1.4997    
  19  Prefactor     .10000E-03    4.2762        .18359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .18339        20.178        .24201E-02   -1.5622    
  21  Prefactor     17.481        14.071        .95800E-04   -1.4872    
  22  norm          10.167        16.155        .12565E-03   -1.5070    
  23  Prefactor     .10000E-03    10.260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    7.6159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     10.839        9.4237        .12170E-03   -1.5049    
  26  Normalizat    .98454        .22211        .27918E-03   -.93550    
  27  Prefactor     1.2696        .22323        .26029E-03   -.84216    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73409e-08
Minuit parameter uncertainties:
  1  3.30835e-05
  2  0.552555
  3  5.83209e-05
  4  1.54804e-05
  5  23.525
  6  0.000212052
  7  4.55258
  8  2.53203
  9  2.18284e-05
  10  1.16455e-05
  11  7.17216e-06
  12  6.32106e-06
  13  4.24831
  14  1.31391
  15  11.99
  16  0.728986
  17  4.95244
  18  9.18329
  19  3.37081e-05
  20  3.8475
  21  14.0737
  22  16.1621
  23  1.18595e-05
  24  4.71277e-06
  25  9.42496
  26  0.222321
  27  0.223398
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  6.321e-06  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.270e+00  2.234e-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:  9.845e-01  2.223e-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.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.37e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/50154/likelihoodResults_481680001_481939201_4FGL_J0910.8+3859_daily_bin935.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) = 6945.58932999
delta logL = -0.000503260946061

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6945.58882694
delta logL = -2.15604814002e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10793E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9666       1.0000          .0000       10.000    
     3 'Normalizat'    .98454       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2696       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=   6945.589     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      242 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10162E-03    66.922        .18142E-02** at limit **
   2  Index         1.9062        8.5010        .50000        .21504E-04
   3  Normalizat    .98454        .11610E-01    .27918E-03    .45038E-04
   4  Prefactor     1.2696        .12156E-01    .26029E-03   -.21012E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101617
  Index      = 1.90624
  Normalizat = 0.984537
  Prefactor  = 1.26958
 **********
 **   18 **HESSE 
 **********

 FCN=   6945.589     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10162E-03    287.29        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9062        5.9240        .50000       -.66715    
   3  Normalizat    .98454        .24717E-01    .11167E-04   -.93550    
   4  Prefactor     1.2696        .25880E-01    .52057E-04   -.84216    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.84198e-08
Minuit parameter uncertainties:
  1  0.0433161
  2  397.828
  3  0.0247171
  4  0.0258804
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/50154': 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) = 6945.58882626
delta logL = 4.66306119051e-07

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.016e-04  4.332e-02  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  1.906e+00  3.978e+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.270e+00  2.588e-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:  9.845e-01  2.472e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/50154/cmap_HighResolution_481680001_481939201_4FGL_J0910.8+3859_daily_bin935.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.37e-03', job_status='DONE', photon_flux_upper_limit='3.16e-08', time_completed='2021-08-31 03:00:15.827540', job_id='50154', GAL2='1.27', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1630404015.83', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.27', dlogl='4.66e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='935' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 03:00:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 50154: <4FGL_J0910.8+3859_daily_bin935> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin935 137.709 38.9999 481680001 481939201 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 :                                   844.51 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             299.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   880 sec.
    Turnaround time :                            881 sec.

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

