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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin504
RA = 137.709, Dec = 38.9999
tmin = 369964801, tmax = 370224001
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='48599', job_status='RUN', time_executed='2021-08-31 02:41:05.384386', time_epoch_executed='1630402865.38' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='504'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/48599

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/48599/ft1_4FGL_J0910.8+3859_daily_bin504.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/48599/ft2_4FGL_J0910.8+3859_daily_bin504.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/48599/ft1_4FGL_J0910.8+3859_daily_bin504.fits outfile=/scratch/kocevski/48599/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin504.fits ra=137.709 dec=38.9999 rad=12.0 tmin=369964801.0 tmax=370224001.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 8.01
user 7.47
sys 0.44

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/48599/ft1_filtered_4FGL_J0910.8+3859_daily_bin504.fits" evtable="EVENTS" scfile=/scratch/kocevski/48599/ft2_4FGL_J0910.8+3859_daily_bin504.fits sctable="SC_DATA" outfile=/scratch/kocevski/48599/ltcube_369964801_370224001_4FGL_J0910.8+3859_daily_bin504.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/48599/ft2_4FGL_J0910.8+3859_daily_bin504.fits
.....................!
real 12.16
user 11.49
sys 0.57

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/48599/ft1_filtered_4FGL_J0910.8+3859_daily_bin504.fits evtable="EVENTS" scfile=/scratch/kocevski/48599/ft2_4FGL_J0910.8+3859_daily_bin504.fits sctable="SC_DATA" expcube=/scratch/kocevski/48599/ltcube_369964801_370224001_4FGL_J0910.8+3859_daily_bin504.fits outfile=/scratch/kocevski/48599/expmap_369964801_370224001_4FGL_J0910.8+3859_daily_bin504.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/48599/ltcube_369964801_370224001_4FGL_J0910.8+3859_daily_bin504.fits
.....................!
real 190.65
user 185.55
sys 4.49

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/48599/ft1_filtered_4FGL_J0910.8+3859_daily_bin504.fits scfile=/scratch/kocevski/48599/ft2_4FGL_J0910.8+3859_daily_bin504.fits outfile=/scratch/kocevski/48599/cmap_369964801_370224001_4FGL_J0910.8+3859_daily_bin504.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.74
user 0.38
sys 0.34

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/48599/ft1_filtered_4FGL_J0910.8+3859_daily_bin504.fits scfile=/scratch/kocevski/48599/ft2_4FGL_J0910.8+3859_daily_bin504.fits outfile=/scratch/kocevski/48599/cmap_HighResolution_369964801_370224001_4FGL_J0910.8+3859_daily_bin504.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.74
user 0.38
sys 0.35

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6552       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .76252       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .35039       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10625E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    14.651       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11297E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .17832E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10470E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .83490       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.5148       1.0000         .10000E-03   10000.    
    16 'norm      '    .22760       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10371E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.2719       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.3524       1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.3345       1.0000         .10000E-03   10000.    
    22 'norm      '    .28853E-02   1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.8607       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .21222E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .84861       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1468       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=   6279.910     FROM MIGRAD    STATUS=CONVERGED    677 CALLS     3387 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6540        7.4451        .33916E-06    .18091E-03
   2  norm          .10000E-03    .30971        .60542E-07** at limit **
   3  Prefactor     .80081        21.791       -.15268E-05    .95825E-04
   4  Prefactor     .35011        3.0050        .51690E-06   -.33713E-04
   5  Prefactor     .10001E-03    14.320        .36146E-05** at limit **
   6  Prefactor     .10000E-03    10.302       -.42689E-06** at limit **
   7  norm          14.650        6.8144        .16657E-07   -.40214E-04
   8  Prefactor     .10000E-03    1.9089        .43193E-07** at limit **
   9  Prefactor     .10000E-03    4.8908       -.39039E-07** at limit **
  10  Prefactor     .10001E-03    16.643       -.40023E-05** at limit **
  11  Prefactor     .10000E-03    1.4424        .53876E-09** at limit **
  12  Prefactor     .10004E-03    60.274       -.99137E-05** at limit **
  13  Prefactor     .10000E-03    1.4855       -.66528E-06** at limit **
  14  norm          .83485        1.1276        .20083E-07    .62063E-05
  15  Prefactor     3.5123        17.208        .10285E-04   -.36399E-03
  16  norm          .22758        .34560        .98505E-07    .22094E-03
  17  Prefactor     .10000E-03    1.5210       -.48615E-07** at limit **
  18  norm          .10000E-03    3.0185       -.58210E-06** at limit **
  19  Prefactor     1.2720        1.3312       -.18948E-06   -.41634E-04
  20  Prefactor     4.3520        3.6059        .23318E-06    .12057E-03
  21  Prefactor     8.3370        8.3876        .32172E-07   -.26288E-04
  22  norm          .10000E-03    44.978        .42088E-05** at limit **
  23  Prefactor     9.8533        18.510        .19491E-05   -.27026E-03
  24  Prefactor     .10001E-03    52.143        .52135E-05** at limit **
  25  Prefactor     .10000E-03    3.0671        .89940E-07** at limit **
  26  Normalizat    .84869        .15771       -.93445E-06    .15629E-03
  27  Prefactor     1.1468        .16621       -.15696E-06    .10417E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.65399
  norm       = 0.0001
  Prefactor  = 0.800811
  Prefactor  = 0.350108
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  norm       = 14.65
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.000100041
  Prefactor  = 0.0001
  norm       = 0.834852
  Prefactor  = 3.51229
  norm       = 0.227582
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.27196
  Prefactor  = 4.35201
  Prefactor  = 8.33703
  norm       = 0.000100004
  Prefactor  = 9.85335
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Normalizat = 0.848693
  Prefactor  = 1.14681
 **********
 **   18 **HESSE 
 **********

 FCN=   6279.910     FROM HESSE     STATUS=OK           496 CALLS     3883 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6540        7.2624        .18653E-03   -1.5276    
   2  norm          .10000E-03    1.8084        .78826E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .80081        75.375        .47499E-02   -1.5529    
   4  Prefactor     .35011        4.1525        .19519E-02   -1.5590    
   5  Prefactor     .10001E-03    14.898        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.476        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          14.650        6.8132        .10464E-03   -1.4942    
   8  Prefactor     .10000E-03    1.9876        .21327E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.8942        .17116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    17.308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.4532        .92917E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10004E-03    64.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.9724        .18006E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .83485        .98492        .94737E-03   -1.5525    
  15  Prefactor     3.5123        19.880        .10782E-02   -1.5333    
  16  norm          .22758        .30772        .54168E-03   -1.5613    
  17  Prefactor     .10000E-03    1.5508        .18924E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.0535        .13483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.2720        1.3185        .89235E-04   -1.5482    
  20  Prefactor     4.3520        3.5900        .13136E-03   -1.5291    
  21  Prefactor     8.3370        8.3855        .13886E-03   -1.5130    
  22  norm          .10000E-03    46.817        .39740E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     9.8533        18.473        .63805E-03   -1.5080    
  24  Prefactor     .10001E-03    53.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    3.0743        .13554E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .84869        .18319        .24159E-03   -.98287    
  27  Prefactor     1.1468        .19579        .22986E-03   -.87984    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65011e-08
Minuit parameter uncertainties:
  1  7.26382
  2  1.69517e-05
  3  15.5578
  4  2.41135
  5  0.000616379
  6  5.35169e-05
  7  6.81356
  8  3.83742e-06
  9  4.70989e-06
  10  0.000723146
  11  1.92436e-08
  12  0.00326411
  13  3.33886e-05
  14  0.984938
  15  16.7203
  16  0.307722
  17  3.09931e-06
  18  3.98731e-05
  19  1.31857
  20  3.59022
  21  8.38663
  22  0.000897794
  23  18.484
  24  0.00144088
  25  6.27877e-06
  26  0.183326
  27  0.19591
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  3.264e-03  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.147e+00  1.959e-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:  8.487e-01  1.833e-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: 5.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/48599/likelihoodResults_369964801_370224001_4FGL_J0910.8+3859_daily_bin504.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): 0
logL (Free Index) = 6279.90992645
delta logL = -7.38509952498e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6279.71294081
delta logL = 0.196911782741

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6191       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0902       1.0000          .0000       10.000    
     3 'Normalizat'    .82099       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1599       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=   6279.713     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      298 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6199        348.25        .20334E-03    .91031E-03
   2  Index         3.0900        6.0553        .71967E-02    .26035E-03
   3  Normalizat    .82096        .18269        .24525E-03    .65062E-03
   4  Prefactor     1.1600        .19794        .22868E-03    .55396E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.61993
  Index      = 3.09001
  Normalizat = 0.820965
  Prefactor  = 1.15996
 **********
 **   18 **HESSE 
 **********

 FCN=   6279.713     FROM HESSE     STATUS=OK            25 CALLS      323 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6199        9.0208        .81337E-05   -1.5384    
   2  Index         3.0900        1.2283        .28787E-03   -.39196    
   3  Normalizat    .82096        .18160        .49049E-04   -.99296    
   4  Prefactor     1.1600        .19372        .45735E-04   -.87573    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06829e-09
Minuit parameter uncertainties:
  1  9.0255
  2  1.24325
  3  0.181737
  4  0.193838
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/48599': 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) = 6279.71294077
delta logL = 0.196911820944

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  2.620e+00  9.025e+00  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  3.090e+00  1.243e+00  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.160e+00  1.938e-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:  8.210e-01  1.817e-01  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/48599/cmap_HighResolution_369964801_370224001_4FGL_J0910.8+3859_daily_bin504.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.01e-03', job_status='DONE', photon_flux_upper_limit='5.34e-08', time_completed='2021-08-31 02:55:34.045780', job_id='48599', GAL2='1.16', fit_tolerance='1e-08', EG2='0.82', EG='0.85', time_epoch_completed='1630403734.05', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='1.97e-01', ts2='0.41', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='504' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:55:34 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin504 137.709 38.9999 369964801 370224001 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 :                                   864.26 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             355.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            889 sec.

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

