/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 5 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 = 7394
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0910.8+3859_daily_bin61
RA = 137.709, Dec = 38.9999
tmin = 255139201, tmax = 255398401
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='45479', job_status='RUN', time_executed='2021-08-31 02:34:12.996529', time_epoch_executed='1630402453.0' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='61'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/45479

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/45479/ft1_4FGL_J0910.8+3859_daily_bin61.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/45479/ft2_4FGL_J0910.8+3859_daily_bin61.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/45479/ft1_4FGL_J0910.8+3859_daily_bin61.fits outfile=/scratch/kocevski/45479/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin61.fits ra=137.709 dec=38.9999 rad=12.0 tmin=255139201.0 tmax=255398401.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 18.16
user 7.15
sys 7.96

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/45479/ft1_filtered_4FGL_J0910.8+3859_daily_bin61.fits" evtable="EVENTS" scfile=/scratch/kocevski/45479/ft2_4FGL_J0910.8+3859_daily_bin61.fits sctable="SC_DATA" outfile=/scratch/kocevski/45479/ltcube_255139201_255398401_4FGL_J0910.8+3859_daily_bin61.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/45479/ft2_4FGL_J0910.8+3859_daily_bin61.fits
.....................!
real 22.31
user 11.84
sys 9.03

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/45479/ft1_filtered_4FGL_J0910.8+3859_daily_bin61.fits evtable="EVENTS" scfile=/scratch/kocevski/45479/ft2_4FGL_J0910.8+3859_daily_bin61.fits sctable="SC_DATA" expcube=/scratch/kocevski/45479/ltcube_255139201_255398401_4FGL_J0910.8+3859_daily_bin61.fits outfile=/scratch/kocevski/45479/expmap_255139201_255398401_4FGL_J0910.8+3859_daily_bin61.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/45479/ltcube_255139201_255398401_4FGL_J0910.8+3859_daily_bin61.fits
.....................!
real 202.70
user 185.64
sys 14.82

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/45479/ft1_filtered_4FGL_J0910.8+3859_daily_bin61.fits scfile=/scratch/kocevski/45479/ft2_4FGL_J0910.8+3859_daily_bin61.fits outfile=/scratch/kocevski/45479/cmap_255139201_255398401_4FGL_J0910.8+3859_daily_bin61.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 10.80
user 0.36
sys 7.71

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/45479/ft1_filtered_4FGL_J0910.8+3859_daily_bin61.fits scfile=/scratch/kocevski/45479/ft2_4FGL_J0910.8+3859_daily_bin61.fits outfile=/scratch/kocevski/45479/cmap_HighResolution_255139201_255398401_4FGL_J0910.8+3859_daily_bin61.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 8.99
user 0.37
sys 7.63

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.296       1.0000         .10000E-03   10000.    
     2 'norm      '    1.1478       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.338       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.1074       1.0000         .10000E-03   10000.    
     7 'norm      '    9.7971       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .34823       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.781       1.0000         .10000E-03   10000.    
    10 'Prefactor '    109.04       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.937       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .33210E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.0143       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.8213       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11012E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.2425       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.8896       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .16928       1.0000         .10000E-03   10000.    
    22 'norm      '    .10570E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .26750E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0541       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .87327       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=   3851.542     FROM MIGRAD    STATUS=CONVERGED    664 CALLS     3326 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.296        10.866       -.21178E-07   -.42924E-04
   2  norm          1.1477        .73794       -.55245E-08   -.19057E-03
   3  Prefactor     .10000E-03    6.3410        .57408E-07** at limit **
   4  Prefactor     .10000E-03    1.2542       -.56745E-07** at limit **
   5  Prefactor     11.274        47.118       -.11384E-04   -.22177E-04
   6  Prefactor     1.1372        101.82        .93128E-05    .10087E-03
   7  norm          9.7971        7.5858       -.13922E-06    .18384E-05
   8  Prefactor     .34874        3.8119       -.11183E-05   -.79383E-05
   9  Prefactor     10.785        22.011       -.16795E-07   -.66932E-06
  10  Prefactor     109.04        92.016       -.94128E-07    .17866E-04
  11  Prefactor     13.940        7.6117       -.36373E-07    .36893E-04
  12  Prefactor     .10000E-03    38.290        .36766E-06** at limit **
  13  Prefactor     .10000E-03    2.3319       -.14701E-07** at limit **
  14  norm          2.0144        1.9271       -.31215E-07   -.10780E-04
  15  Prefactor     .10000E-03    8.1646       -.21692E-06** at limit **
  16  norm          2.8202        .85225        .67317E-07    .12263E-02
  17  Prefactor     .10000E-03    4.9344       -.72410E-06** at limit **
  18  norm          .10000E-03    3.4562       -.18027E-06** at limit **
  19  Prefactor     2.2428        2.3879        .15594E-06    .17884E-03
  20  Prefactor     3.8907        5.2860       -.89234E-06    .66246E-04
  21  Prefactor     .15786        19.317       -.36775E-05    .36583E-03
  22  norm          .10000E-03    27.944       -.81612E-06** at limit **
  23  Prefactor     .10000E-03    118.97       -.20163E-05** at limit **
  24  Prefactor     .10000E-03    22.213        .30830E-07** at limit **
  25  Prefactor     .10000E-03    7.2393       -.35628E-06** at limit **
  26  Normalizat    1.0538        .22138        .42874E-07    .88495E-04
  27  Prefactor     .87331        .22734        .10752E-05    .44722E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.2962
  norm       = 1.14768
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.2738
  Prefactor  = 1.13718
  norm       = 9.79713
  Prefactor  = 0.348741
  Prefactor  = 10.7846
  Prefactor  = 109.043
  Prefactor  = 13.9397
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 2.01436
  Prefactor  = 0.0001
  norm       = 2.82024
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.24282
  Prefactor  = 3.89065
  Prefactor  = 0.157859
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.05385
  Prefactor  = 0.87331
 **********
 **   18 **HESSE 
 **********

 FCN=   3851.542     FROM HESSE     STATUS=OK           494 CALLS     3820 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.296        10.854        .99215E-04   -1.4900    
   2  norm          1.1477        .74109        .40464E-04   -1.5494    
   3  Prefactor     .10000E-03    6.3518        .15264E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.2649        .67875E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.274        51.434        .11898E-03   -1.5036    
   6  Prefactor     1.1372        120.04        .42927E-02   -1.5495    
   7  norm          9.7971        7.5719        .12802E-03   -1.5082    
   8  Prefactor     .34874        3.7991        .22841E-03   -1.5590    
   9  Prefactor     10.785        22.014        .12202E-03   -1.5051    
  10  Prefactor     109.04        91.826        .38517E-04   -1.3616    
  11  Prefactor     13.940        7.6200        .10729E-03   -1.4961    
  12  Prefactor     .10000E-03    38.258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.863        .18044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.0144        1.9230        .81644E-04   -1.5424    
  15  Prefactor     .10000E-03    8.1702        .17321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.8202        .84773        .29800E-04   -1.5372    
  17  Prefactor     .10000E-03    5.0957        .26732E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.4628        .11269E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.2428        2.3710        .94552E-04   -1.5408    
  20  Prefactor     3.8907        5.2418        .78427E-03   -1.5313    
  21  Prefactor     .15786        142.90        .36353E-02   -1.5629    
  22  norm          .10000E-03    28.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    124.39        .42875E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    22.228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    7.2757        .16312E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0538        .24960        .23880E-03   -.91248    
  27  Prefactor     .87331        .25633        .27312E-03   -.97080    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.70191e-09
Minuit parameter uncertainties:
  1  10.8558
  2  0.741097
  3  1.21193e-05
  4  1.07458e-07
  5  48.229
  6  23.4141
  7  7.5726
  8  2.30193
  9  22.0309
  10  91.9464
  11  7.62048
  12  0.00022951
  13  0.000178267
  14  1.9231
  15  6.33905e-06
  16  0.847736
  17  2.80711e-05
  18  6.69957e-06
  19  2.37113
  20  5.24244
  21  9.51886
  22  0.000174176
  23  0.000298013
  24  8.61816e-05
  25  2.4646e-05
  26  0.249876
  27  0.256686
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  2.295e-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:  8.733e-01  2.567e-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.054e+00  2.499e-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: 7.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/45479/likelihoodResults_255139201_255398401_4FGL_J0910.8+3859_daily_bin61.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) = 3851.54194342
delta logL = -0.000124452761156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3851.5418192
delta logL = -2.36824234889e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10396E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1803       1.0000          .0000       10.000    
     3 'Normalizat'    1.0538       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87331       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=   3851.542     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      235 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.510        .90712E-02** at limit **
   2  Index         2.1570        7.5952        .50000        .53458E-05
   3  Normalizat    1.0538        .40576E-02    .40306E-01    .70890E-04
   4  Prefactor     .87331        .42875E-02    .44664E-01    .89366E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.15703
  Normalizat = 1.05385
  Prefactor  = 0.873311
 **********
 **   18 **HESSE 
 **********

 FCN=   3851.542     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      268 TOTAL
                     EDM=   .53E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    131.01        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1570        6.9296        .50000       -.60480    
   3  Normalizat    1.0538        .10553E-01    .23880E-03   -.91248    
   4  Prefactor     .87331        .11149E-01    .27312E-03   -.97080    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.33259e-08
Minuit parameter uncertainties:
  1  0.00101594
  2  166.336
  3  0.0105529
  4  0.0111487
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/45479': 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) = 3851.54181911
delta logL = -1.46869751916e-07

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  1.016e-03  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  2.157e+00  1.663e+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:  8.733e-01  1.115e-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.054e+00  1.055e-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/45479/cmap_HighResolution_255139201_255398401_4FGL_J0910.8+3859_daily_bin61.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.68e-03', job_status='DONE', photon_flux_upper_limit='7.58e-08', time_completed='2021-08-31 02:47:19.748988', job_id='45479', GAL2='0.87', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1630403239.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='-1.47e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='61' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:47:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 45479: <4FGL_J0910.8+3859_daily_bin61> in cluster <slac> Done

Job <4FGL_J0910.8+3859_daily_bin61> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 02:31:25 2021
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:31:26 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:31:26 2021
Terminated at Tue Aug 31 02:47:22 2021
Results reported at Tue Aug 31 02:47:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin61 137.709 38.9999 255139201 255398401 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 :                                   887.12 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             230.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   954 sec.
    Turnaround time :                            957 sec.

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

