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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin1216
RA = 137.709, Dec = 38.9999
tmin = 554515201, tmax = 554774401
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='51934', job_status='RUN', time_executed='2021-08-31 02:53:29.724471', time_epoch_executed='1630403609.72' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='1216'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/51934

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/51934/ft1_4FGL_J0910.8+3859_daily_bin1216.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/51934/ft2_4FGL_J0910.8+3859_daily_bin1216.fits


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

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

Done.
real 4.07
user 3.83
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/51934/ft1_filtered_4FGL_J0910.8+3859_daily_bin1216.fits" evtable="EVENTS" scfile=/scratch/kocevski/51934/ft2_4FGL_J0910.8+3859_daily_bin1216.fits sctable="SC_DATA" outfile=/scratch/kocevski/51934/ltcube_554515201_554774401_4FGL_J0910.8+3859_daily_bin1216.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/51934/ft2_4FGL_J0910.8+3859_daily_bin1216.fits
.....................!
real 11.56
user 11.19
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/51934/ft1_filtered_4FGL_J0910.8+3859_daily_bin1216.fits evtable="EVENTS" scfile=/scratch/kocevski/51934/ft2_4FGL_J0910.8+3859_daily_bin1216.fits sctable="SC_DATA" expcube=/scratch/kocevski/51934/ltcube_554515201_554774401_4FGL_J0910.8+3859_daily_bin1216.fits outfile=/scratch/kocevski/51934/expmap_554515201_554774401_4FGL_J0910.8+3859_daily_bin1216.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/51934/ltcube_554515201_554774401_4FGL_J0910.8+3859_daily_bin1216.fits
.....................!
real 189.01
user 184.82
sys 3.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/51934/ft1_filtered_4FGL_J0910.8+3859_daily_bin1216.fits scfile=/scratch/kocevski/51934/ft2_4FGL_J0910.8+3859_daily_bin1216.fits outfile=/scratch/kocevski/51934/cmap_554515201_554774401_4FGL_J0910.8+3859_daily_bin1216.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.59
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/51934/ft1_filtered_4FGL_J0910.8+3859_daily_bin1216.fits scfile=/scratch/kocevski/51934/ft2_4FGL_J0910.8+3859_daily_bin1216.fits outfile=/scratch/kocevski/51934/cmap_HighResolution_554515201_554774401_4FGL_J0910.8+3859_daily_bin1216.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.63
user 0.37
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/51934/ft1_filtered_4FGL_J0910.8+3859_daily_bin1216.fits', '/scratch/kocevski/51934/ft2_4FGL_J0910.8+3859_daily_bin1216.fits', expMap='/scratch/kocevski/51934/expmap_554515201_554774401_4FGL_J0910.8+3859_daily_bin1216.fits', expCube='/scratch/kocevski/51934/ltcube_554515201_554774401_4FGL_J0910.8+3859_daily_bin1216.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/51934/Model_4FGL_J0910.8+3859_daily_bin1216.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/51934/ft1_filtered_4FGL_J0910.8+3859_daily_bin1216.fits
Spacecraft file(s): /scratch/kocevski/51934/ft2_4FGL_J0910.8+3859_daily_bin1216.fits
Exposure map: /scratch/kocevski/51934/expmap_554515201_554774401_4FGL_J0910.8+3859_daily_bin1216.fits
Exposure cube: /scratch/kocevski/51934/ltcube_554515201_554774401_4FGL_J0910.8+3859_daily_bin1216.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/51934/Model_4FGL_J0910.8+3859_daily_bin1216.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 768.505790875

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 766.891158796

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .57351E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    .14487E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .69106E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .14095E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.8307       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .15691E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    6.0040       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .22016       1.0000         .10000E-03   10000.    
     9 'Prefactor '    48.396       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.1636       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.9613       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .78270E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10231E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13237       1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .30905E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    .30472E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10531E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .31675E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.6322       1.0000         .10000E-03   10000.    
    22 'norm      '    .35958E-02   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .59845E-01   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .55035       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .37824E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.8249       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   766.8778     FROM MIGRAD    STATUS=CONVERGED    153 CALLS      431 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14440E-03    34.213       -.38182E-05** at limit **
   2  norm          .10000E-03    16.042       -.77343E-06** at limit **
   3  Prefactor     .10002E-03    34.778       -.16450E-05** at limit **
   4  Prefactor     .10000E-03    17.645       -.51499E-05** at limit **
   5  Prefactor     .10008E-03    249.52        .69168E-05** at limit **
   6  Prefactor     .10001E-03    6.9903       -.89081E-06** at limit **
   7  norm          6.0040        1.0035         .0000         .0000    
   8  Prefactor     .10245E-03    44.485       -.39624E-06** at limit **
   9  Prefactor     48.620        7.0927       -.27940E-07    .59423E-02
  10  Prefactor     4.1636        1.0074         .0000         .0000    
  11  Prefactor     4.9648        8.4830        .13096E-06   -.17533E-04
  12  Prefactor     .10010E-03    48.320       -.22795E-05** at limit **
  13  Prefactor     .10000E-03    8.7875        .23043E-05** at limit **
  14  norm          .10000E-03    2.0685       -.72432E-06** at limit **
  15  Prefactor     .10003E-03    48.094       -.86401E-05** at limit **
  16  norm          .10000E-03    3.3380       -.56904E-06** at limit **
  17  Prefactor     .10000E-03    26.794        .25730E-05** at limit **
  18  norm          .10001E-03    .63289       -.29185E-07** at limit **
  19  Prefactor     .10000E-03    7.2953        .79509E-06** at limit **
  20  Prefactor     .10000E-03    37.041        .60593E-06** at limit **
  21  Prefactor     5.6322        1.0040         .0000         .0000    
  22  norm          .10211E-03    49.618       -.52682E-05** at limit **
  23  Prefactor     .10452E-03    260.52       -.50228E-05** at limit **
  24  Prefactor     .10108E-03    119.96       -.43010E-05** at limit **
  25  Prefactor     .10000E-03    26.537       -.18254E-05** at limit **
  26  Normalizat    .10000E-01    .37074        .93651E-05** at limit **
  27  Prefactor     1.8253        .27835       -.69897E-05    .34128E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000144403
  norm       = 0.0001
  Prefactor  = 0.000100017
  Prefactor  = 0.0001
  Prefactor  = 0.000100083
  Prefactor  = 0.000100011
  norm       = 6.00399
  Prefactor  = 0.000102447
  Prefactor  = 48.6203
  Prefactor  = 4.1636
  Prefactor  = 4.96478
  Prefactor  = 0.000100099
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100033
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100013
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 5.63222
  norm       = 0.00010211
  Prefactor  = 0.000104521
  Prefactor  = 0.000101079
  Prefactor  = 0.000100003
  Normalizat = 0.01
  Prefactor  = 1.82526
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   766.8778     FROM HESSE     STATUS=FAILED        35 CALLS      466 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14440E-03    204.56        .95035E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    16.046        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10002E-03    106.14        .93629E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.647        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10008E-03    249.77        .51552E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    348.89        .10217E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          521.94        515.89         .0000       -1.5218    
   8  Prefactor     .10245E-03    .25347       -.39624E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     48.620        1.0024       -.27940E-07   -1.4312    
  10  Prefactor     4.1636        1.0074         .0000       -1.5300    
  11  Prefactor     4.9648        1.0055        .13096E-06   -1.5262    
  12  Prefactor     .10010E-03    .22123       -.22795E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    .20571        .23043E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .20571       -.72432E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10003E-03    .23350       -.86401E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .20571       -.56904E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    .24492        .25730E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10001E-03    .28577       -.29185E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    .20571        .79509E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    .21069        .60593E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.6322        1.0040         .0000       -1.5233    
  22  norm          .10211E-03    .24067       -.52682E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10452E-03    .21706       -.50228E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10108E-03    .32917       -.43010E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    .28326       -.18254E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .10000E-01    .25505        .93651E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.8253        1.0268       -.69897E-05   -.68794    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.52564e-10
Minuit parameter uncertainties:
  1  0.191267
  2  7.28775e-07
  3  0.00268171
  4  8.47946e-05
  5  0.00916532
  6  0.00386009
  7  1.00351
  8  0.0015752
  9  1.00236
  10  1.0074
  11  1.00552
  12  0.000296049
  13  2.31573e-06
  14  1.13076e-06
  15  0.000174365
  16  9.42271e-07
  17  1.06303e-05
  18  0.000120295
  19  8.79123e-07
  20  6.03142e-05
  21  1.00399
  22  0.00142507
  23  0.00198119
  24  0.00119182
  25  5.33014e-05
  26  3.08313e-07
  27  1.03928
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 766.877778719

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.001e-04  2.960e-04  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.825e+00  1.039e+00  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.000e-02  3.083e-07  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.33e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.50e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/51934/likelihoodResults_554515201_554774401_4FGL_J0910.8+3859_daily_bin1216.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) = 766.877822343
delta logL = -4.36234163317e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 766.877779083
delta logL = -3.64263996744e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12998E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2073       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.8253       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=   766.8778     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      290 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10237E-03    457.16        .18142E-02** at limit **
   2  Index         2.1363        8.2511        .50000        .37604E-05
   3  Normalizat    .10000E-01    .39436E-02    .87386E-02** at limit **
   4  Prefactor     1.8253        .27952E-01    .19079E-03   -.98320E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102372
  Index      = 2.13631
  Normalizat = 0.01
  Prefactor  = 1.82526
 **********
 **   18 **HESSE 
 **********

 FCN=   766.8778     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      319 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10237E-03    1854.5        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1363        6.0666        .50000       -.60984    
   3  Normalizat    .10000E-01    .17444E-01    .17477E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.8253        .58771E-01    .76316E-05   -.68794    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.65275e-09
Minuit parameter uncertainties:
  1  0.137135
  2  879.679
  3  3.39738e-07
  4  0.0587728
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/51934': 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) = 766.877778837
delta logL = -1.18204752653e-07

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.024e-04  1.371e-01  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  2.136e+00  8.797e+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.825e+00  5.877e-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.000e-02  3.397e-07  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/51934/cmap_HighResolution_554515201_554774401_4FGL_J0910.8+3859_daily_bin1216.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.50e-02', job_status='DONE', photon_flux_upper_limit='3.33e-07', time_completed='2021-08-31 02:59:14.116452', job_id='51934', GAL2='1.83', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630403954.12', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='1.83', dlogl='-1.18e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1216' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:59:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 51934: <4FGL_J0910.8+3859_daily_bin1216> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin1216 137.709 38.9999 554515201 554774401 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 :                                   340.08 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             252.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   514 sec.
    Turnaround time :                            515 sec.

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

