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


Performing analysis on: 4FGL_J2352.0+1750_daily_bin498
RA = 358.013, Dec = 17.8394
tmin = 368409601, tmax = 368668801
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='164488', job_status='RUN', time_executed='2021-09-30 07:25:51.646286', time_epoch_executed='1633011951.65' WHERE source_name='4FGL J2352.0+1750' and cadence='daily' and bin_id='498'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/164488

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/164488/ft1_4FGL_J2352.0+1750_daily_bin498.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/164488/ft2_4FGL_J2352.0+1750_daily_bin498.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/164488/ft1_4FGL_J2352.0+1750_daily_bin498.fits outfile=/scratch/kocevski/164488/ft1_filteredMKT_4FGL_J2352.0+1750_daily_bin498.fits ra=358.013 dec=17.8394 rad=12.0 tmin=368409601.0 tmax=368668801.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.34
user 3.12
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/164488/ft2_4FGL_J2352.0+1750_daily_bin498.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/164488/ft1_filteredMKT_4FGL_J2352.0+1750_daily_bin498.fits evtable="EVENTS" outfile="/scratch/kocevski/164488/ft1_filtered_4FGL_J2352.0+1750_daily_bin498.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.48
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/164488/ft1_filtered_4FGL_J2352.0+1750_daily_bin498.fits" evtable="EVENTS" scfile=/scratch/kocevski/164488/ft2_4FGL_J2352.0+1750_daily_bin498.fits sctable="SC_DATA" outfile=/scratch/kocevski/164488/ltcube_368409601_368668801_4FGL_J2352.0+1750_daily_bin498.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/164488/ft2_4FGL_J2352.0+1750_daily_bin498.fits
.....................!
real 12.27
user 11.90
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/164488/ft1_filtered_4FGL_J2352.0+1750_daily_bin498.fits evtable="EVENTS" scfile=/scratch/kocevski/164488/ft2_4FGL_J2352.0+1750_daily_bin498.fits sctable="SC_DATA" expcube=/scratch/kocevski/164488/ltcube_368409601_368668801_4FGL_J2352.0+1750_daily_bin498.fits outfile=/scratch/kocevski/164488/expmap_368409601_368668801_4FGL_J2352.0+1750_daily_bin498.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/164488/ltcube_368409601_368668801_4FGL_J2352.0+1750_daily_bin498.fits
.....................!
real 193.24
user 187.44
sys 5.42

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/164488/ft1_filtered_4FGL_J2352.0+1750_daily_bin498.fits scfile=/scratch/kocevski/164488/ft2_4FGL_J2352.0+1750_daily_bin498.fits outfile=/scratch/kocevski/164488/cmap_368409601_368668801_4FGL_J2352.0+1750_daily_bin498.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/164488/ft1_filtered_4FGL_J2352.0+1750_daily_bin498.fits scfile=/scratch/kocevski/164488/ft2_4FGL_J2352.0+1750_daily_bin498.fits outfile=/scratch/kocevski/164488/cmap_HighResolution_368409601_368668801_4FGL_J2352.0+1750_daily_bin498.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.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/164488/ft1_filtered_4FGL_J2352.0+1750_daily_bin498.fits', '/scratch/kocevski/164488/ft2_4FGL_J2352.0+1750_daily_bin498.fits', expMap='/scratch/kocevski/164488/expmap_368409601_368668801_4FGL_J2352.0+1750_daily_bin498.fits', expCube='/scratch/kocevski/164488/ltcube_368409601_368668801_4FGL_J2352.0+1750_daily_bin498.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/164488/Model_4FGL_J2352.0+1750_daily_bin498.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/164488/ft1_filtered_4FGL_J2352.0+1750_daily_bin498.fits
Spacecraft file(s): /scratch/kocevski/164488/ft2_4FGL_J2352.0+1750_daily_bin498.fits
Exposure map: /scratch/kocevski/164488/expmap_368409601_368668801_4FGL_J2352.0+1750_daily_bin498.fits
Exposure cube: /scratch/kocevski/164488/ltcube_368409601_368668801_4FGL_J2352.0+1750_daily_bin498.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/164488/Model_4FGL_J2352.0+1750_daily_bin498.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) = 7071.45216002

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12339E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.7728       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    38.569       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.6318       1.0000         .10000E-03   10000.    
     6 'norm      '    20.417       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.1463       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10643E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.836       1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12999E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    15.496       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.0906       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .80140       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0425       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7071.451     FROM MIGRAD    STATUS=CONVERGED    612 CALLS     2001 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    3.2364        .21539E-02** at limit **
   2  Prefactor     4.7581        11.280        .18416E-03    .29995E-03
   3  Prefactor     .10000E-03    8.6928        .18142E-02** at limit **
   4  Prefactor     38.575        50.749        .64538E-04   -.81031E-05
   5  Prefactor     7.6310        4.8259        .13129E-03    .65420E-03
   6  norm          20.417        12.006        .88642E-04    .18982E-04
   7  Prefactor     1.1219        151.77        .71843E-02    .11286E-03
   8  Prefactor     .10000E-03    2.0579        .11758E-02** at limit **
   9  Prefactor     .10000E-03    8.0884        .29515E-02** at limit **
  10  Prefactor     .10000E-03    6.1916        .18142E-02** at limit **
  11  Prefactor     12.840        14.812        .11180E-03    .14124E-03
  12  norm          .10000E-03    7.8878        .18142E-02** at limit **
  13  Prefactor     .10000E-03    4.3710        .17042E-02** at limit **
  14  Prefactor     .10000E-03    50.912        .18142E-02** at limit **
  15  norm          15.497        14.500        .10175E-03    .62795E-04
  16  Prefactor     2.0904        4.4322        .25115E-03    .28700E-03
  17  Normalizat    .80124        .22579        .33051E-03    .55265E-03
  18  Prefactor     1.0425        .13906        .18531E-03    .11404E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100005
  Prefactor  = 4.75809
  Prefactor  = 0.0001
  Prefactor  = 38.5752
  Prefactor  = 7.63096
  norm       = 20.4173
  Prefactor  = 1.12187
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.8396
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.4974
  Prefactor  = 2.09038
  Normalizat = 0.80124
  Prefactor  = 1.04245
 **********
 **   18 **HESSE 
 **********

 FCN=   7071.451     FROM HESSE     STATUS=OK           228 CALLS     2229 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    3.2443        .43078E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.7581        11.274        .73665E-05   -1.5272    
   3  Prefactor     .10000E-03    8.6947        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     38.575        50.758        .25815E-05   -1.4465    
   5  Prefactor     7.6310        4.7684        .52516E-05   -1.5155    
   6  norm          20.417        11.999        .35457E-05   -1.4804    
   7  Prefactor     1.1219        149.73        .28737E-03   -1.5496    
   8  Prefactor     .10000E-03    2.0580        .23516E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.1394        .59031E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.1921        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.840        14.810        .44722E-05   -1.4991    
  12  norm          .10000E-03    7.8941        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.3731        .34084E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    50.961        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          15.497        14.500        .40699E-05   -1.4920    
  16  Prefactor     2.0904        4.4318        .10046E-04   -1.5419    
  17  Normalizat    .80124        .22571        .66101E-04   -1.0002    
  18  Prefactor     1.0425        .13915        .37063E-04   -.91328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85221e-09
Minuit parameter uncertainties:
  1  0.000265618
  2  11.2794
  3  6.49756e-05
  4  50.815
  5  4.76863
  6  12.0004
  7  25.9863
  8  2.70713e-06
  9  0.00011474
  10  1.09929e-05
  11  14.8143
  12  8.96274e-05
  13  3.4647e-05
  14  0.000292154
  15  14.5038
  16  4.43254
  17  0.22597
  18  0.139198
Done.

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

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  2.090e+00  4.433e+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

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.042e+00  1.392e-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.012e-01  2.260e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/164488/likelihoodResults_368409601_368668801_4FGL_J2352.0+1750_daily_bin498.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) = 7071.43964471
delta logL = 0.0115525880838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7071.43718644
delta logL = 0.0140108602363

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7071.437     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      273 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4436        5.3491        .13075E-02   -.26397E-03
   2  Index         1.8888        1.0483        .13552E-01   -.52178E-04
   3  Normalizat    .80324        .21650        .33012E-03   -.38774E-03
   4  Prefactor     1.0417        .13773        .18536E-03   -.19154E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.44359
  Index      = 1.88883
  Normalizat = 0.803239
  Prefactor  = 1.04172
 **********
 **   18 **HESSE 
 **********

 FCN=   7071.437     FROM HESSE     STATUS=OK            27 CALLS      300 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4436        5.1991        .52299E-04   -1.5395    
   2  Index         1.8888        1.0205        .54209E-03   -.67159    
   3  Normalizat    .80324        .21661        .13205E-04   -.99949    
   4  Prefactor     1.0417        .13781        .37073E-04   -.91351    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.74478e-10
Minuit parameter uncertainties:
  1  5.2001
  2  1.03241
  3  0.216839
  4  0.137861
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/164488': 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) = 7071.43718446
delta logL = 0.0140128390876

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  2.444e+00  5.200e+00  1.000e-04  1.000e+04 ( 1.000e-13)
477        Index:  1.889e+00  1.032e+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.042e+00  1.379e-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.032e-01  2.168e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.31
Ra Dec: 358.013 17.839

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/164488/cmap_HighResolution_368409601_368668801_4FGL_J2352.0+1750_daily_bin498.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.24e-03', job_status='DONE', photon_flux_upper_limit='6.95e-08', time_completed='2021-09-30 07:35:52.900873', job_id='164488', GAL2='1.04', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1633012552.9', return_code2='0', ts='0.31', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.40e-02', ts2='0.34', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='498' AND source_name='4FGL J2352.0+1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:35:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 164488: <4FGL_J2352.0+1750_daily_bin498> in cluster <slac> Done

Job <4FGL_J2352.0+1750_daily_bin498> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 07:25:32 2021
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:25:33 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:25:33 2021
Terminated at Thu Sep 30 07:35:53 2021
Results reported at Thu Sep 30 07:35:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2352.0+1750_daily_bin498 358.013 17.8394 368409601 368668801 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 :                                   597.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             336.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   620 sec.
    Turnaround time :                            621 sec.

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

