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


Performing analysis on: 4FGL_J1357.1+1921_daily_bin942
RA = 209.29, Dec = 19.3608
tmin = 483494401, tmax = 483753601
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='64454', job_status='RUN', time_executed='2021-09-08 17:59:36.979686', time_epoch_executed='1631149176.98' WHERE source_name='4FGL J1357.1+1921' and cadence='daily' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/64454

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/64454/ft1_4FGL_J1357.1+1921_daily_bin942.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/64454/ft2_4FGL_J1357.1+1921_daily_bin942.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/64454/ft1_4FGL_J1357.1+1921_daily_bin942.fits outfile=/scratch/kocevski/64454/ft1_filteredMKT_4FGL_J1357.1+1921_daily_bin942.fits ra=209.29 dec=19.3608 rad=12.0 tmin=483494401.0 tmax=483753601.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.49
user 6.20
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/64454/ft2_4FGL_J1357.1+1921_daily_bin942.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/64454/ft2_4FGL_J1357.1+1921_daily_bin942.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/64454/ft1_filteredMKT_4FGL_J1357.1+1921_daily_bin942.fits evtable="EVENTS" outfile="/scratch/kocevski/64454/ft1_filtered_4FGL_J1357.1+1921_daily_bin942.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/64454/ft1_filtered_4FGL_J1357.1+1921_daily_bin942.fits" evtable="EVENTS" scfile=/scratch/kocevski/64454/ft2_4FGL_J1357.1+1921_daily_bin942.fits sctable="SC_DATA" outfile=/scratch/kocevski/64454/ltcube_483494401_483753601_4FGL_J1357.1+1921_daily_bin942.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/64454/ft2_4FGL_J1357.1+1921_daily_bin942.fits
.....................!
real 11.70
user 11.23
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/64454/ft1_filtered_4FGL_J1357.1+1921_daily_bin942.fits evtable="EVENTS" scfile=/scratch/kocevski/64454/ft2_4FGL_J1357.1+1921_daily_bin942.fits sctable="SC_DATA" expcube=/scratch/kocevski/64454/ltcube_483494401_483753601_4FGL_J1357.1+1921_daily_bin942.fits outfile=/scratch/kocevski/64454/expmap_483494401_483753601_4FGL_J1357.1+1921_daily_bin942.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/64454/ltcube_483494401_483753601_4FGL_J1357.1+1921_daily_bin942.fits
.....................!
real 190.45
user 185.51
sys 4.55

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

Setting source of interest to:
4FGL J1357.1+1921 @ 209.29 19.3608

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/64454/ft1_filtered_4FGL_J1357.1+1921_daily_bin942.fits scfile=/scratch/kocevski/64454/ft2_4FGL_J1357.1+1921_daily_bin942.fits outfile=/scratch/kocevski/64454/cmap_483494401_483753601_4FGL_J1357.1+1921_daily_bin942.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=209.29 yref=19.3608 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.66
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/64454/ft1_filtered_4FGL_J1357.1+1921_daily_bin942.fits scfile=/scratch/kocevski/64454/ft2_4FGL_J1357.1+1921_daily_bin942.fits outfile=/scratch/kocevski/64454/cmap_HighResolution_483494401_483753601_4FGL_J1357.1+1921_daily_bin942.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=209.29 yref=19.3608 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.65
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/64454/ft1_filtered_4FGL_J1357.1+1921_daily_bin942.fits evtable="EVENTS" scfile=/scratch/kocevski/64454/ft2_4FGL_J1357.1+1921_daily_bin942.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/64454/Model_4FGL_J1357.1+1921_daily_bin942.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/64454/ft1_filtered_4FGL_J1357.1+1921_daily_bin942.fits.....................!
real 46.92
user 45.43
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/64454/ft1_filtered_4FGL_J1357.1+1921_daily_bin942.fits', '/scratch/kocevski/64454/ft2_4FGL_J1357.1+1921_daily_bin942.fits', expMap='/scratch/kocevski/64454/expmap_483494401_483753601_4FGL_J1357.1+1921_daily_bin942.fits', expCube='/scratch/kocevski/64454/ltcube_483494401_483753601_4FGL_J1357.1+1921_daily_bin942.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/64454/Model_4FGL_J1357.1+1921_daily_bin942.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1357.1+1921'

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  2.782e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
268        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  4.625e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/64454/ft1_filtered_4FGL_J1357.1+1921_daily_bin942.fits
Spacecraft file(s): /scratch/kocevski/64454/ft2_4FGL_J1357.1+1921_daily_bin942.fits
Exposure map: /scratch/kocevski/64454/expmap_483494401_483753601_4FGL_J1357.1+1921_daily_bin942.fits
Exposure cube: /scratch/kocevski/64454/ltcube_483494401_483753601_4FGL_J1357.1+1921_daily_bin942.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/64454/Model_4FGL_J1357.1+1921_daily_bin942.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) = 5488.50500765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.7759       1.0000         .10000E-03   10000.    
     3 'Prefactor '    26.468       1.0000         .10000E-03   10000.    
     4 'norm      '    33.851       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.370       1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.088       1.0000         .10000E-03   10000.    
     7 'Prefactor '    39.774       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10828E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.9825       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.9761       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.0127       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.5815       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.2699       1.0000         .10000E-03   10000.    
    16 'norm      '    10.061       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0149       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93302       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5488.496     FROM MIGRAD    STATUS=CONVERGED    378 CALLS     1881 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.6371        .17000E-07** at limit **
   2  norm          2.7769        5.8138       -.97646E-06   -.38024E-03
   3  Prefactor     26.468        25.812       -.40873E-06    .21040E-04
   4  norm          33.852        11.851       -.15143E-06    .95589E-04
   5  Prefactor     10.369        22.213       -.29514E-06   -.11373E-04
   6  Prefactor     24.088        23.807        .13091E-06   -.80970E-05
   7  Prefactor     39.767        48.244       -.86825E-05    .16318E-03
   8  Prefactor     .10000E-03    2.4097       -.20194E-06** at limit **
   9  Prefactor     2.9816        5.1741       -.30494E-06   -.41742E-03
  10  Prefactor     .10000E-03    4.1084        .59609E-08** at limit **
  11  Prefactor     9.9765        12.097       -.71899E-06   -.10874E-04
  12  Prefactor     4.0087        42.946       -.11539E-04    .42060E-04
  13  Prefactor     .10000E-03    5.2721        .78531E-07** at limit **
  14  norm          2.5812        2.3714       -.14848E-06   -.24755E-03
  15  Prefactor     3.2695        6.1832       -.59259E-06   -.38595E-03
  16  norm          10.061        4.0037       -.10781E-06   -.19082E-04
  17  Prefactor     .10000E-03    17.611       -.54386E-07** at limit **
  18  Normalizat    1.0147        .19865        .83408E-06    .74352E-04
  19  Prefactor     .93318        .16910        .10542E-05    .42094E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.77689
  Prefactor  = 26.4683
  norm       = 33.8518
  Prefactor  = 10.3689
  Prefactor  = 24.0879
  Prefactor  = 39.7673
  Prefactor  = 0.0001
  Prefactor  = 2.98164
  Prefactor  = 0.0001
  Prefactor  = 9.97645
  Prefactor  = 4.00867
  Prefactor  = 0.0001
  norm       = 2.58122
  Prefactor  = 3.26946
  norm       = 10.061
  Prefactor  = 0.0001
  Normalizat = 1.01471
  Prefactor  = 0.933176
 **********
 **   18 **HESSE 
 **********

 FCN=   5488.496     FROM HESSE     STATUS=OK           276 CALLS     2157 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.6447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.7769        5.9075        .24033E-03   -1.5375    
   3  Prefactor     26.468        25.815        .77866E-04   -1.4679    
   4  norm          33.852        11.803        .68875E-04   -1.4544    
   5  Prefactor     10.369        22.205        .12443E-03   -1.5064    
   6  Prefactor     24.088        23.822        .81617E-04   -1.4726    
   7  Prefactor     39.767        47.114        .63557E-04   -1.4446    
   8  Prefactor     .10000E-03    35.005        .22014E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.9816        5.2152        .21475E-03   -1.5363    
  10  Prefactor     .10000E-03    4.1136        .14665E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.9765        12.136        .12687E-03   -1.5076    
  12  Prefactor     4.0087        42.950        .20132E-03   -1.5308    
  13  Prefactor     .10000E-03    5.3388        .16597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.5812        2.3725        .10565E-03   -1.5387    
  15  Prefactor     3.2695        6.2557        .22394E-03   -1.5346    
  16  norm          10.061        4.0002        .88852E-04   -1.5073    
  17  Prefactor     .10000E-03    17.633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0147        .23122        .25560E-03   -.92539    
  19  Prefactor     .93318        .19812        .23122E-03   -.94991    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.02122e-10
Minuit parameter uncertainties:
  1  1.10972e-06
  2  5.90878
  3  25.8261
  4  11.8035
  5  22.2229
  6  23.831
  7  47.1581
  8  8.67621e-05
  9  5.21604
  10  1.94789e-06
  11  12.1395
  12  26.2666
  13  2.1333e-05
  14  2.37258
  15  6.257
  16  4.00028
  17  9.0878e-07
  18  0.231447
  19  0.198273
Done.

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

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  9.976e+00  1.214e+01  1.000e-04  1.000e+04 ( 1.000e-12)
268        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  4.625e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  9.332e-01  1.983e-01  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  1.015e+00  2.314e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.89
Ra Dec: 209.290 19.361
Photon Flux Upper Limit: 1.40e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.11e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/64454/likelihoodResults_483494401_483753601_4FGL_J1357.1+1921_daily_bin942.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) = 5488.45919841
delta logL = 0.0370907524266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5488.44875358
delta logL = 0.0475355812132

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2325       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0987       1.0000          .0000       10.000    
     3 'Normalizat'    1.0058       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93857       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+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=   5488.449     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      235 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2318        12.977        .13973E-03    .37533E-03
   2  Index         3.0987        1.2217        .11018E-01    .70414E-04
   3  Normalizat    1.0058        .22286        .25661E-03   -.21202E-03
   4  Prefactor     .93856        .19223        .23061E-03   -.25222E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.23184
  Index      = 3.09868
  Normalizat = 1.00583
  Prefactor  = 0.938564
 **********
 **   18 **HESSE 
 **********

 FCN=   5488.449     FROM HESSE     STATUS=OK            25 CALLS      260 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2318        12.070        .55891E-05   -1.5134    
   2  Index         3.0987        1.1371        .44073E-03   -.39008    
   3  Normalizat    1.0058        .22306        .51323E-04   -.92835    
   4  Prefactor     .93856        .19228        .46121E-04   -.94806    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.06179e-10
Minuit parameter uncertainties:
  1  12.0736
  2  1.14891
  3  0.223263
  4  0.192416
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/64454': 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) = 5488.44875358
delta logL = 0.0475355852323

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  8.232e+00  1.207e+01  1.000e-04  1.000e+04 ( 1.000e-12)
268        Index:  3.099e+00  1.149e+00  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  4.625e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  9.386e-01  1.924e-01  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  1.006e+00  2.233e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.89
Ra Dec: 209.290 19.361

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/64454/cmap_HighResolution_483494401_483753601_4FGL_J1357.1+1921_daily_bin942.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', job_status='DONE', photon_flux_upper_limit='1.40e-07', time_completed='2021-09-08 18:08:26.996176', job_id='64454', GAL2='0.94', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1631149707.0', return_code2='0', ts='0.89', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.75e-02', ts2='0.98', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='942' AND source_name='4FGL J1357.1+1921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 18:08:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 64454: <4FGL_J1357.1+1921_daily_bin942> in cluster <slac> Done

Job <4FGL_J1357.1+1921_daily_bin942> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  8 17:55:33 2021
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:55:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 17:55:35 2021
Terminated at Wed Sep  8 18:08:27 2021
Results reported at Wed Sep  8 18:08:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1357.1+1921_daily_bin942 209.29 19.3608 483494401 483753601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1357.1+1921 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   526.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             254.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   772 sec.
    Turnaround time :                            774 sec.

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

