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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin1483
RA = 147.316, Dec = 17.83
tmin = 623721601, tmax = 623980801
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='535817', job_status='RUN', time_executed='2021-09-01 03:50:09.686623', time_epoch_executed='1630493409.69' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='1483'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/535817

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/535817/ft1_4FGL_J0949.2+1749_daily_bin1483.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/535817/ft2_4FGL_J0949.2+1749_daily_bin1483.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/535817/ft1_4FGL_J0949.2+1749_daily_bin1483.fits outfile=/scratch/kocevski/535817/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin1483.fits ra=147.316 dec=17.83 rad=12.0 tmin=623721601.0 tmax=623980801.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 5.47
user 4.94
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/535817/ft2_4FGL_J0949.2+1749_daily_bin1483.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/535817/ft2_4FGL_J0949.2+1749_daily_bin1483.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/535817/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin1483.fits evtable="EVENTS" outfile="/scratch/kocevski/535817/ft1_filtered_4FGL_J0949.2+1749_daily_bin1483.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 1.11
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/535817/ft1_filtered_4FGL_J0949.2+1749_daily_bin1483.fits" evtable="EVENTS" scfile=/scratch/kocevski/535817/ft2_4FGL_J0949.2+1749_daily_bin1483.fits sctable="SC_DATA" outfile=/scratch/kocevski/535817/ltcube_623721601_623980801_4FGL_J0949.2+1749_daily_bin1483.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/535817/ft2_4FGL_J0949.2+1749_daily_bin1483.fits
.....................!
real 12.34
user 11.57
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/535817/ft1_filtered_4FGL_J0949.2+1749_daily_bin1483.fits evtable="EVENTS" scfile=/scratch/kocevski/535817/ft2_4FGL_J0949.2+1749_daily_bin1483.fits sctable="SC_DATA" expcube=/scratch/kocevski/535817/ltcube_623721601_623980801_4FGL_J0949.2+1749_daily_bin1483.fits outfile=/scratch/kocevski/535817/expmap_623721601_623980801_4FGL_J0949.2+1749_daily_bin1483.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/535817/ltcube_623721601_623980801_4FGL_J0949.2+1749_daily_bin1483.fits
.....................!
real 190.61
user 185.41
sys 4.53

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 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J0949.2+1749 @ 147.316 17.83

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/535817/ft1_filtered_4FGL_J0949.2+1749_daily_bin1483.fits scfile=/scratch/kocevski/535817/ft2_4FGL_J0949.2+1749_daily_bin1483.fits outfile=/scratch/kocevski/535817/cmap_623721601_623980801_4FGL_J0949.2+1749_daily_bin1483.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=147.316 yref=17.83 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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/535817/ft1_filtered_4FGL_J0949.2+1749_daily_bin1483.fits scfile=/scratch/kocevski/535817/ft2_4FGL_J0949.2+1749_daily_bin1483.fits outfile=/scratch/kocevski/535817/cmap_HighResolution_623721601_623980801_4FGL_J0949.2+1749_daily_bin1483.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=147.316 yref=17.83 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.56
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/535817/ft1_filtered_4FGL_J0949.2+1749_daily_bin1483.fits evtable="EVENTS" scfile=/scratch/kocevski/535817/ft2_4FGL_J0949.2+1749_daily_bin1483.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/535817/Model_4FGL_J0949.2+1749_daily_bin1483.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/535817/ft1_filtered_4FGL_J0949.2+1749_daily_bin1483.fits.....................!
real 56.97
user 55.44
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/535817/ft1_filtered_4FGL_J0949.2+1749_daily_bin1483.fits', '/scratch/kocevski/535817/ft2_4FGL_J0949.2+1749_daily_bin1483.fits', expMap='/scratch/kocevski/535817/expmap_623721601_623980801_4FGL_J0949.2+1749_daily_bin1483.fits', expCube='/scratch/kocevski/535817/ltcube_623721601_623980801_4FGL_J0949.2+1749_daily_bin1483.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/535817/Model_4FGL_J0949.2+1749_daily_bin1483.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0949.2+1749'

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  4.911e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  7.531e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/535817/ft1_filtered_4FGL_J0949.2+1749_daily_bin1483.fits
Spacecraft file(s): /scratch/kocevski/535817/ft2_4FGL_J0949.2+1749_daily_bin1483.fits
Exposure map: /scratch/kocevski/535817/expmap_623721601_623980801_4FGL_J0949.2+1749_daily_bin1483.fits
Exposure cube: /scratch/kocevski/535817/ltcube_623721601_623980801_4FGL_J0949.2+1749_daily_bin1483.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/535817/Model_4FGL_J0949.2+1749_daily_bin1483.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) = 5845.85103499

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    18.978       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.7303       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .43090E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    38.648       1.0000         .10000E-03   10000.    
     7 'norm      '    4.9570       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.602       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.4894       1.0000         .10000E-03   10000.    
    12 'norm      '    16.600       1.0000         .10000E-03   10000.    
    13 'Prefactor '    38.097       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3938       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .57168       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5845.842     FROM MIGRAD    STATUS=CONVERGED    315 CALLS     1455 TOTAL
                     EDM=   .84E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.918       -.36289E-06** at limit **
   2  norm          .10000E-03    2.9870       -.34320E-07** at limit **
   3  norm          18.983        32.272        .19637E-04    .24524E-05
   4  Prefactor     2.5568        112.17       -.44130E-05   -.31353E-04
   5  Prefactor     .10000E-03    3.2600       -.70636E-07** at limit **
   6  Prefactor     38.644        35.226       -.63242E-06    .83893E-05
   7  norm          4.9567        1.6174        .60483E-08   -.54208E-04
   8  Prefactor     .10000E-03    60.936       -.17004E-06** at limit **
   9  Prefactor     18.580        32.119       -.16231E-05   -.30976E-05
  10  Prefactor     .10000E-03    2.9693        .87178E-07** at limit **
  11  Prefactor     2.4887        3.1292       -.94002E-07   -.46061E-03
  12  norm          16.599        9.5401       -.10528E-05   -.12835E-04
  13  Prefactor     38.083        34.910       -.43411E-05    .10146E-05
  14  Prefactor     .10000E-03    2.5582        .26267E-07** at limit **
  15  Normalizat    1.3939        .18471        .62152E-06   -.37186E-04
  16  Prefactor     .57156        .15612       -.11611E-05    .22279E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 18.9828
  Prefactor  = 2.55679
  Prefactor  = 0.0001
  Prefactor  = 38.6445
  norm       = 4.95665
  Prefactor  = 0.0001
  Prefactor  = 18.5802
  Prefactor  = 0.0001
  Prefactor  = 2.48869
  norm       = 16.5987
  Prefactor  = 38.0829
  Prefactor  = 0.0001
  Normalizat = 1.39394
  Prefactor  = 0.571563
 **********
 **   18 **HESSE 
 **********

 FCN=   5845.842     FROM HESSE     STATUS=OK           205 CALLS     1660 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.9945        .12905E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          18.983        32.243        .91938E-04   -1.4836    
   4  Prefactor     2.5568        112.68        .24643E-03   -1.5388    
   5  Prefactor     .10000E-03    16.239        .26316E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     38.644        34.981        .64472E-04   -1.4464    
   7  norm          4.9567        1.6218        .52793E-04   -1.5263    
   8  Prefactor     .10000E-03    61.058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.580        32.239        .92863E-04   -1.4846    
  10  Prefactor     .10000E-03    2.9849        .12863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4887        3.1188        .14607E-03   -1.5392    
  12  norm          16.599        9.5563        .98302E-04   -1.4893    
  13  Prefactor     38.083        34.919        .64935E-04   -1.4473    
  14  Prefactor     .10000E-03    2.5597        .11943E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.3939        .21969        .21787E-03   -.80804    
  16  Prefactor     .57156        .18397        .28305E-03   -1.0880    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83121e-10
Minuit parameter uncertainties:
  1  0.000115671
  2  5.30787e-07
  3  32.2729
  4  34.0143
  5  0.000124622
  6  35
  7  1.62181
  8  2.94526e-05
  9  32.2691
  10  6.24319e-06
  11  3.11898
  12  9.55722
  13  34.9382
  14  2.14371e-06
  15  0.219838
  16  0.184162
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.858e+01  3.227e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  7.531e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  5.716e-01  1.842e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  1.394e+00  2.198e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.40
Ra Dec: 147.316 17.830
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/535817/likelihoodResults_623721601_623980801_4FGL_J0949.2+1749_daily_bin1483.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) = 5845.64447671
delta logL = 0.197088951158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5845.6166769
delta logL = 0.224888760811

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.715       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3991       1.0000          .0000       10.000    
     3 'Normalizat'    1.3658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58748       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5845.617     FROM MIGRAD    STATUS=FAILED       101 CALLS      322 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.748        39.716        .61199E-03   -.16663E-04
   2  Index         3.3980        2.2838        .75718E-02    .29181E-03
   3  Normalizat    1.3658        .21713        .21973E-03   -.32025E-03
   4  Prefactor     .58740        .18588        .27948E-03    .20339E-06
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5845.617     FROM SIMPLEX   STATUS=UNCHANGED     81 CALLS      403 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.748        39.716        .38253E-03   -1.5052    
   2  Index         3.3980        2.2838        .14839E-02   -.32614    
   3  Normalizat    1.3658        .21713        .17793E-03   -.81622    
   4  Prefactor     .58740        .18588        .27908E-03   -1.0812    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5845.617     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      431 TOTAL
                     EDM=   .23E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.748        26.066        .24480E-04    .14118E-04
   2  Index         3.3980        1.5323        .15144E-02   -.13738E-05
   3  Normalizat    1.3658        .21662        .43947E-04    .93129E-06
   4  Prefactor     .58740        .18502        .11179E-04    .81355E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.7476
  Index      = 3.39804
  Normalizat = 1.36583
  Prefactor  = 0.587398
 **********
 **   18 **HESSE 
 **********

 FCN=   5845.617     FROM HESSE     STATUS=OK            23 CALLS      454 TOTAL
                     EDM=   .26E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.748        24.843        .48959E-05   -1.5052    
   2  Index         3.3980        1.4622        .60575E-04   -.32614    
   3  Normalizat    1.3658        .21655        .87893E-05   -.81622    
   4  Prefactor     .58740        .18491        .22359E-05   -1.0812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.59721e-12
Minuit parameter uncertainties:
  1  24.8665
  2  1.48648
  3  0.216696
  4  0.185099
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/535817': 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) = 5845.61667562
delta logL = 0.22489004346

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.075e+01  2.487e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  3.398e+00  1.486e+00  0.000e+00  1.000e+01 (-1.000e+00)
223        Scale:  7.531e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  5.874e-01  1.851e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  1.366e+00  2.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.40
Ra Dec: 147.316 17.830

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/535817/cmap_HighResolution_623721601_623980801_4FGL_J0949.2+1749_daily_bin1483.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.90e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-09-01 04:02:18.956349', job_id='535817', GAL2='0.59', fit_tolerance='1e-08', EG2='1.37', EG='1.39', time_epoch_completed='1630494138.96', return_code2='0', ts='0.40', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='2.25e-01', ts2='0.87', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1483' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 04:02:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 535817: <4FGL_J0949.2+1749_daily_bin1483> in cluster <slac> Done

Job <4FGL_J0949.2+1749_daily_bin1483> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep  1 03:45:46 2021
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 03:45:48 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 03:45:48 2021
Terminated at Wed Sep  1 04:02:19 2021
Results reported at Wed Sep  1 04:02:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin1483 147.316 17.83 623721601 623980801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0949.2+1749 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   505.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             204.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   991 sec.
    Turnaround time :                            993 sec.

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

