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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin22
RA = 137.709, Dec = 38.9999
tmin = 245030401, tmax = 245289601
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='45417', job_status='RUN', time_executed='2021-08-31 02:34:09.360527', time_epoch_executed='1630402449.36' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='22'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/45417

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/45417/ft1_4FGL_J0910.8+3859_daily_bin22.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/45417/ft2_4FGL_J0910.8+3859_daily_bin22.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/45417/ft1_4FGL_J0910.8+3859_daily_bin22.fits outfile=/scratch/kocevski/45417/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin22.fits ra=137.709 dec=38.9999 rad=12.0 tmin=245030401.0 tmax=245289601.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 1.72
user 1.28
sys 0.40

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/45417/ft1_filtered_4FGL_J0910.8+3859_daily_bin22.fits" evtable="EVENTS" scfile=/scratch/kocevski/45417/ft2_4FGL_J0910.8+3859_daily_bin22.fits sctable="SC_DATA" outfile=/scratch/kocevski/45417/ltcube_245030401_245289601_4FGL_J0910.8+3859_daily_bin22.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/45417/ft2_4FGL_J0910.8+3859_daily_bin22.fits
.....................!
real 13.57
user 12.92
sys 0.58

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/45417/ft1_filtered_4FGL_J0910.8+3859_daily_bin22.fits evtable="EVENTS" scfile=/scratch/kocevski/45417/ft2_4FGL_J0910.8+3859_daily_bin22.fits sctable="SC_DATA" expcube=/scratch/kocevski/45417/ltcube_245030401_245289601_4FGL_J0910.8+3859_daily_bin22.fits outfile=/scratch/kocevski/45417/expmap_245030401_245289601_4FGL_J0910.8+3859_daily_bin22.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/45417/ltcube_245030401_245289601_4FGL_J0910.8+3859_daily_bin22.fits
.....................!
real 193.60
user 185.84
sys 6.03

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/45417/ft1_filtered_4FGL_J0910.8+3859_daily_bin22.fits scfile=/scratch/kocevski/45417/ft2_4FGL_J0910.8+3859_daily_bin22.fits outfile=/scratch/kocevski/45417/cmap_245030401_245289601_4FGL_J0910.8+3859_daily_bin22.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.76
user 0.36
sys 0.38

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/45417/ft1_filtered_4FGL_J0910.8+3859_daily_bin22.fits scfile=/scratch/kocevski/45417/ft2_4FGL_J0910.8+3859_daily_bin22.fits outfile=/scratch/kocevski/45417/cmap_HighResolution_245030401_245289601_4FGL_J0910.8+3859_daily_bin22.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.78
user 0.37
sys 0.39

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.4190       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.4199       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.8261       1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.1789       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .37236       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.312       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.0393       1.0000         .10000E-03   10000.    
    12 'Prefactor '    48.973       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10066E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.4952       1.0000         .10000E-03   10000.    
    16 'norm      '    .78891       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10307E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.7019       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.3729       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .17358E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    85.714       1.0000         .10000E-03   10000.    
    24 'Prefactor '    58.876       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1087       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0021       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=   5383.910     FROM MIGRAD    STATUS=CONVERGED    690 CALLS     3410 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.7191       -.11965E-07** at limit **
   2  norm          1.4188        .61250       -.34906E-07    .11648E-03
   3  Prefactor     .10000E-03    21.707        .87923E-07** at limit **
   4  Prefactor     1.4193        2.2355       -.37513E-06   -.59637E-03
   5  Prefactor     .10000E-03    9.3116        .76683E-08** at limit **
   6  Prefactor     4.8241        9.4029        .37666E-06   -.11544E-03
   7  norm          .10000E-03    2.2565       -.43376E-07** at limit **
   8  Prefactor     1.1757        1.9615       -.36026E-06   -.51630E-03
   9  Prefactor     .18732        21.925       -.23732E-05    .18477E-04
  10  Prefactor     10.266        39.604        .42861E-05   -.18411E-05
  11  Prefactor     3.0395        2.8388        .15229E-07    .23886E-03
  12  Prefactor     48.987        37.671       -.86309E-05    .21490E-04
  13  Prefactor     .10000E-03    .76995        .22312E-07** at limit **
  14  norm          .10000E-03    1.9295       -.20829E-06** at limit **
  15  Prefactor     4.4618        19.249        .60888E-05    .46663E-04
  16  norm          .78852        .47489       -.20074E-07    .50922E-03
  17  Prefactor     .10000E-03    1.9428       -.16836E-06** at limit **
  18  norm          3.7085        7.8712       -.87051E-05   -.25558E-03
  19  Prefactor     1.3728        1.9083        .27899E-06    .20373E-05
  20  Prefactor     .10000E-03    2.1746       -.57875E-07** at limit **
  21  Prefactor     .10000E-03    6.1888       -.60370E-07** at limit **
  22  norm          .10000E-03    38.963       -.24323E-06** at limit **
  23  Prefactor     85.633        48.953        .47669E-05    .55627E-04
  24  Prefactor     58.811        65.261       -.18390E-04    .29408E-04
  25  Prefactor     .10000E-03    11.659       -.11779E-06** at limit **
  26  Normalizat    1.1088        .19131        .39214E-05    .13892E-03
  27  Prefactor     1.0023        .18744       -.85574E-06    .32250E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.41884
  Prefactor  = 0.0001
  Prefactor  = 1.41933
  Prefactor  = 0.0001
  Prefactor  = 4.82406
  norm       = 0.0001
  Prefactor  = 1.17575
  Prefactor  = 0.187322
  Prefactor  = 10.2656
  Prefactor  = 3.03953
  Prefactor  = 48.9866
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.46181
  norm       = 0.788519
  Prefactor  = 0.0001
  norm       = 3.70849
  Prefactor  = 1.37275
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 85.633
  Prefactor  = 58.8111
  Prefactor  = 0.0001
  Normalizat = 1.10879
  Prefactor  = 1.00229
 **********
 **   18 **HESSE 
 **********

 FCN=   5383.910     FROM HESSE     STATUS=OK           496 CALLS     3906 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.7206        .93949E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.4188        .61516        .36457E-04   -1.5470    
   3  Prefactor     .10000E-03    22.392        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.4193        2.2073        .13235E-03   -1.5470    
   5  Prefactor     .10000E-03    9.3164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.8241        9.3893        .18312E-03   -1.5269    
   7  norm          .10000E-03    2.2626        .10764E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.1757        1.9131        .12800E-03   -1.5491    
   9  Prefactor     .18732        33.210        .92623E-01   -1.5621    
  10  Prefactor     10.266        39.570        .12477E-03   -1.5067    
  11  Prefactor     3.0395        2.8463        .11593E-03   -1.5359    
  12  Prefactor     48.987        37.516        .28651E-03   -1.4307    
  13  Prefactor     .10000E-03    .77241        .62854E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    4.3463        .19542E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.4618        18.892        .18990E-03   -1.5285    
  16  norm          .78852        .45467        .36226E-04   -1.5530    
  17  Prefactor     .10000E-03    3.1240        .18787E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.7085        7.9085        .20990E-03   -1.5323    
  19  Prefactor     1.3728        1.8706        .11382E-03   -1.5474    
  20  Prefactor     .10000E-03    2.1903        .10559E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.2097        .17828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    39.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     85.633        48.808        .43392E-04   -1.3855    
  24  Prefactor     58.811        65.100        .52287E-04   -1.4173    
  25  Prefactor     .10000E-03    11.744        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1088        .22172        .24341E-03   -.89470    
  27  Prefactor     1.0023        .21587        .26282E-03   -.92653    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04647e-09
Minuit parameter uncertainties:
  1  1.62305e-06
  2  0.615161
  3  4.42396e-05
  4  2.20743
  5  9.44462e-06
  6  9.39215
  7  3.97478e-06
  8  1.91322
  9  4.98986
  10  39.671
  11  2.84647
  12  37.5339
  13  2.29352e-06
  14  3.92387e-05
  15  18.3717
  16  0.454676
  17  2.03066e-05
  18  7.91074
  19  1.87068
  20  5.36501e-06
  21  7.04854e-06
  22  0.0003224
  23  48.8312
  24  65.1789
  25  1.13059e-05
  26  0.221909
  27  0.216054
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  4.899e+01  3.753e+01  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.002e+00  2.161e-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.109e+00  2.219e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.74
Ra Dec: 137.709 39.000
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 2.88e-08 +/- 2.21e-08
Energy Flux (Fixed Index): 2.01e-05 +/- 1.54e-05

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): 0
logL (Free Index) = 5383.67751512
delta logL = 0.232554234495

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5383.65407353
delta logL = 0.255995825683

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    63.962       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6066       1.0000          .0000       10.000    
     3 'Normalizat'    1.1194       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99801       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=   5383.654     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      281 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     63.961        51.454        .50177E-04    .35998E-03
   2  Index         1.6066        .53309        .87217E-02    .16192E-03
   3  Normalizat    1.1193        .20259        .24244E-03   -.73620E-04
   4  Prefactor     .99802        .20989        .26338E-03   -.63624E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 63.9606
  Index      = 1.6066
  Normalizat = 1.11935
  Prefactor  = 0.998016
 **********
 **   18 **HESSE 
 **********

 FCN=   5383.654     FROM HESSE     STATUS=OK            23 CALLS      304 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     63.961        51.204        .10035E-04   -1.4107    
   2  Index         1.6066        .53057        .34887E-03   -.74596    
   3  Normalizat    1.1193        .20273        .96978E-05   -.89133    
   4  Prefactor     .99802        .21005        .10535E-04   -.92796    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.36939e-10
Minuit parameter uncertainties:
  1  51.2391
  2  0.532432
  3  0.202867
  4  0.210227
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/45417': 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): 0
logL (Free Index) = 5383.65407353
delta logL = 0.255995827718

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
636    Prefactor:  9.980e-01  2.102e-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.119e+00  2.029e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.25
Ra Dec: 137.709 39.000
Photon Index (Free Index): 1.61 +/- 0.53
Photon Flux (Free Index): 1.76e-08 +/- 1.95e-08
Energy Flux (Free Index): 3.89e-05 +/- 4.93e-05

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/45417/cmap_HighResolution_245030401_245289601_4FGL_J0910.8+3859_daily_bin22.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.88e-08', energy_flux2='3.89e-05', photon_flux_error='2.21e-08', dlogl='2.56e-01', energy_flux='2.01e-05', photon_flux2='1.76e-08', job_status='DONE', time_completed='2021-08-31 02:45:34.849468', photon_index_error2='0.53', photon_index2='1.61', ts='8.74', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='4.93e-05', EG='1.11', time_epoch_completed='1630403134.85', return_code='0', job_id='45417', GAL2='1.00', EG2='1.12', return_code2='0', energy_flux_error='1.54e-05', photon_flux_error2='1.95e-08', ts2='9.25', photon_index='2.00' WHERE bin_id='22' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:45:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 45417: <4FGL_J0910.8+3859_daily_bin22> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin22 137.709 38.9999 245030401 245289601 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 :                                   685.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             295.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   853 sec.
    Turnaround time :                            855 sec.

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

