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


Performing analysis on: 4FGL_J1057.3-2341_daily_bin441
RA = 164.342, Dec = -23.6889
tmin = 353635201, tmax = 353894401
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='305529', job_status='RUN', time_executed='2021-09-02 21:14:31.091436', time_epoch_executed='1630642471.09' WHERE source_name='4FGL J1057.3-2341' and cadence='daily' and bin_id='441'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/305529

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/305529/ft1_4FGL_J1057.3-2341_daily_bin441.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/305529/ft2_4FGL_J1057.3-2341_daily_bin441.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/305529/ft1_4FGL_J1057.3-2341_daily_bin441.fits outfile=/scratch/kocevski/305529/ft1_filteredMKT_4FGL_J1057.3-2341_daily_bin441.fits ra=164.342 dec=-23.6889 rad=12.0 tmin=353635201.0 tmax=353894401.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 2.99
user 2.75
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/305529/ft2_4FGL_J1057.3-2341_daily_bin441.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/305529/ft1_filteredMKT_4FGL_J1057.3-2341_daily_bin441.fits evtable="EVENTS" outfile="/scratch/kocevski/305529/ft1_filtered_4FGL_J1057.3-2341_daily_bin441.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.45
user 0.29
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/305529/ft1_filtered_4FGL_J1057.3-2341_daily_bin441.fits" evtable="EVENTS" scfile=/scratch/kocevski/305529/ft2_4FGL_J1057.3-2341_daily_bin441.fits sctable="SC_DATA" outfile=/scratch/kocevski/305529/ltcube_353635201_353894401_4FGL_J1057.3-2341_daily_bin441.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/305529/ft2_4FGL_J1057.3-2341_daily_bin441.fits
.....................!
real 13.08
user 12.73
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/305529/ft1_filtered_4FGL_J1057.3-2341_daily_bin441.fits evtable="EVENTS" scfile=/scratch/kocevski/305529/ft2_4FGL_J1057.3-2341_daily_bin441.fits sctable="SC_DATA" expcube=/scratch/kocevski/305529/ltcube_353635201_353894401_4FGL_J1057.3-2341_daily_bin441.fits outfile=/scratch/kocevski/305529/expmap_353635201_353894401_4FGL_J1057.3-2341_daily_bin441.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/305529/ltcube_353635201_353894401_4FGL_J1057.3-2341_daily_bin441.fits
.....................!
real 161.15
user 154.68
sys 5.11

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/305529/ft1_filtered_4FGL_J1057.3-2341_daily_bin441.fits scfile=/scratch/kocevski/305529/ft2_4FGL_J1057.3-2341_daily_bin441.fits outfile=/scratch/kocevski/305529/cmap_353635201_353894401_4FGL_J1057.3-2341_daily_bin441.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.50
user 0.32
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/305529/ft1_filtered_4FGL_J1057.3-2341_daily_bin441.fits scfile=/scratch/kocevski/305529/ft2_4FGL_J1057.3-2341_daily_bin441.fits outfile=/scratch/kocevski/305529/cmap_HighResolution_353635201_353894401_4FGL_J1057.3-2341_daily_bin441.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.50
user 0.33
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/305529/ft1_filtered_4FGL_J1057.3-2341_daily_bin441.fits evtable="EVENTS" scfile=/scratch/kocevski/305529/ft2_4FGL_J1057.3-2341_daily_bin441.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/305529/Model_4FGL_J1057.3-2341_daily_bin441.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/305529/ft1_filtered_4FGL_J1057.3-2341_daily_bin441.fits.....................!
real 69.32
user 67.52
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/305529/ft1_filtered_4FGL_J1057.3-2341_daily_bin441.fits', '/scratch/kocevski/305529/ft2_4FGL_J1057.3-2341_daily_bin441.fits', expMap='/scratch/kocevski/305529/expmap_353635201_353894401_4FGL_J1057.3-2341_daily_bin441.fits', expCube='/scratch/kocevski/305529/ltcube_353635201_353894401_4FGL_J1057.3-2341_daily_bin441.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/305529/Model_4FGL_J1057.3-2341_daily_bin441.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/305529/ft1_filtered_4FGL_J1057.3-2341_daily_bin441.fits
Spacecraft file(s): /scratch/kocevski/305529/ft2_4FGL_J1057.3-2341_daily_bin441.fits
Exposure map: /scratch/kocevski/305529/expmap_353635201_353894401_4FGL_J1057.3-2341_daily_bin441.fits
Exposure cube: /scratch/kocevski/305529/ltcube_353635201_353894401_4FGL_J1057.3-2341_daily_bin441.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/305529/Model_4FGL_J1057.3-2341_daily_bin441.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) = 9499.14716147

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .29550E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.793       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .45499       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13901E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .23935E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.781       1.0000         .10000E-03   10000.    
    17 'norm      '    3.4492       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.0265       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .28945E-02   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .80792       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1537       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=   9499.055     FROM MIGRAD    STATUS=CONVERGED    465 CALLS     1975 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .61933       -.13499E-06** at limit **
   2  norm          .10000E-03    2.5791       -.76692E-07** at limit **
   3  norm          .10000E-03    2.8321       -.15575E-05** at limit **
   4  Prefactor     11.792        6.1767       -.10516E-06    .30096E-04
   5  Prefactor     .10000E-03    3.8434        .11852E-06** at limit **
   6  Prefactor     .10000E-03    7.3149        .83542E-06** at limit **
   7  norm          .45445        2.1622       -.36109E-06   -.10023E-02
   8  Prefactor     .10000E-03    7.3981        .30702E-07** at limit **
   9  Prefactor     .10002E-03    2.6134        .61327E-05** at limit **
  10  Prefactor     .10000E-03    7.6563       -.10131E-05** at limit **
  11  Prefactor     .10000E-03    2.4445        .12308E-05** at limit **
  12  Prefactor     .10000E-03    12.984        .59895E-06** at limit **
  13  Prefactor     .10000E-03    43.661        .24153E-05** at limit **
  14  Prefactor     .10000E-03    13.827        .20352E-05** at limit **
  15  Prefactor     .10000E-03    3.8066       -.40392E-06** at limit **
  16  Prefactor     14.780        33.457        .10355E-06    .13541E-06
  17  norm          3.4493        1.2308       -.19204E-06   -.50823E-03
  18  Prefactor     2.0239        7.0902        .98117E-05    .45372E-03
  19  Prefactor     .10001E-03    21.165        .21429E-04** at limit **
  20  Normalizat    .80797        .17542        .24254E-06    .79943E-03
  21  Prefactor     1.1537        .10355        .62295E-06    .14441E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 11.7922
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.454453
  Prefactor  = 0.0001
  Prefactor  = 0.000100017
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.7803
  norm       = 3.44935
  Prefactor  = 2.02391
  Prefactor  = 0.000100008
  Normalizat = 0.807968
  Prefactor  = 1.15369
 **********
 **   18 **HESSE 
 **********

 FCN=   9499.055     FROM HESSE     STATUS=OK           319 CALLS     2294 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .64934        .14976E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.5913        .15284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    18.192        .31513E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.792        6.1767        .11665E-03   -1.5021    
   5  Prefactor     .10000E-03    3.8567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.3262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .45445        2.2399        .27328E-02   -1.5573    
   8  Prefactor     .10000E-03    7.4621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10002E-03    11.574        .19590E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.7760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.7330        .28845E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    43.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.8269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.780        33.442        .10418E-03   -1.4939    
  17  norm          3.4493        1.2375        .60760E-04   -1.5336    
  18  Prefactor     2.0239        16.977        .14532E-02   -1.5423    
  19  Prefactor     .10001E-03    29.851        .36182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .80797        .20344        .33530E-03   -.99774    
  21  Prefactor     1.1537        .12068        .17261E-03   -.87769    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.48311e-09
Minuit parameter uncertainties:
  1  9.31906e-06
  2  1.04564e-05
  3  0.000224146
  4  6.17706
  5  2.79542e-05
  6  6.29711e-05
  7  2.01775
  8  8.10452e-05
  9  0.000892211
  10  1.61024e-05
  11  0.000171494
  12  5.18054e-05
  13  2.13887e-05
  14  4.303e-05
  15  3.09651e-05
  16  33.4841
  17  1.23749
  18  11.7276
  19  0.00095033
  20  0.20363
  21  0.120708
Done.

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

Extracting fit parameters...

4FGL J1057.3-2341
   Spectrum: PowerLaw
298    Prefactor:  1.000e-04  1.715e-04  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.154e+00  1.207e-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:  8.080e-01  2.036e-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: 7.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/305529/likelihoodResults_353635201_353894401_4FGL_J1057.3-2341_daily_bin441.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) = 9499.05565774
delta logL = -0.000828385573186

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9499.05482619
delta logL = 3.16355362884e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11434E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4069       1.0000          .0000       10.000    
     3 'Normalizat'    .80788       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1537       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=   9498.469     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      269 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66700        1.8164        .24676E-01    .29792E-03
   2  Index         1.0990        .60333        .23877       -.19532E-03
   3  Normalizat    .80868        .16956        .75699E-01    .67587E-03
   4  Prefactor     1.1512        .10301        .35829E-01    .12649E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.667004
  Index      = 1.09901
  Normalizat = 0.808685
  Prefactor  = 1.15125
 **********
 **   18 **HESSE 
 **********

 FCN=   9498.469     FROM HESSE     STATUS=OK            33 CALLS      302 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66700        1.5235        .14681E-02   -1.5545    
   2  Index         1.0990        .78987        .12817E-01   -.89498    
   3  Normalizat    .80868        .19614        .33505E-03   -.99747    
   4  Prefactor     1.1512        .11942        .17270E-03   -.87845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.45265e-10
Minuit parameter uncertainties:
  1  1.52357
  2  0.79852
  3  0.19631
  4  0.119452
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/305529': 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) = 9498.46917264
delta logL = 0.585656713416

Extracting fit parameters...

4FGL J1057.3-2341
   Spectrum: PowerLaw
298    Prefactor:  6.670e-01  1.524e+00  1.000e-04  1.000e+04 ( 1.000e-12)
299        Index:  1.099e+00  7.985e-01  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.151e+00  1.195e-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:  8.087e-01  1.963e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.17
Ra Dec: 164.342 -23.689
Photon Index (Free Index): 1.10 +/- 0.80
Photon Flux (Free Index): 2.81e-09 +/- 4.64e-09
Energy Flux (Free Index): 3.14e-05 +/- 5.83e-05

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/305529/cmap_HighResolution_353635201_353894401_4FGL_J1057.3-2341_daily_bin441.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.68e-03', comment='SUCCESS', energy_flux2='3.14e-05', dlogl='5.86e-01', photon_flux2='2.81e-09', job_status='DONE', time_completed='2021-09-02 21:26:20.431491', photon_index_error2='0.80', photon_index2='1.10', ts='-0.00', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='7.30e-08', energy_flux_error2='5.83e-05', EG='0.81', time_epoch_completed='1630643180.43', return_code='0', job_id='305529', GAL2='1.15', EG2='0.81', return_code2='0', photon_flux_error2='4.64e-09', ts2='1.17', photon_index='2.51' WHERE bin_id='441' AND source_name='4FGL J1057.3-2341' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  2 21:26:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 305529: <4FGL_J1057.3-2341_daily_bin441> in cluster <slac> Done

Job <4FGL_J1057.3-2341_daily_bin441> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  2 21:11:02 2021
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  2 21:12:18 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:12:18 2021
Terminated at Thu Sep  2 21:26:20 2021
Results reported at Thu Sep  2 21:26:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1057.3-2341_daily_bin441 164.342 -23.6889 353635201 353894401 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 :                                   701.20 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             276.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   842 sec.
    Turnaround time :                            918 sec.

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

