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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin552
RA = 137.709, Dec = 38.9999
tmin = 382406401, tmax = 382665601
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='48671', job_status='RUN', time_executed='2021-08-31 02:41:43.300242', time_epoch_executed='1630402903.3' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='552'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/48671

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/48671/ft1_4FGL_J0910.8+3859_daily_bin552.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/48671/ft2_4FGL_J0910.8+3859_daily_bin552.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/48671/ft1_4FGL_J0910.8+3859_daily_bin552.fits outfile=/scratch/kocevski/48671/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin552.fits ra=137.709 dec=38.9999 rad=12.0 tmin=382406401.0 tmax=382665601.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 5.70
user 4.41
sys 1.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/48671/ft1_filtered_4FGL_J0910.8+3859_daily_bin552.fits" evtable="EVENTS" scfile=/scratch/kocevski/48671/ft2_4FGL_J0910.8+3859_daily_bin552.fits sctable="SC_DATA" outfile=/scratch/kocevski/48671/ltcube_382406401_382665601_4FGL_J0910.8+3859_daily_bin552.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/48671/ft2_4FGL_J0910.8+3859_daily_bin552.fits
.....................!
real 12.80
user 11.29
sys 1.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/48671/ft1_filtered_4FGL_J0910.8+3859_daily_bin552.fits evtable="EVENTS" scfile=/scratch/kocevski/48671/ft2_4FGL_J0910.8+3859_daily_bin552.fits sctable="SC_DATA" expcube=/scratch/kocevski/48671/ltcube_382406401_382665601_4FGL_J0910.8+3859_daily_bin552.fits outfile=/scratch/kocevski/48671/expmap_382406401_382665601_4FGL_J0910.8+3859_daily_bin552.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/48671/ltcube_382406401_382665601_4FGL_J0910.8+3859_daily_bin552.fits
.....................!
real 192.52
user 186.13
sys 5.88

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/48671/ft1_filtered_4FGL_J0910.8+3859_daily_bin552.fits scfile=/scratch/kocevski/48671/ft2_4FGL_J0910.8+3859_daily_bin552.fits outfile=/scratch/kocevski/48671/cmap_382406401_382665601_4FGL_J0910.8+3859_daily_bin552.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.52
user 0.38
sys 1.07

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/48671/ft1_filtered_4FGL_J0910.8+3859_daily_bin552.fits scfile=/scratch/kocevski/48671/ft2_4FGL_J0910.8+3859_daily_bin552.fits outfile=/scratch/kocevski/48671/cmap_HighResolution_382406401_382665601_4FGL_J0910.8+3859_daily_bin552.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.61
user 0.36
sys 1.12

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .76575       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.643       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.2086       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.2622       1.0000         .10000E-03   10000.    
     7 'norm      '    14.793       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6707       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .54684       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.4536       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11220E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    22.544       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .77119       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.2889       1.0000         .10000E-03   10000.    
    25 'Prefactor '    4.6333       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0548       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .87998       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=   5743.243     FROM MIGRAD    STATUS=CONVERGED    671 CALLS     3348 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.6451       -.54772E-07** at limit **
   2  norm          .76572        .48688       -.86555E-08    .18231E-03
   3  Prefactor     14.641        15.278       -.26619E-06    .51926E-04
   4  Prefactor     3.2081        2.9920       -.35501E-07    .50676E-04
   5  Prefactor     .10000E-03    11.322       -.81752E-05** at limit **
   6  Prefactor     2.2599        6.6442        .19120E-06   -.60676E-03
   7  norm          14.791        7.3298       -.39376E-07    .34965E-04
   8  Prefactor     1.6697        2.3252        .51876E-07    .23404E-03
   9  Prefactor     .10000E-03    15.495        .63076E-05** at limit **
  10  Prefactor     .10000E-03    18.665       -.81814E-05** at limit **
  11  Prefactor     .54591        3.2122       -.10515E-06   -.14265E-03
  12  Prefactor     .10000E-03    29.613        .22036E-05** at limit **
  13  Prefactor     .10000E-03    1.2303        .13819E-07** at limit **
  14  norm          .10000E-03    1.1876        .11794E-08** at limit **
  15  Prefactor     1.4478        52.075        .10987E-05   -.21143E-03
  16  norm          .10000E-03    .21267        .64331E-07** at limit **
  17  Prefactor     .10006E-03    .98755       -.53404E-06** at limit **
  18  norm          22.570        11.978        .23144E-06    .87208E-04
  19  Prefactor     .76654        2.0057        .10543E-08    .80735E-04
  20  Prefactor     .10000E-03    2.7607        .88059E-07** at limit **
  21  Prefactor     .10000E-03    5.0287        .12150E-06** at limit **
  22  norm          .10000E-03    9.5792        .49583E-05** at limit **
  23  Prefactor     .10000E-03    14.109        .40361E-05** at limit **
  24  Prefactor     1.1951        156.37       -.18016E-04   -.10474E-04
  25  Prefactor     4.6313        8.0582        .85535E-07   -.33083E-03
  26  Normalizat    1.0549        .17293        .88486E-06    .23416E-03
  27  Prefactor     .87997        .17467       -.28675E-06    .18364E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.765715
  Prefactor  = 14.6407
  Prefactor  = 3.20811
  Prefactor  = 0.0001
  Prefactor  = 2.25986
  norm       = 14.7912
  Prefactor  = 1.66974
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.545909
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.44783
  norm       = 0.0001
  Prefactor  = 0.000100064
  norm       = 22.5704
  Prefactor  = 0.76654
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.19513
  Prefactor  = 4.63128
  Normalizat = 1.05494
  Prefactor  = 0.879973
 **********
 **   18 **HESSE 
 **********

 FCN=   5743.243     FROM HESSE     STATUS=OK           490 CALLS     3838 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.6516        .12032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .76572        .48825        .40049E-04   -1.5533    
   3  Prefactor     14.641        15.175        .10467E-03   -1.4943    
   4  Prefactor     3.2081        2.9739        .11326E-03   -1.5350    
   5  Prefactor     .10000E-03    11.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.2599        8.4249        .13655E-02   -1.5407    
   7  norm          14.791        7.3203        .52069E-03   -1.4939    
   8  Prefactor     1.6697        2.2877        .12802E-03   -1.5450    
   9  Prefactor     .10000E-03    15.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    18.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .54591        3.1733        .26212E-03   -1.5560    
  12  Prefactor     .10000E-03    29.635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.2407        .81913E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.2920        .16011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.4478        92.844        .17860E-02   -1.5467    
  16  norm          .10000E-03    .21300        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10006E-03    10.836        .13968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          22.570        12.329        .84361E-04   -1.4757    
  19  Prefactor     .76654        1.7499        .15329E-02   -1.5533    
  20  Prefactor     .10000E-03    2.8343        .24572E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.0486        .16596E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    9.6372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    14.244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.1951        162.84        .39020E-03   -1.5489    
  25  Prefactor     4.6313        8.3156        .93490E-03   -1.5278    
  26  Normalizat    1.0549        .19580        .22349E-03   -.91212    
  27  Prefactor     .87997        .19979        .25734E-03   -.96844    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.10099e-09
Minuit parameter uncertainties:
  1  3.25657e-07
  2  0.488251
  3  15.1788
  4  2.97406
  5  1.45039e-05
  6  8.42933
  7  7.32074
  8  2.28778
  9  6.35488e-06
  10  2.29465e-05
  11  2.63232
  12  2.07063e-05
  13  1.35825e-06
  14  1.42698e-05
  15  23.2251
  16  2.35481e-07
  17  0.00166593
  18  12.3307
  19  1.75001
  20  5.65712e-06
  21  9.40754e-07
  22  3.61545e-05
  23  6.34995e-05
  24  27.9775
  25  8.31763
  26  0.195931
  27  0.199957
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  2.071e-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:  8.800e-01  2.000e-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.055e+00  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/48671/likelihoodResults_382406401_382665601_4FGL_J0910.8+3859_daily_bin552.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) = 5743.24322749
delta logL = -0.000160752418196

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5743.24306671
delta logL = 2.42271198658e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10277E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0680       1.0000          .0000       10.000    
     3 'Normalizat'    1.0549       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87997       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5743.243     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      229 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1316.6        .90712E-02** at limit **
   2  Index         2.0841        5.6875        .50000       -.44789E-05
   3  Normalizat    1.0549        .29021E-01    .40238E-01    .14108E-03
   4  Prefactor     .87997        .30957E-01    .44749E-01    .35851E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.08408
  Normalizat = 1.05494
  Prefactor  = 0.879971
 **********
 **   18 **HESSE 
 **********

 FCN=   5743.243     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      260 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6377.4        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0841        8.7286        .50000       -.62264    
   3  Normalizat    1.0549        .46803E-01    .22349E-03   -.91212    
   4  Prefactor     .87997        .49915E-01    .25734E-03   -.96845    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.70733e-08
Minuit parameter uncertainties:
  1  0.00538887
  2  40.3785
  3  0.0468051
  4  0.0499178
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/48671': 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) = 5743.24306665
delta logL = 8.71787051437e-08

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  5.389e-03  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  2.084e+00  4.038e+01  0.000e+00  1.000e+01 (-1.000e+00)
320        Scale:  2.436e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
636    Prefactor:  8.800e-01  4.992e-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.055e+00  4.681e-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/48671/cmap_HighResolution_382406401_382665601_4FGL_J0910.8+3859_daily_bin552.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.89e-03', job_status='DONE', photon_flux_upper_limit='5.19e-08', time_completed='2021-08-31 02:55:02.184003', job_id='48671', GAL2='0.88', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1630403702.18', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='8.72e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='552' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:55:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 48671: <4FGL_J0910.8+3859_daily_bin552> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin552 137.709 38.9999 382406401 382665601 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 :                                   807.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             318.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   850 sec.
    Turnaround time :                            853 sec.

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

