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


Performing analysis on: 4FGL_J2352.0+1750_daily_bin1558
RA = 358.013, Dec = 17.8394
tmin = 643161601, tmax = 643420801
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='168760', job_status='RUN', time_executed='2021-09-30 07:42:29.455697', time_epoch_executed='1633012949.46' WHERE source_name='4FGL J2352.0+1750' and cadence='daily' and bin_id='1558'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/168760

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/168760/ft1_4FGL_J2352.0+1750_daily_bin1558.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/168760/ft2_4FGL_J2352.0+1750_daily_bin1558.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/168760/ft1_4FGL_J2352.0+1750_daily_bin1558.fits outfile=/scratch/kocevski/168760/ft1_filteredMKT_4FGL_J2352.0+1750_daily_bin1558.fits ra=358.013 dec=17.8394 rad=12.0 tmin=643161601.0 tmax=643420801.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.51
user 3.26
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/168760/ft2_4FGL_J2352.0+1750_daily_bin1558.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/168760/ft2_4FGL_J2352.0+1750_daily_bin1558.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/168760/ft1_filteredMKT_4FGL_J2352.0+1750_daily_bin1558.fits evtable="EVENTS" outfile="/scratch/kocevski/168760/ft1_filtered_4FGL_J2352.0+1750_daily_bin1558.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.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/168760/ft1_filtered_4FGL_J2352.0+1750_daily_bin1558.fits" evtable="EVENTS" scfile=/scratch/kocevski/168760/ft2_4FGL_J2352.0+1750_daily_bin1558.fits sctable="SC_DATA" outfile=/scratch/kocevski/168760/ltcube_643161601_643420801_4FGL_J2352.0+1750_daily_bin1558.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/168760/ft2_4FGL_J2352.0+1750_daily_bin1558.fits
.....................!
real 14.10
user 13.74
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/168760/ft1_filtered_4FGL_J2352.0+1750_daily_bin1558.fits evtable="EVENTS" scfile=/scratch/kocevski/168760/ft2_4FGL_J2352.0+1750_daily_bin1558.fits sctable="SC_DATA" expcube=/scratch/kocevski/168760/ltcube_643161601_643420801_4FGL_J2352.0+1750_daily_bin1558.fits outfile=/scratch/kocevski/168760/expmap_643161601_643420801_4FGL_J2352.0+1750_daily_bin1558.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/168760/ltcube_643161601_643420801_4FGL_J2352.0+1750_daily_bin1558.fits
.....................!
real 190.70
user 185.70
sys 4.65

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

Setting source of interest to:
4FGL J2352.0+1750 @ 358.013 17.8394

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/168760/ft1_filtered_4FGL_J2352.0+1750_daily_bin1558.fits scfile=/scratch/kocevski/168760/ft2_4FGL_J2352.0+1750_daily_bin1558.fits outfile=/scratch/kocevski/168760/cmap_643161601_643420801_4FGL_J2352.0+1750_daily_bin1558.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=358.013 yref=17.8394 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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/168760/ft1_filtered_4FGL_J2352.0+1750_daily_bin1558.fits scfile=/scratch/kocevski/168760/ft2_4FGL_J2352.0+1750_daily_bin1558.fits outfile=/scratch/kocevski/168760/cmap_HighResolution_643161601_643420801_4FGL_J2352.0+1750_daily_bin1558.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=358.013 yref=17.8394 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/168760/ft1_filtered_4FGL_J2352.0+1750_daily_bin1558.fits evtable="EVENTS" scfile=/scratch/kocevski/168760/ft2_4FGL_J2352.0+1750_daily_bin1558.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/168760/Model_4FGL_J2352.0+1750_daily_bin1558.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/168760/ft1_filtered_4FGL_J2352.0+1750_daily_bin1558.fits.....................!
real 93.56
user 92.09
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/168760/ft1_filtered_4FGL_J2352.0+1750_daily_bin1558.fits', '/scratch/kocevski/168760/ft2_4FGL_J2352.0+1750_daily_bin1558.fits', expMap='/scratch/kocevski/168760/expmap_643161601_643420801_4FGL_J2352.0+1750_daily_bin1558.fits', expCube='/scratch/kocevski/168760/ltcube_643161601_643420801_4FGL_J2352.0+1750_daily_bin1558.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/168760/Model_4FGL_J2352.0+1750_daily_bin1558.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2352.0+1750'

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  1.218e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
477        Index:  2.066e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/168760/ft1_filtered_4FGL_J2352.0+1750_daily_bin1558.fits
Spacecraft file(s): /scratch/kocevski/168760/ft2_4FGL_J2352.0+1750_daily_bin1558.fits
Exposure map: /scratch/kocevski/168760/expmap_643161601_643420801_4FGL_J2352.0+1750_daily_bin1558.fits
Exposure cube: /scratch/kocevski/168760/ltcube_643161601_643420801_4FGL_J2352.0+1750_daily_bin1558.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/168760/Model_4FGL_J2352.0+1750_daily_bin1558.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) = 8554.80314267

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7823       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.373       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11681E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    46.824       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.3473       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.4175       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.9587       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.4170       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.025       1.0000         .10000E-03   10000.    
    12 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .91948E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.2679       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .34752E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .83260       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1309       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8554.710     FROM MIGRAD    STATUS=CONVERGED    362 CALLS     1807 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7814        2.8806       -.13116E-07   -.37771E-03
   2  Prefactor     15.374        12.030       -.55646E-06    .69006E-04
   3  Prefactor     .10000E-03    18.182       -.32013E-05** at limit **
   4  Prefactor     46.817        39.026       -.70085E-05   -.14865E-03
   5  Prefactor     4.3467        4.1978       -.39092E-06   -.60954E-03
   6  norm          .10000E-03    2.3237        .90491E-08** at limit **
   7  Prefactor     .10000E-03    6.8682        .16237E-06** at limit **
   8  Prefactor     4.4173        4.3877        .47423E-06   -.23356E-03
   9  Prefactor     8.9567        6.8196        .71939E-06   -.30660E-04
  10  Prefactor     5.4182        5.5694       -.80488E-07    .10143E-03
  11  Prefactor     15.022        19.950       -.15930E-05   -.25882E-04
  12  norm          .10000E-03    3.4990       -.36787E-07** at limit **
  13  Prefactor     .10002E-03    3.6480        .13227E-06** at limit **
  14  Prefactor     2.2278        16.156        .17654E-04    .50181E-04
  15  norm          .10000E-03    4.9140        .98395E-07** at limit **
  16  Prefactor     .10453E-03    4.2956       -.18345E-05** at limit **
  17  Normalizat    .83267        .19204        .12295E-05    .97298E-04
  18  Prefactor     1.1309        .11748       -.56926E-06    .34893E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.78135
  Prefactor  = 15.3743
  Prefactor  = 0.0001
  Prefactor  = 46.8173
  Prefactor  = 4.34669
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.41729
  Prefactor  = 8.95671
  Prefactor  = 5.41818
  Prefactor  = 15.0222
  norm       = 0.0001
  Prefactor  = 0.000100018
  Prefactor  = 2.22778
  norm       = 0.0001
  Prefactor  = 0.000104533
  Normalizat = 0.832667
  Prefactor  = 1.13092
 **********
 **   18 **HESSE 
 **********

 FCN=   8554.710     FROM HESSE     STATUS=OK           256 CALLS     2063 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7814        2.8618        .14603E-03   -1.5374    
   2  Prefactor     15.374        11.953        .10215E-03   -1.4924    
   3  Prefactor     .10000E-03    18.504        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     46.817        39.145        .29298E-03   -1.4338    
   5  Prefactor     4.3467        4.2011        .17602E-03   -1.5291    
   6  norm          .10000E-03    2.3246        .13769E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.8729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.4173        4.3740        .18758E-03   -1.5288    
   9  Prefactor     8.9567        6.7922        .13391E-03   -1.5109    
  10  Prefactor     5.4182        5.5671        .17265E-03   -1.5242    
  11  Prefactor     15.022        19.928        .10333E-03   -1.4933    
  12  norm          .10000E-03    3.5286        .16885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10002E-03    15.332        .33871E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.2278        15.264        .27273E-03   -1.5409    
  15  norm          .10000E-03    4.9257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10453E-03    4.2238        .58567E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .83267        .21763        .34319E-03   -.98868    
  18  Prefactor     1.1309        .13430        .19067E-03   -.88485    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.3713e-09
Minuit parameter uncertainties:
  1  2.86198
  2  11.9544
  3  4.21029e-05
  4  39.1664
  5  4.20137
  6  2.83938e-07
  7  7.61371e-06
  8  4.37436
  9  6.79279
  10  5.56768
  11  19.9366
  12  1.91234e-05
  13  0.00105056
  14  11.6668
  15  1.07728e-06
  16  0.00875193
  17  0.21786
  18  0.134344
Done.

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

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  1.045e-04  8.752e-03  1.000e-04  1.000e+04 ( 1.000e-13)
477        Index:  2.066e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.131e+00  1.343e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  8.327e-01  2.179e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 358.013 17.839
Photon Flux Upper Limit: 6.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/168760/likelihoodResults_643161601_643420801_4FGL_J2352.0+1750_daily_bin1558.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) = 8554.70982976
delta logL = -4.89264493808e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8554.70973525
delta logL = 4.55845183751e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48414E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9016       1.0000          .0000       10.000    
     3 'Normalizat'    .83269       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1309       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8554.707     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      275 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39090        6.8846        .96232E-01    .52820E-03
   2  Index         1.7518        1.2075        .50000        .23266E-05
   3  Normalizat    .83280        .65657E-02    .77526E-01    .45211E-04
   4  Prefactor     1.1303        .42061E-02    .36516E-01    .34773E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.390901
  Index      = 1.75177
  Normalizat = 0.832796
  Prefactor  = 1.13026
 **********
 **   18 **HESSE 
 **********

 FCN=   8554.707     FROM HESSE     STATUS=OK            33 CALLS      308 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39090        23.633        .33742E-02   -1.5583    
   2  Index         1.7518        2.5040        .20781E-01   -.70712    
   3  Normalizat    .83280        .20753        .34317E-03   -.98863    
   4  Prefactor     1.1303        .13374        .19072E-03   -.88505    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.12617e-08
Minuit parameter uncertainties:
  1  6.08065
  2  2.73355
  3  0.207731
  4  0.133781
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/168760': 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) = 8554.70727504
delta logL = 0.00250579894418

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  3.909e-01  6.081e+00  1.000e-04  1.000e+04 ( 1.000e-13)
477        Index:  1.752e+00  2.734e+00  0.000e+00  1.000e+01 (-1.000e+00)
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.130e+00  1.338e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  8.328e-01  2.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 358.013 17.839

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/168760/cmap_HighResolution_643161601_643420801_4FGL_J2352.0+1750_daily_bin1558.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.67e-03', job_status='DONE', photon_flux_upper_limit='6.19e-08', time_completed='2021-09-30 07:53:24.152334', job_id='168760', GAL2='1.13', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1633013604.15', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='2.51e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='1558' AND source_name='4FGL J2352.0+1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:53:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 168760: <4FGL_J2352.0+1750_daily_bin1558> in cluster <slac> Done

Job <4FGL_J2352.0+1750_daily_bin1558> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 07:40:24 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:40:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 07:40:25 2021
Terminated at Thu Sep 30 07:53:24 2021
Results reported at Thu Sep 30 07:53:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2352.0+1750_daily_bin1558 358.013 17.8394 643161601 643420801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2352.0+1750 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   652.50 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            780 sec.

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

