/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 21 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 = 7574
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1057.3-2341_daily_bin288
RA = 164.342, Dec = -23.6889
tmin = 313977601, tmax = 314236801
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='302680', job_status='RUN', time_executed='2021-09-02 21:03:33.276516', time_epoch_executed='1630641813.28' WHERE source_name='4FGL J1057.3-2341' and cadence='daily' and bin_id='288'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/302680

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/302680/ft1_4FGL_J1057.3-2341_daily_bin288.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/302680/ft2_4FGL_J1057.3-2341_daily_bin288.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/302680/ft1_4FGL_J1057.3-2341_daily_bin288.fits outfile=/scratch/kocevski/302680/ft1_filteredMKT_4FGL_J1057.3-2341_daily_bin288.fits ra=164.342 dec=-23.6889 rad=12.0 tmin=313977601.0 tmax=314236801.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.40
user 3.17
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/302680/ft2_4FGL_J1057.3-2341_daily_bin288.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/302680/ft2_4FGL_J1057.3-2341_daily_bin288.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/302680/ft1_filteredMKT_4FGL_J1057.3-2341_daily_bin288.fits evtable="EVENTS" outfile="/scratch/kocevski/302680/ft1_filtered_4FGL_J1057.3-2341_daily_bin288.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.53
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/302680/ft1_filtered_4FGL_J1057.3-2341_daily_bin288.fits" evtable="EVENTS" scfile=/scratch/kocevski/302680/ft2_4FGL_J1057.3-2341_daily_bin288.fits sctable="SC_DATA" outfile=/scratch/kocevski/302680/ltcube_313977601_314236801_4FGL_J1057.3-2341_daily_bin288.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/302680/ft2_4FGL_J1057.3-2341_daily_bin288.fits
.....................!
real 15.78
user 15.40
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/302680/ft1_filtered_4FGL_J1057.3-2341_daily_bin288.fits evtable="EVENTS" scfile=/scratch/kocevski/302680/ft2_4FGL_J1057.3-2341_daily_bin288.fits sctable="SC_DATA" expcube=/scratch/kocevski/302680/ltcube_313977601_314236801_4FGL_J1057.3-2341_daily_bin288.fits outfile=/scratch/kocevski/302680/expmap_313977601_314236801_4FGL_J1057.3-2341_daily_bin288.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/302680/ltcube_313977601_314236801_4FGL_J1057.3-2341_daily_bin288.fits
.....................!
real 191.16
user 185.94
sys 4.69

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

Setting source of interest to:
4FGL J1057.3-2341 @ 164.342 -23.6889

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/302680/ft1_filtered_4FGL_J1057.3-2341_daily_bin288.fits scfile=/scratch/kocevski/302680/ft2_4FGL_J1057.3-2341_daily_bin288.fits outfile=/scratch/kocevski/302680/cmap_313977601_314236801_4FGL_J1057.3-2341_daily_bin288.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=164.342 yref=-23.6889 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/302680/ft1_filtered_4FGL_J1057.3-2341_daily_bin288.fits scfile=/scratch/kocevski/302680/ft2_4FGL_J1057.3-2341_daily_bin288.fits outfile=/scratch/kocevski/302680/cmap_HighResolution_313977601_314236801_4FGL_J1057.3-2341_daily_bin288.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=164.342 yref=-23.6889 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/302680/ft1_filtered_4FGL_J1057.3-2341_daily_bin288.fits evtable="EVENTS" scfile=/scratch/kocevski/302680/ft2_4FGL_J1057.3-2341_daily_bin288.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/302680/Model_4FGL_J1057.3-2341_daily_bin288.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/302680/ft1_filtered_4FGL_J1057.3-2341_daily_bin288.fits.....................!
real 59.52
user 58.14
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/302680/ft1_filtered_4FGL_J1057.3-2341_daily_bin288.fits', '/scratch/kocevski/302680/ft2_4FGL_J1057.3-2341_daily_bin288.fits', expMap='/scratch/kocevski/302680/expmap_313977601_314236801_4FGL_J1057.3-2341_daily_bin288.fits', expCube='/scratch/kocevski/302680/ltcube_313977601_314236801_4FGL_J1057.3-2341_daily_bin288.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/302680/Model_4FGL_J1057.3-2341_daily_bin288.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1057.3-2341'

4FGL J1057.3-2341
   Spectrum: PowerLaw
298    Prefactor:  1.450e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
299        Index:  2.506e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  6.941e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/302680/ft1_filtered_4FGL_J1057.3-2341_daily_bin288.fits
Spacecraft file(s): /scratch/kocevski/302680/ft2_4FGL_J1057.3-2341_daily_bin288.fits
Exposure map: /scratch/kocevski/302680/expmap_313977601_314236801_4FGL_J1057.3-2341_daily_bin288.fits
Exposure cube: /scratch/kocevski/302680/ltcube_313977601_314236801_4FGL_J1057.3-2341_daily_bin288.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/302680/Model_4FGL_J1057.3-2341_daily_bin288.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) = 5905.60182088

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3727       1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.6977       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.8857       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.1860       1.0000         .10000E-03   10000.    
    10 'Prefactor '    47.852       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .37298E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11831E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    29.006       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.0959       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    49.321       1.0000         .10000E-03   10000.    
    17 'norm      '    3.1990       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.4993       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0300       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5905.600     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     2144 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3731        2.7911        .38704E-07   -.48873E-04
   2  norm          .10000E-03    21.229        .42440E-06** at limit **
   3  norm          .10000E-03    5.1066        .87490E-07** at limit **
   4  Prefactor     6.6986        7.0362        .22201E-07   -.20408E-04
   5  Prefactor     .10000E-03    16.356       -.12454E-06** at limit **
   6  Prefactor     .10000E-03    7.8281       -.36348E-06** at limit **
   7  norm          .10000E-03    1.2728       -.20048E-06** at limit **
   8  Prefactor     1.8762        45.331        .13955E-05   -.37630E-04
   9  Prefactor     1.1784        7.0011        .47613E-05    .13244E-03
  10  Prefactor     47.865        20.731       -.16146E-05   -.39504E-03
  11  Prefactor     .10017E-03    7.9670        .27140E-05** at limit **
  12  Prefactor     .10000E-03    63.638       -.98717E-05** at limit **
  13  Prefactor     28.897        124.36       -.93039E-06   -.48791E-04
  14  Prefactor     9.0825        36.202       -.45934E-07   -.36166E-04
  15  Prefactor     .10000E-03    6.0806       -.56173E-07** at limit **
  16  Prefactor     49.321        47.346        .10843E-06   -.11615E-04
  17  norm          3.1988        1.5085       -.33388E-07   -.15010E-03
  18  Prefactor     .10000E-03    20.404       -.32770E-06** at limit **
  19  Prefactor     .10000E-03    2.8353        .68544E-07** at limit **
  20  Normalizat    1.4992        .28818        .49912E-06   -.36650E-03
  21  Prefactor     1.0299        .15597       -.99292E-06   -.44778E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.37315
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 6.69855
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.8762
  Prefactor  = 1.17842
  Prefactor  = 47.8652
  Prefactor  = 0.000100174
  Prefactor  = 0.000100004
  Prefactor  = 28.8968
  Prefactor  = 9.08252
  Prefactor  = 0.0001
  Prefactor  = 49.3211
  norm       = 3.19882
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.4992
  Prefactor  = 1.02993
 **********
 **   18 **HESSE 
 **********

 FCN=   5905.600     FROM HESSE     STATUS=OK           309 CALLS     2453 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3731        2.7884        .98821E-04   -1.5290    
   2  norm          .10000E-03    21.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    5.1215        .16960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.6986        7.0364        .15505E-03   -1.5190    
   5  Prefactor     .10000E-03    16.486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.8470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.2787        .84729E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.8762        45.147        .30309E-03   -1.5434    
   9  Prefactor     1.1784        7.2347        .37444E-03   -1.5491    
  10  Prefactor     47.865        20.836        .57966E-04   -1.4323    
  11  Prefactor     .10017E-03    27.058        .35713E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    63.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     28.897        122.67        .74389E-04   -1.4632    
  14  Prefactor     9.0825        36.211        .13289E-03   -1.5105    
  15  Prefactor     .10000E-03    6.0885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     49.321        47.341        .57101E-04   -1.4302    
  17  norm          3.1988        1.5059        .62125E-04   -1.5350    
  18  Prefactor     .10000E-03    20.633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.8393        .12637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.4992        .33979        .33558E-03   -.77801    
  21  Prefactor     1.0299        .18487        .21736E-03   -.91738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.80531e-09
Minuit parameter uncertainties:
  1  2.78852
  2  3.30562e-05
  3  4.63076e-06
  4  7.03728
  5  3.97641e-05
  6  3.20218e-05
  7  7.82963e-06
  8  18.4222
  9  5.8405
  10  20.8392
  11  0.0043475
  12  0.000984218
  13  119.493
  14  36.2993
  15  3.2237e-06
  16  47.3776
  17  1.50593
  18  4.90801e-05
  19  2.13984e-06
  20  0.340307
  21  0.184987
Done.

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

Extracting fit parameters...

4FGL J1057.3-2341
   Spectrum: PowerLaw
298    Prefactor:  1.002e-04  4.347e-03  1.000e-04  1.000e+04 ( 1.000e-12)
299        Index:  2.506e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  6.941e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
619    Prefactor:  1.030e+00  1.850e-01  0.000e+00  1.000e+01 ( 1.000e+00)
620        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
621        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
618   Normalization:  1.499e+00  3.403e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 164.342 -23.689
Photon Flux Upper Limit: 1.46e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.14e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/302680/likelihoodResults_313977601_314236801_4FGL_J1057.3-2341_daily_bin288.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) = 5905.60012866
delta logL = -0.000174124246769

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5905.59995449
delta logL = 5.06388460053e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5905.600     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      232 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .58422        .60869E-01** at limit **
   2  Index         2.5708        5.4431        .50000       -.86630E-05
   3  Normalizat    1.4992        .23684E-02    .75833E-01   -.11377E-03
   4  Prefactor     1.0299        .13105E-02    .41265E-01   -.13443E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.57076
  Normalizat = 1.4992
  Prefactor  = 1.02993
 **********
 **   18 **HESSE 
 **********

 FCN=   5905.600     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      265 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    101.53        .34443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5708        5.6414        .50000       -.50733    
   3  Normalizat    1.4992        .13259E-01    .33558E-03   -.77801    
   4  Prefactor     1.0299        .73440E-02    .21736E-03   -.91738    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.57179e-07
Minuit parameter uncertainties:
  1  8.14998e-06
  2  200.068
  3  0.0132588
  4  0.00734403
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/302680': 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) = 5905.59995439
delta logL = 1.52737811732e-07

Extracting fit parameters...

4FGL J1057.3-2341
   Spectrum: PowerLaw
298    Prefactor:  1.000e-04  8.150e-06  1.000e-04  1.000e+04 ( 1.000e-12)
299        Index:  2.571e+00  2.001e+02  0.000e+00  1.000e+01 (-1.000e+00)
300        Scale:  6.941e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
619    Prefactor:  1.030e+00  7.344e-03  0.000e+00  1.000e+01 ( 1.000e+00)
620        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
621        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
618   Normalization:  1.499e+00  1.326e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 164.342 -23.689

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/302680/cmap_HighResolution_313977601_314236801_4FGL_J1057.3-2341_daily_bin288.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.14e-02', job_status='DONE', photon_flux_upper_limit='1.46e-07', time_completed='2021-09-02 21:14:15.745041', job_id='302680', GAL2='1.03', fit_tolerance='1e-08', EG2='1.50', EG='1.50', time_epoch_completed='1630642455.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.53e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='288' AND source_name='4FGL J1057.3-2341' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  2 21:14:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 302680: <4FGL_J1057.3-2341_daily_bin288> in cluster <slac> Done

Job <4FGL_J1057.3-2341_daily_bin288> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  2 21:01:15 2021
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  2 21:02:59 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  2 21:02:59 2021
Terminated at Thu Sep  2 21:14:17 2021
Results reported at Thu Sep  2 21:14:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1057.3-2341_daily_bin288 164.342 -23.6889 313977601 314236801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1057.3-2341 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   636.00 sec.
    Max Memory :                                 1198 MB
    Average Memory :                             341.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   677 sec.
    Turnaround time :                            782 sec.

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

