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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin1008
RA = 137.709, Dec = 38.9999
tmin = 500601601, tmax = 500860801
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='50286', job_status='RUN', time_executed='2021-08-31 02:50:10.525486', time_epoch_executed='1630403410.53' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='1008'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/50286

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/50286/ft1_4FGL_J0910.8+3859_daily_bin1008.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/50286/ft2_4FGL_J0910.8+3859_daily_bin1008.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/50286/ft1_4FGL_J0910.8+3859_daily_bin1008.fits outfile=/scratch/kocevski/50286/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1008.fits ra=137.709 dec=38.9999 rad=12.0 tmin=500601601.0 tmax=500860801.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.33
user 4.88
sys 0.40

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/50286/ft1_filtered_4FGL_J0910.8+3859_daily_bin1008.fits" evtable="EVENTS" scfile=/scratch/kocevski/50286/ft2_4FGL_J0910.8+3859_daily_bin1008.fits sctable="SC_DATA" outfile=/scratch/kocevski/50286/ltcube_500601601_500860801_4FGL_J0910.8+3859_daily_bin1008.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/50286/ft2_4FGL_J0910.8+3859_daily_bin1008.fits
.....................!
real 12.59
user 11.90
sys 0.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/50286/ft1_filtered_4FGL_J0910.8+3859_daily_bin1008.fits evtable="EVENTS" scfile=/scratch/kocevski/50286/ft2_4FGL_J0910.8+3859_daily_bin1008.fits sctable="SC_DATA" expcube=/scratch/kocevski/50286/ltcube_500601601_500860801_4FGL_J0910.8+3859_daily_bin1008.fits outfile=/scratch/kocevski/50286/expmap_500601601_500860801_4FGL_J0910.8+3859_daily_bin1008.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/50286/ltcube_500601601_500860801_4FGL_J0910.8+3859_daily_bin1008.fits
.....................!
real 193.02
user 185.72
sys 5.81

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/50286/ft1_filtered_4FGL_J0910.8+3859_daily_bin1008.fits scfile=/scratch/kocevski/50286/ft2_4FGL_J0910.8+3859_daily_bin1008.fits outfile=/scratch/kocevski/50286/cmap_500601601_500860801_4FGL_J0910.8+3859_daily_bin1008.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.77
user 0.37
sys 0.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/50286/ft1_filtered_4FGL_J0910.8+3859_daily_bin1008.fits scfile=/scratch/kocevski/50286/ft2_4FGL_J0910.8+3859_daily_bin1008.fits outfile=/scratch/kocevski/50286/cmap_HighResolution_500601601_500860801_4FGL_J0910.8+3859_daily_bin1008.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.79
user 0.38
sys 0.40

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .46998       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.6310       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11244E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.6137       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.3692       1.0000         .10000E-03   10000.    
    14 'norm      '    .60984       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .42709       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.3763       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.5790       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.0928       1.0000         .10000E-03   10000.    
    22 'norm      '    .10095E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    14.125       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    7.4580       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .96035       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0119       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=   5537.093     FROM MIGRAD    STATUS=CONVERGED    658 CALLS     2858 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.7730       -.91403E-07** at limit **
   2  norm          .47010        .54768       -.10894E-07   -.91731E-04
   3  Prefactor     .10000E-03    26.014       -.25649E-05** at limit **
   4  Prefactor     .10000E-03    1.8637        .30935E-07** at limit **
   5  Prefactor     .10000E-03    13.607        .59509E-05** at limit **
   6  Prefactor     2.6287        4.9103        .12267E-05   -.12717E-02
   7  norm          .10000E-03    4.4240        .14116E-06** at limit **
   8  Prefactor     .10007E-03    1.3243       -.43334E-06** at limit **
   9  Prefactor     .10000E-03    50.723       -.11562E-04** at limit **
  10  Prefactor     .10000E-03    38.747        .14344E-04** at limit **
  11  Prefactor     8.6138        4.9378       -.50031E-08    .29272E-04
  12  Prefactor     .10000E-03    11.512       -.35039E-05** at limit **
  13  Prefactor     5.3688        3.5756       -.54674E-07    .52128E-04
  14  norm          .60930        1.5601        .96679E-07    .15349E-04
  15  Prefactor     .10000E-03    5.6204       -.33368E-06** at limit **
  16  norm          .42723        .66509       -.26262E-07    .12511E-03
  17  Prefactor     2.3752        4.8528        .20201E-06    .66468E-04
  18  norm          .10000E-03    1.9469        .27153E-07** at limit **
  19  Prefactor     .10000E-03    1.6272        .51010E-08** at limit **
  20  Prefactor     1.5799        4.3224       -.67873E-06   -.14151E-03
  21  Prefactor     5.0925        7.7481        .13347E-06   -.31812E-03
  22  norm          .10000E-03    6.8763        .58847E-06** at limit **
  23  Prefactor     14.122        18.539       -.59468E-06   -.13371E-04
  24  Prefactor     .10000E-03    17.378        .25110E-06** at limit **
  25  Prefactor     7.4543        12.453        .33232E-06   -.31809E-03
  26  Normalizat    .96049        .18161        .10415E-06    .17232E-03
  27  Prefactor     1.0118        .17726       -.14961E-06    .13746E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.470103
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.62869
  norm       = 0.0001
  Prefactor  = 0.000100073
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 8.61379
  Prefactor  = 0.0001
  Prefactor  = 5.36881
  norm       = 0.609299
  Prefactor  = 0.0001
  norm       = 0.42723
  Prefactor  = 2.37521
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.57989
  Prefactor  = 5.09248
  norm       = 0.0001
  Prefactor  = 14.1219
  Prefactor  = 0.0001
  Prefactor  = 7.45433
  Normalizat = 0.960495
  Prefactor  = 1.01176
 **********
 **   18 **HESSE 
 **********

 FCN=   5537.093     FROM HESSE     STATUS=OK           494 CALLS     3352 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.7924        .14109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .47010        .51594        .56621E-03   -1.5571    
   3  Prefactor     .10000E-03    26.684        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.8987        .99078E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.6287        9.2520        .12570E-02   -1.5384    
   7  norm          .10000E-03    4.4761        .15278E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10007E-03    19.233        .16030E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    51.201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    39.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.6138        4.9391        .11974E-03   -1.5121    
  12  Prefactor     .10000E-03    11.531        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.3688        3.5665        .10766E-03   -1.5245    
  14  norm          .60930        1.3391        .13998E-02   -1.5552    
  15  Prefactor     .10000E-03    5.6248        .17228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .42723        .61287        .49905E-03   -1.5577    
  17  Prefactor     2.3752        4.7383        .14640E-03   -1.5400    
  18  norm          .10000E-03    1.9485        .10139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.6631        .18470E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.5799        4.2473        .23886E-03   -1.5457    
  21  Prefactor     5.0925        7.8230        .89082E-03   -1.5257    
  22  norm          .10000E-03    6.8826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     14.122        18.542        .10657E-03   -1.4956    
  24  Prefactor     .10000E-03    17.441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     7.4543        12.782        .73429E-03   -1.5162    
  26  Normalizat    .96049        .21077        .24353E-03   -.94366    
  27  Prefactor     1.0118        .20583        .24430E-03   -.92339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06092e-08
Minuit parameter uncertainties:
  1  6.73571e-07
  2  0.51594
  3  4.33423e-05
  4  2.19949e-07
  5  0.000112022
  6  9.257
  7  2.45615e-06
  8  0.00236734
  9  0.000267705
  10  0.000471263
  11  4.93932
  12  6.24063e-05
  13  3.56663
  14  1.33913
  15  3.5126e-06
  16  0.612879
  17  4.73906
  18  4.32357e-07
  19  9.32491e-07
  20  4.24807
  21  7.82455
  22  1.15706e-05
  23  18.5493
  24  8.78591e-06
  25  12.7866
  26  0.210949
  27  0.205993
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  6.241e-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:  1.012e+00  2.060e-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.605e-01  2.109e-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.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/50286/likelihoodResults_500601601_500860801_4FGL_J0910.8+3859_daily_bin1008.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) = 5537.09328359
delta logL = -0.000412141099332

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5537.09287559
delta logL = -4.14198984799e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13089E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9667       1.0000          .0000       10.000    
     3 'Normalizat'    .96094       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0113       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=   5537.093     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      239 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10173E-03    95.857        .18142E-02** at limit **
   2  Index         1.9052        7.0597        .50000        .15530E-04
   3  Normalizat    .96049        .12159E-01    .24353E-03   -.47942E-04
   4  Prefactor     1.0118        .12551E-01    .24430E-03    .18615E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101734
  Index      = 1.9052
  Normalizat = 0.960494
  Prefactor  = 1.01176
 **********
 **   18 **HESSE 
 **********

 FCN=   5537.093     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      268 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     .10173E-03    407.44        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9052        8.2209        .50000       -.66742    
   3  Normalizat    .96049        .25907E-01    .97414E-05   -.94366    
   4  Prefactor     1.0118        .26741E-01    .97718E-05   -.92339    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.80986e-08
Minuit parameter uncertainties:
  1  0.0535249
  2  555.441
  3  0.0259076
  4  0.0267414
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/50286': 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) = 5537.09287111
delta logL = 3.31553565047e-07

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.017e-04  5.352e-02  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  1.905e+00  5.554e+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.012e+00  2.674e-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.605e-01  2.591e-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/50286/cmap_HighResolution_500601601_500860801_4FGL_J0910.8+3859_daily_bin1008.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.78e-03', job_status='DONE', photon_flux_upper_limit='3.71e-08', time_completed='2021-08-31 03:02:18.338961', job_id='50286', GAL2='1.01', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1630404138.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.32e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1008' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 03:02:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 50286: <4FGL_J0910.8+3859_daily_bin1008> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin1008 137.709 38.9999 500601601 500860801 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 :                                   728.13 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             270.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   993 sec.
    Turnaround time :                            996 sec.

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

