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 18 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2352.0+1750_daily_bin1778
RA = 358.013, Dec = 17.8394
tmin = 700185601, tmax = 700444801
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='984794', job_status='RUN', time_executed='2023-03-14 02:30:51.858885', time_epoch_executed='1678786251.86' WHERE source_name='4FGL J2352.0+1750' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/984794

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/984794/ft1_4FGL_J2352.0+1750_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/984794/ft2_4FGL_J2352.0+1750_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/984794/ft1_4FGL_J2352.0+1750_daily_bin1778.fits outfile=/scratch/kocevski/984794/ft1_filteredMKT_4FGL_J2352.0+1750_daily_bin1778.fits ra=358.013 dec=17.8394 rad=12.0 tmin=700185601.0 tmax=700444801.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.94
user 3.72
sys 0.21

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

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

Number of photons that the gtmktime cut: 625

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/984794/ft1_filtered_4FGL_J2352.0+1750_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/984794/ft2_4FGL_J2352.0+1750_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/984794/ltcube_700185601_700444801_4FGL_J2352.0+1750_daily_bin1778.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/984794/ft2_4FGL_J2352.0+1750_daily_bin1778.fits
.....................!
real 11.87
user 11.50
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/984794/ft1_filtered_4FGL_J2352.0+1750_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/984794/ft2_4FGL_J2352.0+1750_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/984794/ltcube_700185601_700444801_4FGL_J2352.0+1750_daily_bin1778.fits outfile=/scratch/kocevski/984794/expmap_700185601_700444801_4FGL_J2352.0+1750_daily_bin1778.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/984794/ltcube_700185601_700444801_4FGL_J2352.0+1750_daily_bin1778.fits
.....................!
real 190.91
user 185.04
sys 5.51

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/984794/ft1_filtered_4FGL_J2352.0+1750_daily_bin1778.fits scfile=/scratch/kocevski/984794/ft2_4FGL_J2352.0+1750_daily_bin1778.fits outfile=/scratch/kocevski/984794/cmap_700185601_700444801_4FGL_J2352.0+1750_daily_bin1778.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/984794/ft1_filtered_4FGL_J2352.0+1750_daily_bin1778.fits scfile=/scratch/kocevski/984794/ft2_4FGL_J2352.0+1750_daily_bin1778.fits outfile=/scratch/kocevski/984794/cmap_HighResolution_700185601_700444801_4FGL_J2352.0+1750_daily_bin1778.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/984794/ft1_filtered_4FGL_J2352.0+1750_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/984794/ft2_4FGL_J2352.0+1750_daily_bin1778.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/984794/Model_4FGL_J2352.0+1750_daily_bin1778.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/984794/ft1_filtered_4FGL_J2352.0+1750_daily_bin1778.fits.....................!
real 75.59
user 74.23
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/984794/ft1_filtered_4FGL_J2352.0+1750_daily_bin1778.fits', '/scratch/kocevski/984794/ft2_4FGL_J2352.0+1750_daily_bin1778.fits', expMap='/scratch/kocevski/984794/expmap_700185601_700444801_4FGL_J2352.0+1750_daily_bin1778.fits', expCube='/scratch/kocevski/984794/ltcube_700185601_700444801_4FGL_J2352.0+1750_daily_bin1778.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/984794/Model_4FGL_J2352.0+1750_daily_bin1778.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  0.000e+00  1.000e+06 ( 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/984794/ft1_filtered_4FGL_J2352.0+1750_daily_bin1778.fits
Spacecraft file(s): /scratch/kocevski/984794/ft2_4FGL_J2352.0+1750_daily_bin1778.fits
Exposure map: /scratch/kocevski/984794/expmap_700185601_700444801_4FGL_J2352.0+1750_daily_bin1778.fits
Exposure cube: /scratch/kocevski/984794/ltcube_700185601_700444801_4FGL_J2352.0+1750_daily_bin1778.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/984794/Model_4FGL_J2352.0+1750_daily_bin1778.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) = 6831.99357213

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33133E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    14.854       1.0000          .0000       .10000E+07
     3 'Prefactor '    .14955E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    15.133       1.0000          .0000       .10000E+07
     5 'norm      '    .16797       1.0000          .0000       .10000E+07
     6 'Prefactor '    .91094E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .27600E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .11602E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .46851E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .38042E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .72736E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1743       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23610E-05   1.0000          .0000       .10000E+07
    14 'norm      '    14.306       1.0000          .0000       .10000E+07
    15 'Prefactor '    .58281E-06   1.0000          .0000       .10000E+07
    16 'Normalizat'    .45413       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.3200       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6831.916     FROM MIGRAD    STATUS=CONVERGED    104 CALLS     1157 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .57371E-06    1.9661        .22586E-05** at limit **
   2  Prefactor     14.861        3.9634        .16125E-06    .44496E-01
   3  Prefactor     .37192E-08    3.0823        .27351E-05** at limit **
   4  Prefactor     15.132        4.9399       -.23282E-07   -.95237E-02
   5  norm          .14432        .49954       -.28302E-06** at limit **
   6  Prefactor     .52680E-07    11.375        .22462E-05** at limit **
   7  Prefactor     .16653E-08    3.4535       -.13514E-05** at limit **
   8  Prefactor     .21094E-08    1.5107        .96329E-07** at limit **
   9  Prefactor     .88818E-08    3.8781       -.38106E-05** at limit **
  10  Prefactor     .63338E-07    1.8067        .45333E-06** at limit **
  11  norm          .95479E-08    6.3962       -.37306E-05** at limit **
  12  Prefactor     2.1760        4.9418       -.20936E-05    .57075E-02
  13  Prefactor     .76605E-08    18.637       -.42158E-06** at limit **
  14  norm          14.303        1.0309        .19756E-07   -.37750E-02
  15  Prefactor     .16820E-07    3.5769        .19883E-05** at limit **
  16  Normalizat    .45411        .20842        .17313E-04    .12051E-03
  17  Prefactor     1.3201        .14159       -.26221E-05    .31680E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.73708e-07
  Prefactor  = 14.8607
  Prefactor  = 3.71925e-09
  Prefactor  = 15.1319
  norm       = 0.144319
  Prefactor  = 5.26801e-08
  Prefactor  = 1.66533e-09
  Prefactor  = 2.10942e-09
  Prefactor  = 8.88178e-09
  Prefactor  = 6.33382e-08
  norm       = 9.54792e-09
  Prefactor  = 2.17603
  Prefactor  = 7.66054e-09
  norm       = 14.303
  Prefactor  = 1.68199e-08
  Normalizat = 0.454114
  Prefactor  = 1.32006
 **********
 **   18 **HESSE 
 **********

 FCN=   6831.916     FROM HESSE     STATUS=OK           259 CALLS     1416 TOTAL
                     EDM=   .70E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .57371E-06    1.5792        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.861        12.269        .25961E-03   -1.5631    
   3  Prefactor     .37192E-08    5.0498        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     15.132        4.9738        .25720E-03   -1.5630    
   5  norm          .14432        6.9386        .78908E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .52680E-07    11.743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-08    3.4738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .21094E-08    1.5253        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .88818E-08    4.3367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .63338E-07    4.7878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .95479E-08    7.2219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.1760        4.9895        .69800E-03   -1.5678    
  13  Prefactor     .76605E-08    18.655        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          14.303        12.801        .26455E-03   -1.5632    
  15  Prefactor     .16820E-07    3.6881        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .45411        .20484        .94406E-01   -1.1459    
  17  Prefactor     1.3201        .13547        .32269E-01   -.82712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98856e-08
Minuit parameter uncertainties:
  1  0.00190369
  2  12.2689
  3  0.000274185
  4  4.97377
  5  2.00138
  6  0.00157285
  7  0.000152611
  8  0.000113902
  9  0.000392403
  10  0.00110159
  11  0.000525514
  12  4.98948
  13  0.000755408
  14  12.8009
  15  0.000497733
  16  0.205184
  17  0.13551
Done.

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

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  1.682e-08  4.977e-04  0.000e+00  1.000e+06 ( 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.320e+00  1.355e-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:  4.541e-01  2.052e-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: 5.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/984794/likelihoodResults_700185601_700444801_4FGL_J2352.0+1750_daily_bin1778.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) = 6831.91595999
delta logL = -0.000388308729271

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6831.9155717
delta logL = -1.46046659211e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42744E-08   1.0000          .0000       .10000E+07
     2 'Index     '    .96910       1.0000          .0000       10.000    
     3 'Normalizat'    .45410       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3201       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6831.898     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      239 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .80999E-02    .61320        .28673E-06** at limit **
   2  Index         4.2452        7.0972       -.17031E-03    .18513E-04
   3  Normalizat    .44290        .21162       -.14692E-04    .96527E-04
   4  Prefactor     1.3243        .14213       -.22431E-04    .63728E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00809993
  Index      = 4.24516
  Normalizat = 0.442899
  Prefactor  = 1.32432
 **********
 **   18 **HESSE 
 **********

 FCN=   6831.898     FROM HESSE     STATUS=NOT POSDEF    45 CALLS      284 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .80999E-02    .46244        .68155E-03   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.2452        7.1083        .49094E-01   -.15155    
   3  Normalizat    .44290        .21893E-01    .95585E-01   -1.1514    
   4  Prefactor     1.3243        .14998E-01    .32269E-01   -.82587    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.89539e-08
Minuit parameter uncertainties:
  1  0.122404
  2  7.54286
  3  0.0218933
  4  0.0149978
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/984794': 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) = 6831.89776485
delta logL = 0.0178068387595

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  8.100e-03  1.224e-01  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  4.245e+00  7.543e+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.324e+00  1.500e-02  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:  4.429e-01  2.189e-02  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/984794/cmap_HighResolution_700185601_700444801_4FGL_J2352.0+1750_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-03', job_status='DONE', photon_flux_upper_limit='5.60e-08', time_completed='2023-03-14 02:39:36.339591', job_id='984794', GAL2='1.32', fit_tolerance='1e-08', EG2='0.44', EG='0.45', time_epoch_completed='1678786776.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.32', dlogl='1.78e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='1778' AND source_name='4FGL J2352.0+1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 02:39:36 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 984794: <4FGL_J2352.0+1750_daily_bin1778> in cluster <slac> Done

Job <4FGL_J2352.0+1750_daily_bin1778> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Mar 14 02:30:22 2023
Job was executed on host(s) <bullet0149>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 02:30:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 02:30:23 2023
Terminated at Tue Mar 14 02:39:37 2023
Results reported at Tue Mar 14 02:39:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2352.0+1750_daily_bin1778 358.013 17.8394 700185601 700444801 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 :                                   526.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             294.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   553 sec.
    Turnaround time :                            555 sec.

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

