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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin1123
RA = 137.709, Dec = 38.9999
tmin = 530409601, tmax = 530668801
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='51788', job_status='RUN', time_executed='2021-08-31 02:50:54.968742', time_epoch_executed='1630403454.97' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='1123'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/51788

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/51788/ft1_4FGL_J0910.8+3859_daily_bin1123.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/51788/ft2_4FGL_J0910.8+3859_daily_bin1123.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/51788/ft1_4FGL_J0910.8+3859_daily_bin1123.fits outfile=/scratch/kocevski/51788/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1123.fits ra=137.709 dec=38.9999 rad=12.0 tmin=530409601.0 tmax=530668801.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.03
user 3.46
sys 0.54

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/51788/ft2_4FGL_J0910.8+3859_daily_bin1123.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/51788/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1123.fits evtable="EVENTS" outfile="/scratch/kocevski/51788/ft1_filtered_4FGL_J0910.8+3859_daily_bin1123.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.83
user 0.34
sys 0.48

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/51788/ft1_filtered_4FGL_J0910.8+3859_daily_bin1123.fits" evtable="EVENTS" scfile=/scratch/kocevski/51788/ft2_4FGL_J0910.8+3859_daily_bin1123.fits sctable="SC_DATA" outfile=/scratch/kocevski/51788/ltcube_530409601_530668801_4FGL_J0910.8+3859_daily_bin1123.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/51788/ft2_4FGL_J0910.8+3859_daily_bin1123.fits
.....................!
real 12.32
user 11.55
sys 0.72

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/51788/ft1_filtered_4FGL_J0910.8+3859_daily_bin1123.fits evtable="EVENTS" scfile=/scratch/kocevski/51788/ft2_4FGL_J0910.8+3859_daily_bin1123.fits sctable="SC_DATA" expcube=/scratch/kocevski/51788/ltcube_530409601_530668801_4FGL_J0910.8+3859_daily_bin1123.fits outfile=/scratch/kocevski/51788/expmap_530409601_530668801_4FGL_J0910.8+3859_daily_bin1123.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/51788/ltcube_530409601_530668801_4FGL_J0910.8+3859_daily_bin1123.fits
.....................!
real 192.31
user 187.35
sys 4.54

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/51788/ft1_filtered_4FGL_J0910.8+3859_daily_bin1123.fits scfile=/scratch/kocevski/51788/ft2_4FGL_J0910.8+3859_daily_bin1123.fits outfile=/scratch/kocevski/51788/cmap_530409601_530668801_4FGL_J0910.8+3859_daily_bin1123.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.87
user 0.38
sys 0.47

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/51788/ft1_filtered_4FGL_J0910.8+3859_daily_bin1123.fits scfile=/scratch/kocevski/51788/ft2_4FGL_J0910.8+3859_daily_bin1123.fits outfile=/scratch/kocevski/51788/cmap_HighResolution_530409601_530668801_4FGL_J0910.8+3859_daily_bin1123.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.87
user 0.38
sys 0.47

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8145       1.0000         .10000E-03   10000.    
     2 'norm      '    .76243       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.1296       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.8416       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.8395       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.4566       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.6033       1.0000         .10000E-03   10000.    
    14 'norm      '    2.2236       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.3453       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .82249E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    19.180       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .18323       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.1717       1.0000         .10000E-03   10000.    
    21 'Prefactor '    14.120       1.0000         .10000E-03   10000.    
    22 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    19.738       1.0000         .10000E-03   10000.    
    25 'Prefactor '    6.4066       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .66724       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1643       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=   5919.565     FROM MIGRAD    STATUS=CONVERGED    638 CALLS     2878 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8113        2.9892        .62995E-06   -.15505E-02
   2  norm          .76258        .50487       -.16932E-07   -.23507E-03
   3  Prefactor     .10000E-03    12.362        .70498E-05** at limit **
   4  Prefactor     4.1305        3.4322       -.49361E-07   -.11923E-02
   5  Prefactor     3.8344        15.935       -.86284E-05   -.41192E-04
   6  Prefactor     .10000E-03    8.1432       -.12948E-05** at limit **
   7  norm          .10000E-03    3.0483        .29164E-08** at limit **
   8  Prefactor     .10000E-03    .76768       -.42712E-08** at limit **
   9  Prefactor     9.8395        16.463       -.47866E-06   -.13048E-05
  10  Prefactor     .10000E-03    19.932       -.27771E-05** at limit **
  11  Prefactor     1.4565        2.1398       -.24107E-07   -.40218E-04
  12  Prefactor     .10000E-03    9.8560       -.77580E-05** at limit **
  13  Prefactor     4.6047        3.7832       -.52160E-07   -.50162E-04
  14  norm          2.2236        1.4784       -.22863E-07    .10313E-04
  15  Prefactor     .10000E-03    8.0091        .12040E-05** at limit **
  16  norm          3.3444        .84898       -.39323E-07   -.19082E-02
  17  Prefactor     .10003E-03    1.7056        .31368E-06** at limit **
  18  norm          19.184        9.2591       -.15264E-06   -.14728E-06
  19  Prefactor     .18005        1.4126       -.12717E-06    .22723E-03
  20  Prefactor     2.1718        2.1546       -.31714E-07    .11542E-04
  21  Prefactor     14.118        12.149       -.50479E-06   -.32782E-04
  22  norm          .10000E-03    7.8041        .33221E-05** at limit **
  23  Prefactor     .10000E-03    5.2238       -.14818E-06** at limit **
  24  Prefactor     19.731        26.296       -.95078E-05   -.46071E-04
  25  Prefactor     6.4087        11.527        .14459E-06   -.22775E-03
  26  Normalizat    .66704        .17028        .19648E-05   -.14901E-03
  27  Prefactor     1.1645        .17622       -.28230E-06   -.40088E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.8113
  norm       = 0.762581
  Prefactor  = 0.0001
  Prefactor  = 4.13047
  Prefactor  = 3.83441
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.83948
  Prefactor  = 0.0001
  Prefactor  = 1.45646
  Prefactor  = 0.0001
  Prefactor  = 4.60468
  norm       = 2.2236
  Prefactor  = 0.0001
  norm       = 3.34441
  Prefactor  = 0.000100032
  norm       = 19.1838
  Prefactor  = 0.180053
  Prefactor  = 2.17184
  Prefactor  = 14.1183
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.7307
  Prefactor  = 6.40869
  Normalizat = 0.667043
  Prefactor  = 1.1645
 **********
 **   18 **HESSE 
 **********

 FCN=   5919.565     FROM HESSE     STATUS=OK           496 CALLS     3374 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8113        7.8087        .15505E-02   -1.5439    
   2  norm          .76258        .51445        .42769E-04   -1.5533    
   3  Prefactor     .10000E-03    12.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.1305        3.4099        .58854E-03   -1.5301    
   5  Prefactor     3.8344        15.890        .20590E-03   -1.5316    
   6  Prefactor     .10000E-03    8.2498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.1301        .26234E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    .77395        .65801E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.8395        16.468        .12775E-03   -1.5081    
  10  Prefactor     .10000E-03    19.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.4565        2.1111        .13242E-03   -1.5467    
  12  Prefactor     .10000E-03    9.8530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.6047        3.7495        .11986E-03   -1.5279    
  14  norm          2.2236        1.4834        .74066E-04   -1.5410    
  15  Prefactor     .10000E-03    8.0176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.3444        .72012        .28505E-04   -1.5342    
  17  Prefactor     .10003E-03    23.865        .15896E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          19.184        9.2398        .91454E-04   -1.4832    
  19  Prefactor     .18005        5.5958        .15976E-02   -1.5623    
  20  Prefactor     2.1718        2.1614        .10916E-03   -1.5413    
  21  Prefactor     14.118        12.145        .10659E-03   -1.4956    
  22  norm          .10000E-03    7.8594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    5.2242        .17172E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     19.731        26.403        .90153E-04   -1.4819    
  25  Prefactor     6.4087        11.735        .79285E-03   -1.5202    
  26  Normalizat    .66704        .19952        .27489E-03   -1.0521    
  27  Prefactor     1.1645        .20740        .23395E-03   -.87431    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.50286e-09
Minuit parameter uncertainties:
  1  7.52315
  2  0.514453
  3  3.43594e-05
  4  3.41007
  5  15.6181
  6  4.50093e-05
  7  3.79857e-06
  8  1.15453e-06
  9  16.4754
  10  1.91318e-05
  11  2.11123
  12  2.93062e-05
  13  3.74966
  14  1.48347
  15  6.77863e-06
  16  0.720126
  17  0.00174794
  18  9.24047
  19  2.00718
  20  2.16144
  21  12.1473
  22  3.71121e-05
  23  1.99972e-05
  24  26.4189
  25  11.7393
  26  0.199737
  27  0.207549
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  2.931e-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.164e+00  2.075e-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:  6.670e-01  1.997e-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.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/51788/likelihoodResults_530409601_530668801_4FGL_J0910.8+3859_daily_bin1123.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) = 5919.56543291
delta logL = -0.000475414677567

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5919.56495731
delta logL = 1.84862983588e-07

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 'Index     '    1.9660       1.0000          .0000       10.000    
     3 'Normalizat'    .66704       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1645       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=   5919.565     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      255 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10175E-03    74.651        .18142E-02** at limit **
   2  Index         1.9035        8.9965        .50000        .20075E-04
   3  Normalizat    .66704        .10616E-01    .27489E-03   -.59555E-05
   4  Prefactor     1.1645        .11717E-01    .23395E-03   -.22839E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101754
  Index      = 1.90352
  Normalizat = 0.667044
  Prefactor  = 1.1645
 **********
 **   18 **HESSE 
 **********

 FCN=   5919.565     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      284 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10175E-03    319.94        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9035        5.4033        .50000       -.66784    
   3  Normalizat    .66704        .22624E-01    .10995E-04   -1.0521    
   4  Prefactor     1.1645        .24971E-01    .93580E-05   -.87431    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.22209e-08
Minuit parameter uncertainties:
  1  0.0476344
  2  444.891
  3  0.0226248
  4  0.024971
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/51788': 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) = 5919.56495705
delta logL = 4.44832949142e-07

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.018e-04  4.763e-02  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  1.904e+00  4.449e+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.164e+00  2.497e-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:  6.670e-01  2.262e-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/51788/cmap_HighResolution_530409601_530668801_4FGL_J0910.8+3859_daily_bin1123.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.44e-03', job_status='DONE', photon_flux_upper_limit='3.26e-08', time_completed='2021-08-31 03:03:54.645479', job_id='51788', GAL2='1.16', fit_tolerance='1e-08', EG2='0.67', EG='0.67', time_epoch_completed='1630404234.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='4.45e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1123' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 03:03:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 51788: <4FGL_J0910.8+3859_daily_bin1123> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin1123 137.709 38.9999 530409601 530668801 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 :                                   783.06 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             326.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            807 sec.

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

