/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 150 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 = 7473
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1319.5-0045_daily_bin269
RA = 199.877, Dec = -0.7613
tmin = 309052801, tmax = 309312001
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='469899', job_status='RUN', time_executed='2021-09-07 11:43:04.215668', time_epoch_executed='1631040184.22' WHERE source_name='4FGL J1319.5-0045' and cadence='daily' and bin_id='269'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/469899

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/469899/ft1_4FGL_J1319.5-0045_daily_bin269.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/469899/ft2_4FGL_J1319.5-0045_daily_bin269.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/469899/ft1_4FGL_J1319.5-0045_daily_bin269.fits outfile=/scratch/kocevski/469899/ft1_filteredMKT_4FGL_J1319.5-0045_daily_bin269.fits ra=199.877 dec=-0.7613 rad=12.0 tmin=309052801.0 tmax=309312001.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.44
user 3.18
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/469899/ft2_4FGL_J1319.5-0045_daily_bin269.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/469899/ft2_4FGL_J1319.5-0045_daily_bin269.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/469899/ft1_filteredMKT_4FGL_J1319.5-0045_daily_bin269.fits evtable="EVENTS" outfile="/scratch/kocevski/469899/ft1_filtered_4FGL_J1319.5-0045_daily_bin269.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.57
user 0.38
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/469899/ft1_filtered_4FGL_J1319.5-0045_daily_bin269.fits" evtable="EVENTS" scfile=/scratch/kocevski/469899/ft2_4FGL_J1319.5-0045_daily_bin269.fits sctable="SC_DATA" outfile=/scratch/kocevski/469899/ltcube_309052801_309312001_4FGL_J1319.5-0045_daily_bin269.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/469899/ft2_4FGL_J1319.5-0045_daily_bin269.fits
.....................!
real 17.92
user 17.37
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/469899/ft1_filtered_4FGL_J1319.5-0045_daily_bin269.fits evtable="EVENTS" scfile=/scratch/kocevski/469899/ft2_4FGL_J1319.5-0045_daily_bin269.fits sctable="SC_DATA" expcube=/scratch/kocevski/469899/ltcube_309052801_309312001_4FGL_J1319.5-0045_daily_bin269.fits outfile=/scratch/kocevski/469899/expmap_309052801_309312001_4FGL_J1319.5-0045_daily_bin269.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/469899/ltcube_309052801_309312001_4FGL_J1319.5-0045_daily_bin269.fits
.....................!
real 195.63
user 189.15
sys 4.10

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

Setting source of interest to:
4FGL J1319.5-0045 @ 199.877 -0.7613

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/469899/ft1_filtered_4FGL_J1319.5-0045_daily_bin269.fits scfile=/scratch/kocevski/469899/ft2_4FGL_J1319.5-0045_daily_bin269.fits outfile=/scratch/kocevski/469899/cmap_309052801_309312001_4FGL_J1319.5-0045_daily_bin269.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=199.877 yref=-0.7613 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.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/469899/ft1_filtered_4FGL_J1319.5-0045_daily_bin269.fits scfile=/scratch/kocevski/469899/ft2_4FGL_J1319.5-0045_daily_bin269.fits outfile=/scratch/kocevski/469899/cmap_HighResolution_309052801_309312001_4FGL_J1319.5-0045_daily_bin269.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=199.877 yref=-0.7613 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.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/469899/ft1_filtered_4FGL_J1319.5-0045_daily_bin269.fits evtable="EVENTS" scfile=/scratch/kocevski/469899/ft2_4FGL_J1319.5-0045_daily_bin269.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/469899/Model_4FGL_J1319.5-0045_daily_bin269.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/469899/ft1_filtered_4FGL_J1319.5-0045_daily_bin269.fits.....................!
real 56.97
user 54.99
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/469899/ft1_filtered_4FGL_J1319.5-0045_daily_bin269.fits', '/scratch/kocevski/469899/ft2_4FGL_J1319.5-0045_daily_bin269.fits', expMap='/scratch/kocevski/469899/expmap_309052801_309312001_4FGL_J1319.5-0045_daily_bin269.fits', expCube='/scratch/kocevski/469899/ltcube_309052801_309312001_4FGL_J1319.5-0045_daily_bin269.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/469899/Model_4FGL_J1319.5-0045_daily_bin269.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1319.5-0045'

4FGL J1319.5-0045
   Spectrum: PowerLaw
300    Prefactor:  2.809e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
301        Index:  2.401e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.099e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/469899/ft1_filtered_4FGL_J1319.5-0045_daily_bin269.fits
Spacecraft file(s): /scratch/kocevski/469899/ft2_4FGL_J1319.5-0045_daily_bin269.fits
Exposure map: /scratch/kocevski/469899/expmap_309052801_309312001_4FGL_J1319.5-0045_daily_bin269.fits
Exposure cube: /scratch/kocevski/469899/ltcube_309052801_309312001_4FGL_J1319.5-0045_daily_bin269.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/469899/Model_4FGL_J1319.5-0045_daily_bin269.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) = 6746.69249758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    4.4565       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    51.312       1.0000         .10000E-03   10000.    
     6 'norm      '    11.169       1.0000         .10000E-03   10000.    
     7 'norm      '    1.7217       1.0000         .10000E-03   10000.    
     8 'Prefactor '    79.221       1.0000         .10000E-03   10000.    
     9 'norm      '    .13106E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.1887       1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.557       1.0000         .10000E-03   10000.    
    15 'norm      '    14.477       1.0000         .10000E-03   10000.    
    16 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .67685       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2202       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.3489       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6746.679     FROM MIGRAD    STATUS=CONVERGED    458 CALLS     2235 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.8480       -.10673E-08** at limit **
   2  norm          4.4559        2.3236       -.35891E-07    .10212E-04
   3  Prefactor     .10000E-03    6.2987        .10786E-07** at limit **
   4  Prefactor     .10000E-03    82.969        .13915E-06** at limit **
   5  Prefactor     51.288        61.267       -.23859E-04    .25410E-04
   6  norm          11.161        26.022       -.30603E-05    .22508E-05
   7  norm          1.7219        .42047        .35697E-06   -.21059E-02
   8  Prefactor     79.207        79.145       -.12350E-04    .19301E-04
   9  norm          .10000E-03    14.821       -.29929E-05** at limit **
  10  norm          .10000E-03    3.8655        .37768E-07** at limit **
  11  Prefactor     .10000E-03    13.232        .62798E-06** at limit **
  12  Prefactor     .10000E-03    21.296       -.10624E-05** at limit **
  13  Prefactor     1.1881        1.8199        .37953E-06   -.12323E-02
  14  Prefactor     24.559        14.415       -.26462E-06    .51147E-05
  15  norm          14.478        3.2255       -.57434E-07    .81565E-04
  16  norm          .10000E-03    36.039       -.14381E-06** at limit **
  17  Prefactor     .67695        4.2121       -.41009E-06   -.13624E-03
  18  Prefactor     .10000E-03    4.8641       -.19194E-07** at limit **
  19  Prefactor     .10000E-03    16.110        .34715E-05** at limit **
  20  Normalizat    1.2199        .26273        .18451E-05    .22238E-04
  21  Prefactor     1.3491        .18742        .30673E-06    .77718E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 4.4559
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 51.2884
  norm       = 11.1608
  norm       = 1.72188
  Prefactor  = 79.2068
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.18813
  Prefactor  = 24.5591
  norm       = 14.4777
  norm       = 0.0001
  Prefactor  = 0.676949
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.2199
  Prefactor  = 1.34909
 **********
 **   18 **HESSE 
 **********

 FCN=   6746.679     FROM HESSE     STATUS=OK           311 CALLS     2546 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.8493        .13538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.4559        2.3255        .87030E-04   -1.5286    
   3  Prefactor     .10000E-03    6.3546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    83.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     51.288        61.377        .55987E-04   -1.4274    
   6  norm          11.161        26.020        .11987E-03   -1.5040    
   7  norm          1.7219        .42078        .23367E-04   -1.5446    
   8  Prefactor     79.207        79.091        .45121E-04   -1.3926    
   9  norm          .10000E-03    15.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.8666        .15772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    21.388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1881        10.597        .20903E-02   -1.5490    
  14  Prefactor     24.559        14.421        .80835E-04   -1.4716    
  15  norm          14.478        3.2344        .65178E-04   -1.4947    
  16  norm          .10000E-03    36.151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .67695        4.3191        .32109E-03   -1.5543    
  18  Prefactor     .10000E-03    4.8650        .17693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2199        .31049        .36015E-03   -.85990    
  21  Prefactor     1.3491        .22210        .25669E-03   -.81859    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.30334e-09
Minuit parameter uncertainties:
  1  1.14735e-06
  2  2.3255
  3  3.52681e-05
  4  3.90438e-05
  5  61.4528
  6  26.0466
  7  0.420782
  8  79.1964
  9  9.10103e-05
  10  1.06266e-07
  11  7.0638e-06
  12  4.87557e-06
  13  7.09811
  14  14.4232
  15  3.23442
  16  1.83673e-05
  17  3.41994
  18  2.21112e-06
  19  5.67423e-05
  20  0.31096
  21  0.222257
Done.

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

Extracting fit parameters...

4FGL J1319.5-0045
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  4.876e-06  1.000e-04  1.000e+04 ( 1.000e-13)
301        Index:  2.401e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.099e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.349e+00  2.223e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.220e+00  3.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 199.877 -0.761
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.18e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/469899/likelihoodResults_309052801_309312001_4FGL_J1319.5-0045_daily_bin269.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6746.67908037
delta logL = -0.000222711831157

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6746.67885801
delta logL = -3.51325979864e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6746.679     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      244 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    886.20        .90712E-02** at limit **
   2  Index         2.3390        5.9420        .50000       -.13904E-04
   3  Normalizat    1.2199        .47305E-01    .81354E-01    .15749E-04
   4  Prefactor     1.3491        .35345E-01    .58052E-01   -.31180E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.33898
  Normalizat = 1.2199
  Prefactor  = 1.34909
 **********
 **   18 **HESSE 
 **********

 FCN=   6746.679     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      277 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6207.0        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3390        7.2245        .50000       -.56120    
   3  Normalizat    1.2199        .93841E-01    .36015E-03   -.85990    
   4  Prefactor     1.3491        .70223E-01    .25669E-03   -.81859    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.87431e-08
Minuit parameter uncertainties:
  1  0.00231626
  2  49.2709
  3  0.0938539
  4  0.0702281
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/469899': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6746.67885787
delta logL = -2.11779479287e-07

Extracting fit parameters...

4FGL J1319.5-0045
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  2.316e-03  1.000e-04  1.000e+04 ( 1.000e-13)
301        Index:  2.339e+00  4.927e+01  0.000e+00  1.000e+01 (-1.000e+00)
302        Scale:  1.099e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.349e+00  7.023e-02  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.220e+00  9.385e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 199.877 -0.761

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/469899/cmap_HighResolution_309052801_309312001_4FGL_J1319.5-0045_daily_bin269.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.18e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2021-09-07 11:54:09.626052', job_id='469899', GAL2='1.35', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1631040849.63', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.35', dlogl='-2.12e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='269' AND source_name='4FGL J1319.5-0045' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 11:54:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 469899: <4FGL_J1319.5-0045_daily_bin269> in cluster <slac> Done

Job <4FGL_J1319.5-0045_daily_bin269> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 11:40:17 2021
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 11:40:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep  7 11:40:25 2021
Terminated at Tue Sep  7 11:54:10 2021
Results reported at Tue Sep  7 11:54:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1319.5-0045_daily_bin269 199.877 -0.7613 309052801 309312001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1319.5-0045 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   659.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            833 sec.

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

