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


Performing analysis on: 4FGL_J1359.4+0202_daily_bin774
RA = 209.859, Dec = 2.0424
tmin = 439948801, tmax = 440208001
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='91271', job_status='RUN', time_executed='2021-09-08 19:22:07.738553', time_epoch_executed='1631154127.74' WHERE source_name='4FGL J1359.4+0202' and cadence='daily' and bin_id='774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/91271

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/91271/ft1_4FGL_J1359.4+0202_daily_bin774.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/91271/ft2_4FGL_J1359.4+0202_daily_bin774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/91271/ft1_4FGL_J1359.4+0202_daily_bin774.fits outfile=/scratch/kocevski/91271/ft1_filteredMKT_4FGL_J1359.4+0202_daily_bin774.fits ra=209.859 dec=2.0424 rad=12.0 tmin=439948801.0 tmax=440208001.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 3.37
user 3.14
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/91271/ft2_4FGL_J1359.4+0202_daily_bin774.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/91271/ft2_4FGL_J1359.4+0202_daily_bin774.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/91271/ft1_filteredMKT_4FGL_J1359.4+0202_daily_bin774.fits evtable="EVENTS" outfile="/scratch/kocevski/91271/ft1_filtered_4FGL_J1359.4+0202_daily_bin774.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/91271/ft1_filtered_4FGL_J1359.4+0202_daily_bin774.fits" evtable="EVENTS" scfile=/scratch/kocevski/91271/ft2_4FGL_J1359.4+0202_daily_bin774.fits sctable="SC_DATA" outfile=/scratch/kocevski/91271/ltcube_439948801_440208001_4FGL_J1359.4+0202_daily_bin774.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/91271/ft2_4FGL_J1359.4+0202_daily_bin774.fits
.....................!
real 12.07
user 11.72
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/91271/ft1_filtered_4FGL_J1359.4+0202_daily_bin774.fits evtable="EVENTS" scfile=/scratch/kocevski/91271/ft2_4FGL_J1359.4+0202_daily_bin774.fits sctable="SC_DATA" expcube=/scratch/kocevski/91271/ltcube_439948801_440208001_4FGL_J1359.4+0202_daily_bin774.fits outfile=/scratch/kocevski/91271/expmap_439948801_440208001_4FGL_J1359.4+0202_daily_bin774.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/91271/ltcube_439948801_440208001_4FGL_J1359.4+0202_daily_bin774.fits
.....................!
real 190.51
user 185.87
sys 4.25

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 J1359.4+0202 @ 209.859 2.0424

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/91271/ft1_filtered_4FGL_J1359.4+0202_daily_bin774.fits scfile=/scratch/kocevski/91271/ft2_4FGL_J1359.4+0202_daily_bin774.fits outfile=/scratch/kocevski/91271/cmap_439948801_440208001_4FGL_J1359.4+0202_daily_bin774.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=209.859 yref=2.0424 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.59
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/91271/ft1_filtered_4FGL_J1359.4+0202_daily_bin774.fits scfile=/scratch/kocevski/91271/ft2_4FGL_J1359.4+0202_daily_bin774.fits outfile=/scratch/kocevski/91271/cmap_HighResolution_439948801_440208001_4FGL_J1359.4+0202_daily_bin774.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=209.859 yref=2.0424 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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/91271/ft1_filtered_4FGL_J1359.4+0202_daily_bin774.fits evtable="EVENTS" scfile=/scratch/kocevski/91271/ft2_4FGL_J1359.4+0202_daily_bin774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/91271/Model_4FGL_J1359.4+0202_daily_bin774.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/91271/ft1_filtered_4FGL_J1359.4+0202_daily_bin774.fits.....................!
real 57.23
user 55.91
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/91271/ft1_filtered_4FGL_J1359.4+0202_daily_bin774.fits', '/scratch/kocevski/91271/ft2_4FGL_J1359.4+0202_daily_bin774.fits', expMap='/scratch/kocevski/91271/expmap_439948801_440208001_4FGL_J1359.4+0202_daily_bin774.fits', expCube='/scratch/kocevski/91271/ltcube_439948801_440208001_4FGL_J1359.4+0202_daily_bin774.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/91271/Model_4FGL_J1359.4+0202_daily_bin774.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1359.4+0202'

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  1.682e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/91271/ft1_filtered_4FGL_J1359.4+0202_daily_bin774.fits
Spacecraft file(s): /scratch/kocevski/91271/ft2_4FGL_J1359.4+0202_daily_bin774.fits
Exposure map: /scratch/kocevski/91271/expmap_439948801_440208001_4FGL_J1359.4+0202_daily_bin774.fits
Exposure cube: /scratch/kocevski/91271/ltcube_439948801_440208001_4FGL_J1359.4+0202_daily_bin774.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/91271/Model_4FGL_J1359.4+0202_daily_bin774.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) = 7951.48972721

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11413E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.2804       1.0000         .10000E-03   10000.    
     4 'Prefactor '    71.398       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .24304E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10566E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.4668       1.0000         .10000E-03   10000.    
    10 'norm      '    3.9025       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    11.567       1.0000         .10000E-03   10000.    
    13 'norm      '    6.4251       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.1925       1.0000         .10000E-03   10000.    
    15 'norm      '    .12661E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    84.937       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10352E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .11694E-01   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1537       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .84685       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7951.486     FROM MIGRAD    STATUS=CONVERGED    443 CALLS     2364 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.3023        .29613E-07** at limit **
   2  Prefactor     .10000E-03    9.2132       -.10953E-06** at limit **
   3  norm          1.2810        .96728        .57442E-07    .66885E-04
   4  Prefactor     71.324        64.080       -.24384E-06   -.71412E-04
   5  norm          .10000E-03    12.371        .29314E-07** at limit **
   6  Prefactor     .10000E-03    1.9395       -.28063E-06** at limit **
   7  Prefactor     .10000E-03    3.3740        .12548E-07** at limit **
   8  Prefactor     .10000E-03    3.9599       -.54976E-06** at limit **
   9  Prefactor     1.4692        4.2097        .12790E-05    .87922E-04
  10  norm          3.9030        2.0844       -.42243E-07   -.66429E-05
  11  Prefactor     .10000E-03    7.8277        .14024E-07** at limit **
  12  norm          11.568        8.7751       -.70410E-08   -.72259E-05
  13  norm          6.4257        5.7337        .13462E-05    .15114E-03
  14  Prefactor     4.1942        19.381        .27704E-06   -.26109E-04
  15  norm          .10000E-03    21.298       -.28200E-06** at limit **
  16  Prefactor     84.993        56.990        .20189E-06    .55721E-04
  17  Prefactor     .10000E-03    23.431        .75633E-07** at limit **
  18  norm          .10410E-03    11.468        .10218E-05** at limit **
  19  Normalizat    1.1535        .17096        .82203E-06    .16632E-04
  20  Prefactor     .84688        .11850       -.73317E-06    .11371E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.28103
  Prefactor  = 71.3243
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.46924
  norm       = 3.90302
  Prefactor  = 0.0001
  norm       = 11.5678
  norm       = 6.42566
  Prefactor  = 4.19416
  norm       = 0.0001
  Prefactor  = 84.9931
  Prefactor  = 0.0001
  norm       = 0.000104097
  Normalizat = 1.15347
  Prefactor  = 0.84688
 **********
 **   18 **HESSE 
 **********

 FCN=   7951.486     FROM HESSE     STATUS=OK           301 CALLS     2665 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.3123        .18063E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.4235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.2810        .95085        .73314E-04   -1.5482    
   4  Prefactor     71.324        63.906        .47510E-04   -1.4017    
   5  norm          .10000E-03    12.388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.1585        .23121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.3766        .15996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.0323        .17299E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.4692        4.1886        .30305E-03   -1.5466    
  10  norm          3.9030        2.0803        .89981E-04   -1.5313    
  11  Prefactor     .10000E-03    7.8548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          11.568        8.7775        .11779E-03   -1.5028    
  13  norm          6.4257        5.7414        .79170E-03   -1.5201    
  14  Prefactor     4.1942        19.335        .19682E-03   -1.5298    
  15  norm          .10000E-03    21.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     84.993        56.927        .21794E-03   -1.3862    
  17  Prefactor     .10000E-03    23.580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10410E-03    10.266        .92427E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1535        .19945        .25565E-03   -.88053    
  20  Prefactor     .84688        .13992        .20631E-03   -.98023    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9266e-10
Minuit parameter uncertainties:
  1  1.47202e-07
  2  1.16073e-06
  3  0.950858
  4  63.9673
  5  1.0387e-06
  6  0.000120449
  7  2.42515e-07
  8  4.16313e-06
  9  4.18941
  10  2.08038
  11  3.76957e-06
  12  8.77851
  13  5.74185
  14  18.0198
  15  3.43505e-06
  16  56.9634
  17  4.77237e-05
  18  0.0129721
  19  0.199583
  20  0.139978
Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  1.469e+00  4.189e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  8.469e-01  1.400e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.153e+00  1.996e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.16
Ra Dec: 209.859 2.042
Photon Flux Upper Limit: 4.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/91271/likelihoodResults_439948801_440208001_4FGL_J1359.4+0202_daily_bin774.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) = 7951.39382443
delta logL = 0.092023023235

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7951.39361088
delta logL = 0.0922365705119

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7951.394     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      242 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4855        446.75        .54119E-02    .76165E-03
   2  Index         1.8883        5.3923        .26476        .10733E-03
   3  Normalizat    1.1557        .58664E-01    .57756E-01   -.16206E-03
   4  Prefactor     .84484        .39997E-01    .44297E-01   -.42668E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.48551
  Index      = 1.88832
  Normalizat = 1.15573
  Prefactor  = 0.844837
 **********
 **   18 **HESSE 
 **********

 FCN=   7951.394     FROM HESSE     STATUS=OK            33 CALLS      275 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4855        7.6510        .21648E-03   -1.5335    
   2  Index         1.8883        .97660        .15381E-01   -.67172    
   3  Normalizat    1.1557        .19668        .25542E-03   -.87982    
   4  Prefactor     .84484        .13909        .20650E-03   -.98096    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.31782e-10
Minuit parameter uncertainties:
  1  7.65317
  2  0.987031
  3  0.196805
  4  0.139143
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/91271': 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) = 7951.39361067
delta logL = 0.0922367860494

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  3.486e+00  7.653e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  1.888e+00  9.870e-01  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  8.448e-01  1.391e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.156e+00  1.968e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
Ra Dec: 209.859 2.042

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/91271/cmap_HighResolution_439948801_440208001_4FGL_J1359.4+0202_daily_bin774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.85e-03', job_status='DONE', photon_flux_upper_limit='4.99e-08', time_completed='2021-09-08 19:32:53.435724', job_id='91271', GAL2='0.84', fit_tolerance='1e-08', EG2='1.16', EG='1.15', time_epoch_completed='1631154773.44', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='9.22e-02', ts2='0.34', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='774' AND source_name='4FGL J1359.4+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 19:32:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 91271: <4FGL_J1359.4+0202_daily_bin774> in cluster <slac> Done

Job <4FGL_J1359.4+0202_daily_bin774> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep  8 19:20:41 2021
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 19:20:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 19:20:43 2021
Terminated at Wed Sep  8 19:32:54 2021
Results reported at Wed Sep  8 19:32:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1359.4+0202_daily_bin774 209.859 2.0424 439948801 440208001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1359.4+0202 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   644.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            733 sec.

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

