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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin732
RA = 137.709, Dec = 38.9999
tmin = 429062401, tmax = 429321601
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='48902', job_status='RUN', time_executed='2021-08-31 02:41:54.778158', time_epoch_executed='1630402914.78' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/48902

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/48902/ft1_4FGL_J0910.8+3859_daily_bin732.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/48902/ft2_4FGL_J0910.8+3859_daily_bin732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/48902/ft1_4FGL_J0910.8+3859_daily_bin732.fits outfile=/scratch/kocevski/48902/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin732.fits ra=137.709 dec=38.9999 rad=12.0 tmin=429062401.0 tmax=429321601.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 7.12
user 6.08
sys 1.01

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/48902/ft1_filtered_4FGL_J0910.8+3859_daily_bin732.fits" evtable="EVENTS" scfile=/scratch/kocevski/48902/ft2_4FGL_J0910.8+3859_daily_bin732.fits sctable="SC_DATA" outfile=/scratch/kocevski/48902/ltcube_429062401_429321601_4FGL_J0910.8+3859_daily_bin732.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/48902/ft2_4FGL_J0910.8+3859_daily_bin732.fits
.....................!
real 13.73
user 12.47
sys 1.17

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/48902/ft1_filtered_4FGL_J0910.8+3859_daily_bin732.fits evtable="EVENTS" scfile=/scratch/kocevski/48902/ft2_4FGL_J0910.8+3859_daily_bin732.fits sctable="SC_DATA" expcube=/scratch/kocevski/48902/ltcube_429062401_429321601_4FGL_J0910.8+3859_daily_bin732.fits outfile=/scratch/kocevski/48902/expmap_429062401_429321601_4FGL_J0910.8+3859_daily_bin732.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/48902/ltcube_429062401_429321601_4FGL_J0910.8+3859_daily_bin732.fits
.....................!
real 193.26
user 187.36
sys 5.38

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/48902/ft1_filtered_4FGL_J0910.8+3859_daily_bin732.fits scfile=/scratch/kocevski/48902/ft2_4FGL_J0910.8+3859_daily_bin732.fits outfile=/scratch/kocevski/48902/cmap_429062401_429321601_4FGL_J0910.8+3859_daily_bin732.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.43
user 0.38
sys 0.89

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/48902/ft1_filtered_4FGL_J0910.8+3859_daily_bin732.fits scfile=/scratch/kocevski/48902/ft2_4FGL_J0910.8+3859_daily_bin732.fits outfile=/scratch/kocevski/48902/cmap_HighResolution_429062401_429321601_4FGL_J0910.8+3859_daily_bin732.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.41
user 0.39
sys 0.87

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.5261       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .89035       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .33969E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.631       1.0000         .10000E-03   10000.    
     7 'norm      '    9.0451       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.3760       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.8883       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.4265       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.9752       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .61499       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    31.892       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .26081E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.4933       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    22.638       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .29465E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .73791       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1229       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=   5106.537     FROM MIGRAD    STATUS=CONVERGED    652 CALLS     3413 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.0761       -.36652E-07** at limit **
   2  norm          1.5262        .65361       -.45361E-07   -.81668E-03
   3  Prefactor     .88417        17.017        .13350E-05   -.17761E-03
   4  Prefactor     .10000E-03    1.9745       -.18699E-07** at limit **
   5  Prefactor     .10000E-03    13.666       -.23720E-07** at limit **
   6  Prefactor     12.630        10.728        .85132E-06   -.94269E-04
   7  norm          9.0455        7.6202        .17313E-05   -.12327E-03
   8  Prefactor     3.3763        3.0286       -.35905E-08   -.92763E-04
   9  Prefactor     .10000E-03    10.346       -.52904E-07** at limit **
  10  Prefactor     .10000E-03    32.317        .14444E-06** at limit **
  11  Prefactor     2.8882        3.3045        .45523E-07   -.33872E-03
  12  Prefactor     8.4275        20.814        .22835E-06    .55858E-05
  13  Prefactor     .10000E-03    .98926        .16862E-07** at limit **
  14  norm          1.9751        2.0251        .70312E-07    .60229E-04
  15  Prefactor     .10000E-03    12.692       -.13060E-06** at limit **
  16  norm          .61507        .41060        .63834E-08   -.29338E-03
  17  Prefactor     .10000E-03    1.7545        .94253E-08** at limit **
  18  norm          31.894        11.450       -.81995E-08   -.11742E-03
  19  Prefactor     .10002E-03    1.1308        .24233E-06** at limit **
  20  Prefactor     4.4939        4.7804        .25827E-06   -.17659E-04
  21  Prefactor     .10000E-03    5.3947        .13297E-07** at limit **
  22  norm          22.636        19.385       -.13887E-05    .84371E-05
  23  Prefactor     .10002E-03    94.312       -.53671E-05** at limit **
  24  Prefactor     .10000E-03    9.4692        .11514E-06** at limit **
  25  Prefactor     .10000E-03    7.1205        .72200E-07** at limit **
  26  Normalizat    .73785        .18148       -.11309E-05   -.13319E-03
  27  Prefactor     1.1230        .18907       -.26425E-06   -.15729E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.52616
  Prefactor  = 0.884169
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 12.6295
  norm       = 9.04548
  Prefactor  = 3.37625
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.88825
  Prefactor  = 8.42751
  Prefactor  = 0.0001
  norm       = 1.97508
  Prefactor  = 0.0001
  norm       = 0.615075
  Prefactor  = 0.0001
  norm       = 31.8939
  Prefactor  = 0.000100021
  Prefactor  = 4.49389
  Prefactor  = 0.0001
  norm       = 22.636
  Prefactor  = 0.000100016
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.737849
  Prefactor  = 1.12295
 **********
 **   18 **HESSE 
 **********

 FCN=   5106.537     FROM HESSE     STATUS=OK           500 CALLS     3913 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.0852        .10050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.5262        .64721        .34997E-04   -1.5461    
   3  Prefactor     .88417        36.709        .44141E-02   -1.5520    
   4  Prefactor     .10000E-03    6.4441        .16126E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.630        10.731        .56355E-03   -1.4997    
   7  norm          9.0455        7.7024        .66633E-03   -1.5106    
   8  Prefactor     3.3763        3.0193        .10963E-03   -1.5340    
   9  Prefactor     .10000E-03    10.370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    32.333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.8882        3.2988        .13445E-03   -1.5368    
  12  Prefactor     8.4275        20.801        .13810E-03   -1.5127    
  13  Prefactor     .10000E-03    .99986        .69358E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.9751        2.0117        .98136E-04   -1.5427    
  15  Prefactor     .10000E-03    12.752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .61507        .40532        .35489E-04   -1.5551    
  17  Prefactor     .10000E-03    1.7941        .18333E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          31.894        11.471        .70953E-04   -1.4578    
  19  Prefactor     .10002E-03    2.5869        .26675E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.4939        4.7711        .15164E-03   -1.5284    
  21  Prefactor     .10000E-03    5.4122        .16210E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          22.636        19.131        .84186E-04   -1.4756    
  23  Prefactor     .10002E-03    96.239        .42795E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    9.4761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    7.1541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .73785        .21046        .26108E-03   -1.0242    
  27  Prefactor     1.1230        .22132        .23291E-03   -.88736    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.36835e-10
Minuit parameter uncertainties:
  1  2.86608e-06
  2  0.64721
  3  11.4011
  4  0.000135799
  5  1.43101e-05
  6  10.733
  7  7.70323
  8  3.01945
  9  1.92276e-05
  10  9.6291e-05
  11  3.29902
  12  20.8186
  13  1.11795e-06
  14  2.01177
  15  4.02044e-05
  16  0.405323
  17  4.29455e-06
  18  11.4714
  19  0.00046353
  20  4.7715
  21  1.54013e-06
  22  19.1357
  23  0.00250424
  24  4.41202e-05
  25  1.22633e-05
  26  0.210696
  27  0.221505
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  8.428e+00  2.082e+01  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.123e+00  2.215e-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:  7.378e-01  2.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/48902/likelihoodResults_429062401_429321601_4FGL_J0910.8+3859_daily_bin732.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5106.52703556
delta logL = 0.0103972479237

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5106.52190944
delta logL = 0.0155233665882

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2192       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2411       1.0000          .0000       10.000    
     3 'Normalizat'    .73632       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1238       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5106.522     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      259 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2062        21.924        .16097E-03    .17141E-03
   2  Index         2.2416        1.5050        .49129E-02   -.11151E-04
   3  Normalizat    .73636        .19940        .26132E-03   -.12051E-04
   4  Prefactor     1.1237        .21608        .23283E-03   -.95215E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.20619
  Index      = 2.24162
  Normalizat = 0.736358
  Prefactor  = 1.12373
 **********
 **   18 **HESSE 
 **********

 FCN=   5106.522     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2062        20.453        .64388E-05   -1.5210    
   2  Index         2.2416        1.4081        .19652E-03   -.58437    
   3  Normalizat    .73636        .19956        .10453E-04   -1.0247    
   4  Prefactor     1.1237        .21627        .93132E-05   -.88712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10128e-10
Minuit parameter uncertainties:
  1  20.4759
  2  1.43629
  3  0.199758
  4  0.216435
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/48902': 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): 0
logL (Free Index) = 5106.5219092
delta logL = 0.0155235991342

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  6.206e+00  2.048e+01  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  2.242e+00  1.436e+00  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.124e+00  2.164e-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:  7.364e-01  1.998e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.23
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/48902/cmap_HighResolution_429062401_429321601_4FGL_J0910.8+3859_daily_bin732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.65e-03', job_status='DONE', photon_flux_upper_limit='4.87e-08', time_completed='2021-08-31 02:55:13.187991', job_id='48902', GAL2='1.12', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1630403713.19', return_code2='0', ts='0.23', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.55e-02', ts2='0.26', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='732' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:55:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 48902: <4FGL_J0910.8+3859_daily_bin732> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin732 137.709 38.9999 429062401 429321601 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 :                                   794.33 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             333.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            841 sec.

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

