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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin775
RA = 137.709, Dec = 38.9999
tmin = 440208001, tmax = 440467201
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='48970', job_status='RUN', time_executed='2021-08-31 02:41:42.321061', time_epoch_executed='1630402902.32' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='775'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/48970

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/48970/ft1_4FGL_J0910.8+3859_daily_bin775.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/48970/ft2_4FGL_J0910.8+3859_daily_bin775.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/48970/ft1_4FGL_J0910.8+3859_daily_bin775.fits outfile=/scratch/kocevski/48970/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin775.fits ra=137.709 dec=38.9999 rad=12.0 tmin=440208001.0 tmax=440467201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.75
user 3.18
sys 0.48

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/48970/ft1_filtered_4FGL_J0910.8+3859_daily_bin775.fits evtable="EVENTS" scfile=/scratch/kocevski/48970/ft2_4FGL_J0910.8+3859_daily_bin775.fits sctable="SC_DATA" expcube=/scratch/kocevski/48970/ltcube_440208001_440467201_4FGL_J0910.8+3859_daily_bin775.fits outfile=/scratch/kocevski/48970/expmap_440208001_440467201_4FGL_J0910.8+3859_daily_bin775.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/48970/ltcube_440208001_440467201_4FGL_J0910.8+3859_daily_bin775.fits
.....................!
real 191.03
user 185.64
sys 5.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/48970/ft1_filtered_4FGL_J0910.8+3859_daily_bin775.fits scfile=/scratch/kocevski/48970/ft2_4FGL_J0910.8+3859_daily_bin775.fits outfile=/scratch/kocevski/48970/cmap_440208001_440467201_4FGL_J0910.8+3859_daily_bin775.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.83
user 0.37
sys 0.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/48970/ft1_filtered_4FGL_J0910.8+3859_daily_bin775.fits scfile=/scratch/kocevski/48970/ft2_4FGL_J0910.8+3859_daily_bin775.fits outfile=/scratch/kocevski/48970/cmap_HighResolution_440208001_440467201_4FGL_J0910.8+3859_daily_bin775.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.94
user 0.38
sys 0.41

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .79044E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    .75457       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.1652       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.058       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    33.885       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.2620       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.8993       1.0000         .10000E-03   10000.    
    14 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.8715       1.0000         .10000E-03   10000.    
    16 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .57119       1.0000         .10000E-03   10000.    
    18 'norm      '    5.0489       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .96044       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    4.6439       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .13384E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    18.236       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1154       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .83216       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=   6551.114     FROM MIGRAD    STATUS=CONVERGED    695 CALLS     2932 TOTAL
                     EDM=   .47E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7584       -.68527E-07** at limit **
   2  norm          .75523        .47487        .55227E-07    .77294E-04
   3  Prefactor     .10000E-03    10.070       -.24866E-06** at limit **
   4  Prefactor     4.1720        1.7609        .89630E-08   -.15099E-02
   5  Prefactor     16.062        16.107       -.75867E-07    .65495E-06
   6  Prefactor     .10000E-03    3.3425       -.18892E-06** at limit **
   7  norm          33.886        9.0126       -.26114E-08    .22135E-04
   8  Prefactor     .10000E-03    1.4822       -.11484E-06** at limit **
   9  Prefactor     .10000E-03    16.335       -.10029E-06** at limit **
  10  Prefactor     .10000E-03    26.728       -.48883E-05** at limit **
  11  Prefactor     2.2619        2.0679        .40503E-07    .25678E-04
  12  Prefactor     .10000E-03    11.972       -.61274E-07** at limit **
  13  Prefactor     2.9004        2.8142       -.21468E-07   -.13948E-03
  14  norm          .10000E-03    .73196       -.82546E-09** at limit **
  15  Prefactor     6.8715        8.4685       -.25229E-08   -.91609E-05
  16  norm          .10000E-03    .30996       -.33736E-07** at limit **
  17  Prefactor     .57250        2.2801        .12106E-06   -.20727E-03
  18  norm          5.0491        5.9723       -.77937E-07   -.64701E-04
  19  Prefactor     .10000E-03    1.2151        .80390E-07** at limit **
  20  Prefactor     .96017        3.5710        .15953E-06   -.21343E-03
  21  Prefactor     .10000E-03    2.2326        .90249E-07** at limit **
  22  norm          4.6320        11.151        .82299E-06   -.59091E-04
  23  Prefactor     .10000E-03    26.271        .39290E-05** at limit **
  24  Prefactor     .10000E-03    132.70        .81288E-06** at limit **
  25  Prefactor     18.235        12.623       -.33617E-06   -.22599E-04
  26  Normalizat    1.1154        .16734       -.52133E-06   -.25170E-04
  27  Prefactor     .83220        .16354        .29810E-06   -.42406E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 0.755231
  Prefactor  = 0.0001
  Prefactor  = 4.17202
  Prefactor  = 16.0624
  Prefactor  = 0.0001
  norm       = 33.8856
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.26192
  Prefactor  = 0.0001
  Prefactor  = 2.90036
  norm       = 0.0001
  Prefactor  = 6.87154
  norm       = 0.0001
  Prefactor  = 0.572498
  norm       = 5.0491
  Prefactor  = 0.0001
  Prefactor  = 0.960175
  Prefactor  = 0.0001
  norm       = 4.632
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.2347
  Normalizat = 1.11541
  Prefactor  = 0.832195
 **********
 **   18 **HESSE 
 **********

 FCN=   6551.114     FROM HESSE     STATUS=OK           498 CALLS     3430 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    51.450        .36130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .75523        .47218        .41938E-04   -1.5534    
   3  Prefactor     .10000E-03    10.159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.1720        3.0975        .58055E-03   -1.5299    
   5  Prefactor     16.062        16.095        .99949E-04   -1.4906    
   6  Prefactor     .10000E-03    3.3505        .14449E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          33.886        9.0127        .68840E-04   -1.4543    
   8  Prefactor     .10000E-03    1.5195        .19192E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    16.473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    26.954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2619        2.0759        .10825E-03   -1.5407    
  12  Prefactor     .10000E-03    11.976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.9004        2.7359        .12282E-03   -1.5367    
  14  norm          .10000E-03    1.2294        .13194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.8715        8.4614        .15305E-03   -1.5184    
  16  norm          .10000E-03    .50249        .71539E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .57250        1.9538        .19396E-03   -1.5557    
  18  norm          5.0491        5.9642        .17895E-03   -1.5259    
  19  Prefactor     .10000E-03    1.9561        .16627E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .96017        3.7472        .29027E-03   -1.5512    
  21  Prefactor     .10000E-03    2.2335        .11812E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.6320        11.026        .18676E-03   -1.5277    
  23  Prefactor     .10000E-03    26.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    136.33        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     18.235        12.681        .93789E-04   -1.4854    
  26  Normalizat    1.1154        .18954        .22640E-03   -.89259    
  27  Prefactor     .83220        .18466        .26537E-03   -.98552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.79133e-10
Minuit parameter uncertainties:
  1  0.000357966
  2  0.472184
  3  2.38363e-06
  4  3.0976
  5  16.0997
  6  1.13315e-07
  7  9.01307
  8  1.52265e-06
  9  4.12153e-06
  10  4.77086e-05
  11  2.07596
  12  7.54309e-07
  13  2.73597
  14  6.22724e-07
  15  8.46284
  16  1.35258e-06
  17  1.95397
  18  5.96494
  19  1.50282e-06
  20  3.74809
  21  4.92844e-07
  22  11.0307
  23  2.22527e-05
  24  0.000192811
  25  12.6833
  26  0.189653
  27  0.184793
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  7.543e-07  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:  8.322e-01  1.848e-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.115e+00  1.897e-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.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/48970/likelihoodResults_440208001_440467201_4FGL_J0910.8+3859_daily_bin775.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) = 6551.1148443
delta logL = -0.000396994584662

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6551.11444705
delta logL = 2.52625795838e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9548       1.0000          .0000       10.000    
     3 'Normalizat'    1.1154       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83221       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=   6551.114     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      242 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10261E-03    6.3414        .18142E-01** at limit **
   2  Index         1.8794        5.6804        .50000        .21330E-04
   3  Normalizat    1.1154        .26606E-02    .22640E-03    .60258E-06
   4  Prefactor     .83220        .27478E-02    .26537E-03    .81397E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010261
  Index      = 1.87942
  Normalizat = 1.11541
  Prefactor  = 0.832196
 **********
 **   18 **HESSE 
 **********

 FCN=   6551.114     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10261E-03    52.683        .30013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8794        6.4579        .50000       -.67400    
   3  Normalizat    1.1154        .76927E-02    .90560E-05   -.89259    
   4  Prefactor     .83220        .79448E-02    .10615E-04   -.98552    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.2682e-09
Minuit parameter uncertainties:
  1  0.0234736
  2  156.757
  3  0.00769273
  4  0.00794481
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/48970': 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) = 6551.11444668
delta logL = 6.20850187261e-07

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.026e-04  2.347e-02  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  1.879e+00  1.568e+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:  8.322e-01  7.945e-03  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.115e+00  7.693e-03  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/48970/cmap_HighResolution_440208001_440467201_4FGL_J0910.8+3859_daily_bin775.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.70e-03', job_status='DONE', photon_flux_upper_limit='3.59e-08', time_completed='2021-08-31 02:55:19.779252', job_id='48970', GAL2='0.83', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1630403719.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='6.21e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='775' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:55:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 48970: <4FGL_J0910.8+3859_daily_bin775> in cluster <slac> Done

Job <4FGL_J0910.8+3859_daily_bin775> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Aug 31 02:41:20 2021
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:41:21 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:41:21 2021
Terminated at Tue Aug 31 02:55:20 2021
Results reported at Tue Aug 31 02:55:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin775 137.709 38.9999 440208001 440467201 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 :                                   814.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             331.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            840 sec.

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

