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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1780
RA = 358.322, Dec = 31.5927
tmin = 700704001, tmax = 700963201
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='81705', job_status='RUN', time_executed='2023-03-20 02:03:29.254117', time_epoch_executed='1679303009.25' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/81705

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/81705/ft1_4FGL_J2353.2+3135_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/81705/ft2_4FGL_J2353.2+3135_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/81705/ft1_4FGL_J2353.2+3135_daily_bin1780.fits outfile=/scratch/kocevski/81705/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1780.fits ra=358.322 dec=31.5927 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.12
user 3.90
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/81705/ft2_4FGL_J2353.2+3135_daily_bin1780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/81705/ft2_4FGL_J2353.2+3135_daily_bin1780.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/81705/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/81705/ft1_filtered_4FGL_J2353.2+3135_daily_bin1780.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.33
sys 0.15

Number of photons that the gtmktime cut: 332

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/81705/ft1_filtered_4FGL_J2353.2+3135_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/81705/ft2_4FGL_J2353.2+3135_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/81705/ltcube_700704001_700963201_4FGL_J2353.2+3135_daily_bin1780.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/81705/ft2_4FGL_J2353.2+3135_daily_bin1780.fits
.....................!
real 12.51
user 12.13
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/81705/ft1_filtered_4FGL_J2353.2+3135_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/81705/ft2_4FGL_J2353.2+3135_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/81705/ltcube_700704001_700963201_4FGL_J2353.2+3135_daily_bin1780.fits outfile=/scratch/kocevski/81705/expmap_700704001_700963201_4FGL_J2353.2+3135_daily_bin1780.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/81705/ltcube_700704001_700963201_4FGL_J2353.2+3135_daily_bin1780.fits
.....................!
real 189.04
user 184.47
sys 4.26

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 J2353.2+3135 @ 358.322 31.5927

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/81705/ft1_filtered_4FGL_J2353.2+3135_daily_bin1780.fits scfile=/scratch/kocevski/81705/ft2_4FGL_J2353.2+3135_daily_bin1780.fits outfile=/scratch/kocevski/81705/cmap_700704001_700963201_4FGL_J2353.2+3135_daily_bin1780.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.322 yref=31.5927 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/81705/ft1_filtered_4FGL_J2353.2+3135_daily_bin1780.fits scfile=/scratch/kocevski/81705/ft2_4FGL_J2353.2+3135_daily_bin1780.fits outfile=/scratch/kocevski/81705/cmap_HighResolution_700704001_700963201_4FGL_J2353.2+3135_daily_bin1780.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.322 yref=31.5927 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/81705/ft1_filtered_4FGL_J2353.2+3135_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/81705/ft2_4FGL_J2353.2+3135_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/81705/Model_4FGL_J2353.2+3135_daily_bin1780.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/81705/ft1_filtered_4FGL_J2353.2+3135_daily_bin1780.fits.....................!
real 44.14
user 42.82
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/81705/ft1_filtered_4FGL_J2353.2+3135_daily_bin1780.fits', '/scratch/kocevski/81705/ft2_4FGL_J2353.2+3135_daily_bin1780.fits', expMap='/scratch/kocevski/81705/expmap_700704001_700963201_4FGL_J2353.2+3135_daily_bin1780.fits', expCube='/scratch/kocevski/81705/ltcube_700704001_700963201_4FGL_J2353.2+3135_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/81705/Model_4FGL_J2353.2+3135_daily_bin1780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2353.2+3135'

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  7.403e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
484        Index:  2.631e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
485        Scale:  7.457e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/81705/ft1_filtered_4FGL_J2353.2+3135_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/81705/ft2_4FGL_J2353.2+3135_daily_bin1780.fits
Exposure map: /scratch/kocevski/81705/expmap_700704001_700963201_4FGL_J2353.2+3135_daily_bin1780.fits
Exposure cube: /scratch/kocevski/81705/ltcube_700704001_700963201_4FGL_J2353.2+3135_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/81705/Model_4FGL_J2353.2+3135_daily_bin1780.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) = 3556.85374881

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16875E-06   1.0000          .0000       .10000E+07
     2 'norm      '    .10817E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .76410E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    56.698       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.7054       1.0000          .0000       .10000E+07
     6 'Prefactor '    35.401       1.0000          .0000       .10000E+07
     7 'norm      '    2.5143       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.6256       1.0000          .0000       .10000E+07
     9 'norm      '    .95868E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.4509       1.0000          .0000       .10000E+07
    11 'Prefactor '    15.074       1.0000          .0000       .10000E+07
    12 'Prefactor '    121.42       1.0000          .0000       .10000E+07
    13 'norm      '    5.0882       1.0000          .0000       .10000E+07
    14 'Prefactor '    .13390E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .64604E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .47842       1.0000          .0000       .10000E+07
    17 'Prefactor '    .36696       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.0111       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0318       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .86136       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3556.845     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1607 TOTAL
                     EDM=   .81E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.4572       -.24246E-06** at limit **
   2  norm          .22204E-07    15.906        .93939E-06** at limit **
   3  Prefactor      .0000        5.8683       -.20541E-07** at limit **
   4  Prefactor     56.724        1.6810        .64050E-08    .22172E-01
   5  Prefactor     1.7204        8.9355       -.98186E-06    .91430E-03
   6  Prefactor     36.546        48.597        .14788E-06   -.13540E-02
   7  norm          2.5123        2.5714       -.24408E-06    .21926E-02
   8  Prefactor     3.6268        1.3440       -.13058E-07    .41152E-02
   9  norm           .0000        1.5410        .19797E-06** at limit **
  10  Prefactor     4.7179        12.424        .58121E-06    .74245E-02
  11  Prefactor     15.184        14.162       -.26621E-06    .76728E-03
  12  Prefactor     120.20        59.885       -.53464E-06    .85561E-02
  13  norm          5.0860        8.1011        .72900E-07    .10775E-03
  14  Prefactor     .29088E-07    20.225        .79329E-06** at limit **
  15  norm           .0000        .84157        .80520E-07** at limit **
  16  Prefactor     .78826E-08    115.51        .11059E-06** at limit **
  17  Prefactor     .37914E-07    78.804        .61328E-06** at limit **
  18  Prefactor     1.1215        3.9998       -.40982E-08    .13592E-01
  19  Normalizat    1.0305        .31427       -.19374E-05   -.78434E-05
  20  Prefactor     .86181        .17315        .42675E-05   -.27459E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 2.22045e-08
  Prefactor  = 0
  Prefactor  = 56.7244
  Prefactor  = 1.72039
  Prefactor  = 36.5455
  norm       = 2.5123
  Prefactor  = 3.62681
  norm       = 0
  Prefactor  = 4.71787
  Prefactor  = 15.1844
  Prefactor  = 120.198
  norm       = 5.08598
  Prefactor  = 2.90878e-08
  norm       = 0
  Prefactor  = 7.88258e-09
  Prefactor  = 3.79141e-08
  Prefactor  = 1.1215
  Normalizat = 1.03052
  Prefactor  = 0.861815
 **********
 **   18 **HESSE 
 **********

 FCN=   3556.845     FROM HESSE     STATUS=OK           333 CALLS     1940 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.4560        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .22204E-07    16.829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        5.8596        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     56.724        24.957        .13281E-03   -1.5557    
   5  Prefactor     1.7204        8.9829        .80493E-03   -1.5682    
   6  Prefactor     36.546        48.409        .16809E-03   -1.5587    
   7  norm          2.5123        2.5806        .64408E-03   -1.5676    
   8  Prefactor     3.6268        34.125        .53035E-03   -1.5670    
   9  norm           .0000        1.5163        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.7179        61.035        .47706E-03   -1.5665    
  11  Prefactor     15.184        14.172        .25771E-03   -1.5630    
  12  Prefactor     120.20        60.679        .90757E-04   -1.5489    
  13  norm          5.0860        8.1132        .44550E-03   -1.5663    
  14  Prefactor     .29088E-07    22.140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .83936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .78826E-08    115.44        .80910E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .37914E-07    80.342        .93419E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.1215        21.637        .44157E-03   -1.5687    
  19  Normalizat    1.0305        .27590        .67674E-01   -.92015    
  20  Prefactor     .86181        .14788        .44511E-01   -.97488    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.86126e-08
Minuit parameter uncertainties:
  1  8.74337e-06
  2  0.00122315
  3  1.86987e-05
  4  24.957
  5  7.86233
  6  48.4093
  7  2.5806
  8  22.2501
  9  7.17275e-06
  10  33.9389
  11  14.1717
  12  60.6789
  13  8.11322
  14  0.00160429
  15  2.19958e-06
  16  0.00190576
  17  0.00349192
  18  9.85212
  19  0.276288
  20  0.147952
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  7.883e-09  1.906e-03  0.000e+00  1.000e+06 ( 1.000e-13)
484        Index:  2.631e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
485        Scale:  7.457e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  8.618e-01  1.480e-01  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  1.031e+00  2.763e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 358.322 31.593
Photon Flux Upper Limit: 1.52e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.19e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/81705/likelihoodResults_700704001_700963201_4FGL_J2353.2+3135_daily_bin1780.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) = 3556.84957775
delta logL = -0.00425705460202

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3556.80130612
delta logL = 0.0440145765506

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7420       1.0000          .0000       .10000E+07
     2 'Index     '    4.0931       1.0000          .0000       10.000    
     3 'Normalizat'    1.0028       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87029       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3556.801     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      278 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7897        1013.4        .12938E-03   -.28861E-02
   2  Index         4.0790        7.6456        .12625E-01   -.26770E-04
   3  Normalizat    1.0027        .24232        .30320E-03   -.30090E-04
   4  Prefactor     .87035        .12680        .18016E-03   -.14324E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.78975
  Index      = 4.07896
  Normalizat = 1.00271
  Prefactor  = 0.870351
 **********
 **   18 **HESSE 
 **********

 FCN=   3556.801     FROM HESSE     STATUS=OK            27 CALLS      305 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7897        22.737        .51751E-05   -1.5681    
   2  Index         4.0790        3.3551        .50499E-03   -.18527    
   3  Normalizat    1.0027        .31605        .12128E-04   -.92940    
   4  Prefactor     .87035        .17231        .72066E-05   -.97185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96454e-10
Minuit parameter uncertainties:
  1  12.7585
  2  3.69299
  3  0.31664
  4  0.172422
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/81705': 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) = 3556.80129773
delta logL = 0.0440229609185

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.790e+00  1.276e+01  0.000e+00  1.000e+06 ( 1.000e-13)
484        Index:  4.079e+00  3.693e+00  0.000e+00  1.000e+01 (-1.000e+00)
485        Scale:  7.457e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  8.704e-01  1.724e-01  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  1.003e+00  3.166e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 358.322 31.593

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/81705/cmap_HighResolution_700704001_700963201_4FGL_J2353.2+3135_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.19e-02', job_status='DONE', photon_flux_upper_limit='1.52e-07', time_completed='2023-03-20 02:11:06.467180', job_id='81705', GAL2='0.87', fit_tolerance='1e-08', EG2='1.00', EG='1.03', time_epoch_completed='1679303466.47', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='4.40e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1780' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 02:11:06 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0116>
Subject: Job 81705: <4FGL_J2353.2+3135_daily_bin1780> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1780> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Mar 20 02:00:16 2023
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 02:00:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 02:00:17 2023
Terminated at Mon Mar 20 02:11:10 2023
Results reported at Mon Mar 20 02:11:10 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1780 358.322 31.5927 700704001 700963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2353.2+3135 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   459.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   649 sec.
    Turnaround time :                            654 sec.

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

