aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 117 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 = 7717
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2352.0+1750_daily_bin1675
RA = 358.013, Dec = 17.8394
tmin = 673488001, tmax = 673747201
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='884294', job_status='RUN', time_executed='2022-05-09 01:31:01.985389', time_epoch_executed='1652085061.99' WHERE source_name='4FGL J2352.0+1750' and cadence='daily' and bin_id='1675'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/884294

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/884294/ft1_4FGL_J2352.0+1750_daily_bin1675.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/884294/ft2_4FGL_J2352.0+1750_daily_bin1675.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/884294/ft1_4FGL_J2352.0+1750_daily_bin1675.fits outfile=/scratch/kocevski/884294/ft1_filteredMKT_4FGL_J2352.0+1750_daily_bin1675.fits ra=358.013 dec=17.8394 rad=12.0 tmin=673488001.0 tmax=673747201.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.62
user 2.37
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/884294/ft2_4FGL_J2352.0+1750_daily_bin1675.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/884294/ft1_filteredMKT_4FGL_J2352.0+1750_daily_bin1675.fits evtable="EVENTS" outfile="/scratch/kocevski/884294/ft1_filtered_4FGL_J2352.0+1750_daily_bin1675.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

Number of photons that the gtmktime cut: 515

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/884294/ft1_filtered_4FGL_J2352.0+1750_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/884294/ft2_4FGL_J2352.0+1750_daily_bin1675.fits sctable="SC_DATA" expcube=/scratch/kocevski/884294/ltcube_673488001_673747201_4FGL_J2352.0+1750_daily_bin1675.fits outfile=/scratch/kocevski/884294/expmap_673488001_673747201_4FGL_J2352.0+1750_daily_bin1675.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/884294/ltcube_673488001_673747201_4FGL_J2352.0+1750_daily_bin1675.fits
.....................!
real 191.22
user 185.66
sys 5.21

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/884294/ft1_filtered_4FGL_J2352.0+1750_daily_bin1675.fits scfile=/scratch/kocevski/884294/ft2_4FGL_J2352.0+1750_daily_bin1675.fits outfile=/scratch/kocevski/884294/cmap_673488001_673747201_4FGL_J2352.0+1750_daily_bin1675.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/884294/ft1_filtered_4FGL_J2352.0+1750_daily_bin1675.fits scfile=/scratch/kocevski/884294/ft2_4FGL_J2352.0+1750_daily_bin1675.fits outfile=/scratch/kocevski/884294/cmap_HighResolution_673488001_673747201_4FGL_J2352.0+1750_daily_bin1675.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.55
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .85783       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.1722       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.986       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .67229       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    56.868       1.0000         .10000E-03   10000.    
    12 'norm      '    73.025       1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.408       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .63594E-02   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0660       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .83459       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=   5515.824     FROM MIGRAD    STATUS=CONVERGED    368 CALLS     1748 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .85782        2.7181       -.70183E-06   -.59208E-04
   2  Prefactor     .10000E-03    4.6347        .20782E-06** at limit **
   3  Prefactor     .10000E-03    13.838       -.83790E-07** at limit **
   4  Prefactor     .10000E-03    22.038        .72769E-06** at limit **
   5  Prefactor     5.1727        4.4988        .14344E-06    .14799E-04
   6  norm          .10000E-03    4.3312       -.12761E-08** at limit **
   7  Prefactor     21.994        36.719       -.84107E-06   -.35637E-04
   8  Prefactor     .10000E-03    4.0023        .18889E-06** at limit **
   9  Prefactor     .67935        14.066        .68098E-05    .20989E-03
  10  Prefactor     .10000E-03    7.6376       -.37364E-07** at limit **
  11  Prefactor     56.818        27.759        .62273E-07    .27618E-03
  12  norm          73.029        17.536        .34269E-06   -.61288E-04
  13  Prefactor     17.410        11.872       -.82023E-06    .32004E-04
  14  Prefactor     .10000E-03    11.930        .57262E-06** at limit **
  15  norm          .10000E-03    12.701        .90243E-07** at limit **
  16  Prefactor     .10013E-03    14.617        .61158E-05** at limit **
  17  Normalizat    1.0656        .23646       -.11233E-05   -.13141E-03
  18  Prefactor     .83469        .13323       -.67199E-06   -.45710E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.857816
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.17266
  norm       = 0.0001
  Prefactor  = 21.9943
  Prefactor  = 0.0001
  Prefactor  = 0.679349
  Prefactor  = 0.0001
  Prefactor  = 56.8179
  norm       = 73.029
  Prefactor  = 17.4099
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100131
  Normalizat = 1.06561
  Prefactor  = 0.834694
 **********
 **   18 **HESSE 
 **********

 FCN=   5515.824     FROM HESSE     STATUS=OK           244 CALLS     1992 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .85782        2.6626        .20662E-03   -1.5523    
   2  Prefactor     .10000E-03    4.6452        .15624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    13.934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    22.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.1727        4.4994        .14137E-03   -1.5253    
   6  norm          .10000E-03    4.3316        .15096E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     21.994        36.770        .85423E-04   -1.4770    
   8  Prefactor     .10000E-03    4.0328        .14516E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .67935        16.552        .26765E-02   -1.5543    
  10  Prefactor     .10000E-03    7.6517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     56.818        28.134        .53197E-04   -1.4199    
  12  norm          73.029        17.523        .46982E-04   -1.3997    
  13  Prefactor     17.410        11.862        .47997E-03   -1.4873    
  14  Prefactor     .10000E-03    11.966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    12.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10013E-03    54.247        .36335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0656        .26704        .31150E-03   -.90864    
  18  Prefactor     .83469        .15438        .20928E-03   -.98462    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02029e-09
Minuit parameter uncertainties:
  1  2.66299
  2  2.68826e-05
  3  9.90281e-05
  4  6.44048e-05
  5  4.49971
  6  3.15252e-06
  7  36.8076
  8  1.29376e-05
  9  6.70826
  10  8.18266e-07
  11  28.1405
  12  17.5241
  13  11.8632
  14  4.28587e-05
  15  3.80193e-05
  16  0.00532661
  17  0.267379
  18  0.15446
Done.

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

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  1.001e-04  5.327e-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:  8.347e-01  1.545e-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:  1.066e+00  2.674e-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: 8.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/884294/likelihoodResults_673488001_673747201_4FGL_J2352.0+1750_daily_bin1675.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) = 5515.82422512
delta logL = -8.57698596519e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5515.82399225
delta logL = 0.000147098824527

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32747E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2897       1.0000          .0000       10.000    
     3 'Normalizat'    1.0656       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83468       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=   5515.305     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      269 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21434        3.7668        .76568E-02    .19206E-02
   2  Index         3.8373        2.4212        .88881E-01    .17436E-03
   3  Normalizat    .96892        .51506E-01    .73482E-01    .14198E-03
   4  Prefactor     .86797        .31112E-01    .44167E-01    .19782E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.214343
  Index      = 3.8373
  Normalizat = 0.968918
  Prefactor  = 0.867968
 **********
 **   18 **HESSE 
 **********

 FCN=   5515.305     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      302 TOTAL
                     EDM=   .98E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21434        10.797        .35019E-03   -1.5615    
   2  Index         3.8373        6.8630        .47010E-02   -.23469    
   3  Normalizat    .96892        .19939        .32520E-03   -.94079    
   4  Prefactor     .86797        .11816        .20569E-03   -.97270    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.75094e-08
Minuit parameter uncertainties:
  1  3.04248
  2  5.46982
  3  0.199547
  4  0.118193
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/884294': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5515.30518662
delta logL = 0.518952733746

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  2.143e-01  3.042e+00  1.000e-04  1.000e+04 ( 1.000e-13)
477        Index:  3.837e+00  5.470e+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:  8.680e-01  1.182e-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:  9.689e-01  1.995e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.23
Ra Dec: 358.013 17.839
Photon Index (Free Index): 3.84 +/- 5.47
Photon Flux (Free Index): 6.93e-08 +/- 7.02e-08
Energy Flux (Free Index): 1.07e-05 +/- 1.40e-05

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/884294/cmap_HighResolution_673488001_673747201_4FGL_J2352.0+1750_daily_bin1675.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.77e-03', comment='SUCCESS', energy_flux2='1.07e-05', dlogl='5.19e-01', photon_flux2='6.93e-08', job_status='DONE', time_completed='2022-05-09 01:39:58.631126', photon_index_error2='5.47', photon_index2='3.84', ts='-0.00', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='8.98e-08', energy_flux_error2='1.40e-05', EG='1.07', time_epoch_completed='1652085598.63', return_code='0', job_id='884294', GAL2='0.87', EG2='0.97', return_code2='102', photon_flux_error2='7.02e-08', ts2='1.23', photon_index='2.07' WHERE bin_id='1675' AND source_name='4FGL J2352.0+1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May  9 01:39:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 884294: <4FGL_J2352.0+1750_daily_bin1675> in cluster <slac> Done

Job <4FGL_J2352.0+1750_daily_bin1675> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon May  9 01:25:38 2022
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon May  9 01:28:55 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon May  9 01:28:55 2022
Terminated at Mon May  9 01:39:59 2022
Results reported at Mon May  9 01:39:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2352.0+1750_daily_bin1675 358.013 17.8394 673488001 673747201 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 :                                   538.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             338.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   663 sec.
    Turnaround time :                            861 sec.

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

