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


Performing analysis on: 4FGL_J1319.5-0045_daily_bin665
RA = 199.877, Dec = -0.7613
tmin = 411696001, tmax = 411955201
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='471782', job_status='RUN', time_executed='2021-09-07 11:47:56.139805', time_epoch_executed='1631040476.14' WHERE source_name='4FGL J1319.5-0045' and cadence='daily' and bin_id='665'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/471782

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/471782/ft1_4FGL_J1319.5-0045_daily_bin665.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/471782/ft2_4FGL_J1319.5-0045_daily_bin665.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/471782/ft1_4FGL_J1319.5-0045_daily_bin665.fits outfile=/scratch/kocevski/471782/ft1_filteredMKT_4FGL_J1319.5-0045_daily_bin665.fits ra=199.877 dec=-0.7613 rad=12.0 tmin=411696001.0 tmax=411955201.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 6.29
user 5.97
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/471782/ft2_4FGL_J1319.5-0045_daily_bin665.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/471782/ft1_filteredMKT_4FGL_J1319.5-0045_daily_bin665.fits evtable="EVENTS" outfile="/scratch/kocevski/471782/ft1_filtered_4FGL_J1319.5-0045_daily_bin665.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.51
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/471782/ft1_filtered_4FGL_J1319.5-0045_daily_bin665.fits" evtable="EVENTS" scfile=/scratch/kocevski/471782/ft2_4FGL_J1319.5-0045_daily_bin665.fits sctable="SC_DATA" outfile=/scratch/kocevski/471782/ltcube_411696001_411955201_4FGL_J1319.5-0045_daily_bin665.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/471782/ft2_4FGL_J1319.5-0045_daily_bin665.fits
.....................!
real 16.34
user 15.91
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/471782/ft1_filtered_4FGL_J1319.5-0045_daily_bin665.fits evtable="EVENTS" scfile=/scratch/kocevski/471782/ft2_4FGL_J1319.5-0045_daily_bin665.fits sctable="SC_DATA" expcube=/scratch/kocevski/471782/ltcube_411696001_411955201_4FGL_J1319.5-0045_daily_bin665.fits outfile=/scratch/kocevski/471782/expmap_411696001_411955201_4FGL_J1319.5-0045_daily_bin665.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/471782/ltcube_411696001_411955201_4FGL_J1319.5-0045_daily_bin665.fits
.....................!
real 192.01
user 187.39
sys 4.06

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/471782/ft1_filtered_4FGL_J1319.5-0045_daily_bin665.fits scfile=/scratch/kocevski/471782/ft2_4FGL_J1319.5-0045_daily_bin665.fits outfile=/scratch/kocevski/471782/cmap_411696001_411955201_4FGL_J1319.5-0045_daily_bin665.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/471782/ft1_filtered_4FGL_J1319.5-0045_daily_bin665.fits scfile=/scratch/kocevski/471782/ft2_4FGL_J1319.5-0045_daily_bin665.fits outfile=/scratch/kocevski/471782/cmap_HighResolution_411696001_411955201_4FGL_J1319.5-0045_daily_bin665.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.57
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/471782/ft1_filtered_4FGL_J1319.5-0045_daily_bin665.fits evtable="EVENTS" scfile=/scratch/kocevski/471782/ft2_4FGL_J1319.5-0045_daily_bin665.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/471782/Model_4FGL_J1319.5-0045_daily_bin665.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/471782/ft1_filtered_4FGL_J1319.5-0045_daily_bin665.fits.....................!
real 79.43
user 77.91
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/471782/ft1_filtered_4FGL_J1319.5-0045_daily_bin665.fits', '/scratch/kocevski/471782/ft2_4FGL_J1319.5-0045_daily_bin665.fits', expMap='/scratch/kocevski/471782/expmap_411696001_411955201_4FGL_J1319.5-0045_daily_bin665.fits', expCube='/scratch/kocevski/471782/ltcube_411696001_411955201_4FGL_J1319.5-0045_daily_bin665.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/471782/Model_4FGL_J1319.5-0045_daily_bin665.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/471782/ft1_filtered_4FGL_J1319.5-0045_daily_bin665.fits
Spacecraft file(s): /scratch/kocevski/471782/ft2_4FGL_J1319.5-0045_daily_bin665.fits
Exposure map: /scratch/kocevski/471782/expmap_411696001_411955201_4FGL_J1319.5-0045_daily_bin665.fits
Exposure cube: /scratch/kocevski/471782/ltcube_411696001_411955201_4FGL_J1319.5-0045_daily_bin665.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/471782/Model_4FGL_J1319.5-0045_daily_bin665.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) = 10467.808474

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.474       1.0000         .10000E-03   10000.    
     2 'norm      '    2.9812       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.784       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.5803       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    11.247       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10299E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.2700       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.0061       1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.877       1.0000         .10000E-03   10000.    
    15 'norm      '    4.1224       1.0000         .10000E-03   10000.    
    16 'norm      '    .64950       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    53.588       1.0000         .10000E-03   10000.    
    19 'Prefactor '    25.045       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3093       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .85822       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=   10467.77     FROM MIGRAD    STATUS=CONVERGED    442 CALLS     1886 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.474        9.8919        .14027E-07    .11864E-04
   2  norm          2.9812        1.8670       -.43915E-07   -.15755E-03
   3  Prefactor     12.784        9.0391        .16019E-06    .12496E-04
   4  Prefactor     .10000E-03    14.234       -.10110E-05** at limit **
   5  Prefactor     .10000E-03    48.451       -.12331E-04** at limit **
   6  norm          .10000E-03    13.976        .12847E-05** at limit **
   7  norm          6.5801        .56850       -.21683E-07   -.69666E-04
   8  Prefactor     .10000E-03    55.574        .20035E-04** at limit **
   9  norm          11.247        8.9951        .45738E-07   -.55153E-04
  10  norm          .10000E-03    13.349       -.13501E-05** at limit **
  11  Prefactor     .10000E-03    8.6689       -.11811E-06** at limit **
  12  Prefactor     4.2696        7.5708       -.23264E-06   -.11470E-03
  13  Prefactor     7.0056        7.4065        .20024E-06   -.63060E-04
  14  Prefactor     19.873        11.767       -.84179E-06   -.90501E-04
  15  norm          4.1221        1.5794        .85940E-08   -.13139E-03
  16  norm          .58236        12.748       -.43038E-05    .66805E-03
  17  Prefactor     .10000E-03    1.0072       -.71453E-07** at limit **
  18  Prefactor     53.582        21.686       -.41889E-06    .49359E-04
  19  Prefactor     25.044        12.416       -.38988E-06   -.37494E-04
  20  Normalizat    1.3094        .19867        .44302E-06    .76400E-04
  21  Prefactor     .85814        .13650        .76649E-07    .16414E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.4743
  norm       = 2.98117
  Prefactor  = 12.7838
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 6.58005
  Prefactor  = 0.000100004
  norm       = 11.2467
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.2696
  Prefactor  = 7.00556
  Prefactor  = 19.8728
  norm       = 4.12207
  norm       = 0.58236
  Prefactor  = 0.0001
  Prefactor  = 53.5817
  Prefactor  = 25.0438
  Normalizat = 1.30945
  Prefactor  = 0.858136
 **********
 **   18 **HESSE 
 **********

 FCN=   10467.77     FROM HESSE     STATUS=OK           327 CALLS     2213 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.474        9.8908        .11342E-03   -1.5001    
   2  norm          2.9812        1.8661        .10721E-03   -1.5363    
   3  Prefactor     12.784        9.0379        .11203E-03   -1.4993    
   4  Prefactor     .10000E-03    14.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    48.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    13.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.5801        .56943        .21592E-04   -1.5195    
   8  Prefactor     .10000E-03    56.638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          11.247        8.9925        .11946E-03   -1.5037    
  10  norm          .10000E-03    13.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.8653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.2696        7.5665        .19498E-03   -1.5295    
  13  Prefactor     7.0056        7.4058        .15156E-03   -1.5179    
  14  Prefactor     19.873        11.791        .89837E-04   -1.4816    
  15  norm          4.1221        1.5789        .75150E-04   -1.5302    
  16  norm          .58236        146.97        .64483E-02   -1.5555    
  17  Prefactor     .10000E-03    1.8366        .19915E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     53.582        21.701        .54792E-04   -1.4243    
  19  Prefactor     25.044        12.430        .80044E-04   -1.4707    
  20  Normalizat    1.3094        .23967        .33024E-03   -.83285    
  21  Prefactor     .85814        .16549        .28139E-03   -.97620    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.90058e-08
Minuit parameter uncertainties:
  1  9.8921
  2  1.86618
  3  9.03891
  4  2.59134e-05
  5  0.000524173
  6  2.77629e-05
  7  0.569426
  8  0.000930687
  9  8.99358
  10  6.29759e-06
  11  6.79701e-06
  12  7.56819
  13  7.40672
  14  11.7927
  15  1.57893
  16  18.5472
  17  2.59741e-06
  18  21.7045
  19  12.4309
  20  0.239876
  21  0.165591
Done.

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

Extracting fit parameters...

4FGL J1319.5-0045
   Spectrum: PowerLaw
300    Prefactor:  4.270e+00  7.568e+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

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  8.581e-01  1.656e-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.309e+00  2.399e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.51
Ra Dec: 199.877 -0.761
Photon Flux Upper Limit: 6.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/471782/likelihoodResults_411696001_411955201_4FGL_J1319.5-0045_daily_bin665.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) = 10467.7160672
delta logL = 0.0537571179302

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10467.7076946
delta logL = 0.0621297450234

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3365       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9280       1.0000          .0000       10.000    
     3 'Normalizat'    1.3148       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85556       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10467.71     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      263 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3356        8.8631        .17397E-03    .36268E-03
   2  Index         1.9284        1.1681        .12551E-01    .11578E-03
   3  Normalizat    1.3148        .22890        .32965E-03   -.19534E-03
   4  Prefactor     .85555        .16248        .28175E-03   -.24985E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.33564
  Index      = 1.92836
  Normalizat = 1.31484
  Prefactor  = 0.855545
 **********
 **   18 **HESSE 
 **********

 FCN=   10467.71     FROM HESSE     STATUS=OK            23 CALLS      286 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3356        8.8446        .69590E-05   -1.5246    
   2  Index         1.9284        1.1660        .50205E-03   -.66153    
   3  Normalizat    1.3148        .22914        .13186E-04   -.83124    
   4  Prefactor     .85555        .16266        .11270E-04   -.97712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46051e-09
Minuit parameter uncertainties:
  1  8.84677
  2  1.18369
  3  0.229312
  4  0.162749
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/471782': 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) = 10467.7076946
delta logL = 0.0621297837988

Extracting fit parameters...

4FGL J1319.5-0045
   Spectrum: PowerLaw
300    Prefactor:  5.336e+00  8.847e+00  1.000e-04  1.000e+04 ( 1.000e-13)
301        Index:  1.928e+00  1.184e+00  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:  8.555e-01  1.627e-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.315e+00  2.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.51
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/471782/cmap_HighResolution_411696001_411955201_4FGL_J1319.5-0045_daily_bin665.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-03', job_status='DONE', photon_flux_upper_limit='6.68e-08', time_completed='2021-09-07 12:01:12.068492', job_id='471782', GAL2='0.86', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1631041272.07', return_code2='0', ts='0.51', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='6.21e-02', ts2='0.64', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='665' AND source_name='4FGL J1319.5-0045' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 12:01:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 471782: <4FGL_J1319.5-0045_daily_bin665> in cluster <slac> Done

Job <4FGL_J1319.5-0045_daily_bin665> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Sep  7 11:46:01 2021
Job was executed on host(s) <bullet0171>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 11:47:46 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:47:46 2021
Terminated at Tue Sep  7 12:01:12 2021
Results reported at Tue Sep  7 12:01:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1319.5-0045_daily_bin665 199.877 -0.7613 411696001 411955201 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 :                                   792.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             315.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   806 sec.
    Turnaround time :                            911 sec.

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

