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


Performing analysis on: 4FGL_J2352.0+1750_daily_bin1729
RA = 358.013, Dec = 17.8394
tmin = 687484801, tmax = 687744001
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='378863', job_status='RUN', time_executed='2022-10-18 00:37:34.305119', time_epoch_executed='1666078654.31' WHERE source_name='4FGL J2352.0+1750' and cadence='daily' and bin_id='1729'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/378863

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/378863/ft1_4FGL_J2352.0+1750_daily_bin1729.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/378863/ft2_4FGL_J2352.0+1750_daily_bin1729.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/378863/ft1_4FGL_J2352.0+1750_daily_bin1729.fits outfile=/scratch/kocevski/378863/ft1_filteredMKT_4FGL_J2352.0+1750_daily_bin1729.fits ra=358.013 dec=17.8394 rad=12.0 tmin=687484801.0 tmax=687744001.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.64
user 3.40
sys 0.20

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

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

Number of photons that the gtmktime cut: 324

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/378863/ft1_filtered_4FGL_J2352.0+1750_daily_bin1729.fits evtable="EVENTS" scfile=/scratch/kocevski/378863/ft2_4FGL_J2352.0+1750_daily_bin1729.fits sctable="SC_DATA" expcube=/scratch/kocevski/378863/ltcube_687484801_687744001_4FGL_J2352.0+1750_daily_bin1729.fits outfile=/scratch/kocevski/378863/expmap_687484801_687744001_4FGL_J2352.0+1750_daily_bin1729.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/378863/ltcube_687484801_687744001_4FGL_J2352.0+1750_daily_bin1729.fits
.....................!
real 190.60
user 185.69
sys 4.59

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/378863/ft1_filtered_4FGL_J2352.0+1750_daily_bin1729.fits scfile=/scratch/kocevski/378863/ft2_4FGL_J2352.0+1750_daily_bin1729.fits outfile=/scratch/kocevski/378863/cmap_687484801_687744001_4FGL_J2352.0+1750_daily_bin1729.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/378863/ft1_filtered_4FGL_J2352.0+1750_daily_bin1729.fits scfile=/scratch/kocevski/378863/ft2_4FGL_J2352.0+1750_daily_bin1729.fits outfile=/scratch/kocevski/378863/cmap_HighResolution_687484801_687744001_4FGL_J2352.0+1750_daily_bin1729.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.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/378863/ft1_filtered_4FGL_J2352.0+1750_daily_bin1729.fits', '/scratch/kocevski/378863/ft2_4FGL_J2352.0+1750_daily_bin1729.fits', expMap='/scratch/kocevski/378863/expmap_687484801_687744001_4FGL_J2352.0+1750_daily_bin1729.fits', expCube='/scratch/kocevski/378863/ltcube_687484801_687744001_4FGL_J2352.0+1750_daily_bin1729.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/378863/Model_4FGL_J2352.0+1750_daily_bin1729.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/378863/ft1_filtered_4FGL_J2352.0+1750_daily_bin1729.fits
Spacecraft file(s): /scratch/kocevski/378863/ft2_4FGL_J2352.0+1750_daily_bin1729.fits
Exposure map: /scratch/kocevski/378863/expmap_687484801_687744001_4FGL_J2352.0+1750_daily_bin1729.fits
Exposure cube: /scratch/kocevski/378863/ltcube_687484801_687744001_4FGL_J2352.0+1750_daily_bin1729.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/378863/Model_4FGL_J2352.0+1750_daily_bin1729.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 3490.27304497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32556E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .21150E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .25424E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .57732E-08   1.0000          .0000       .10000E+07
     5 'norm      '    .23648E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .47740E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .83822E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    16.908       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.9608       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24009E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .45086E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    14.185       1.0000          .0000       .10000E+07
    13 'Prefactor '    .24691E-06   1.0000          .0000       .10000E+07
    14 'norm      '    .14433E-08   1.0000          .0000       .10000E+07
    15 'Prefactor '    10.932       1.0000          .0000       .10000E+07
    16 'Normalizat'    .22202       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.5428       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=   3490.118     FROM MIGRAD    STATUS=CONVERGED    113 CALLS     1400 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .89706E-07    89.536        .74820E-07** at limit **
   2  Prefactor     .93370E-07    2.5989       -.49694E-06** at limit **
   3  Prefactor     .12212E-08    3.0901       -.19839E-05** at limit **
   4  Prefactor      .0000        2.1892        .14924E-06** at limit **
   5  norm          .95202E-07    13.697        .35601E-05** at limit **
   6  Prefactor     .15310E-06    4.2466       -.21857E-05** at limit **
   7  Prefactor     .44464E-07    9.6503        .32173E-05** at limit **
   8  Prefactor     16.904        7.3975       -.89612E-06    .53683E-01
   9  Prefactor     4.9609        9.3450       -.34085E-06    .15286E-02
  10  Prefactor     .52514E-07    2.5964       -.12409E-05** at limit **
  11  norm           .0000        3.6127       -.16228E-06** at limit **
  12  Prefactor     14.179        8.9055       -.19356E-05   -.38965E-01
  13  Prefactor     .11990E-07    3.2461       -.20966E-05** at limit **
  14  norm          .35194E-07    2.8150        .20937E-06** at limit **
  15  Prefactor     10.927        11.983       -.92587E-06    .11583E-01
  16  Normalizat    .22283        .31438        .15480E-03    .28678E-04
  17  Prefactor     1.5423        .21559       -.10506E-04   -.12612E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.9706e-08
  Prefactor  = 9.33698e-08
  Prefactor  = 1.22125e-09
  Prefactor  = 0
  norm       = 9.52016e-08
  Prefactor  = 1.531e-07
  Prefactor  = 4.44644e-08
  Prefactor  = 16.9044
  Prefactor  = 4.96087
  Prefactor  = 5.25135e-08
  norm       = 0
  Prefactor  = 14.1795
  Prefactor  = 1.19904e-08
  norm       = 3.51941e-08
  Prefactor  = 10.927
  Normalizat = 0.222834
  Prefactor  = 1.54234
 **********
 **   18 **HESSE 
 **********

 FCN=   3490.118     FROM HESSE     STATUS=OK           257 CALLS     1657 TOTAL
                     EDM=   .71E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .89706E-07    8.0480        .46903E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .93370E-07    15.723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .12212E-08    13.824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        2.1904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .95202E-07    15.877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .15310E-06    14.215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .44464E-07    12.196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.904        11.678        .24330E-03   -1.5626    
   9  Prefactor     4.9609        9.4218        .45130E-03   -1.5663    
  10  Prefactor     .52514E-07    12.917        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        3.6251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.179        11.133        .26568E-03   -1.5633    
  13  Prefactor     .11990E-07    13.285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .35194E-07    12.529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.927        12.755        .30276E-03   -1.5642    
  16  Normalizat    .22283        .50176        .14042       -1.2778    
  17  Prefactor     1.5423        .32237        .29338E-01   -.76361    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.07954e-08
Minuit parameter uncertainties:
  1  0.00169945
  2  0.00242339
  3  0.000257289
  4  1.27515e-05
  5  0.00245915
  6  0.00295034
  7  0.00147241
  8  11.678
  9  9.42186
  10  0.00164683
  11  9.80793e-06
  12  11.1331
  13  0.000797704
  14  0.00132816
  15  12.7551
  16  0.512472
  17  0.322796
Done.

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

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  1.093e+01  1.276e+01  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.542e+00  3.228e-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:  2.228e-01  5.125e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.31
Ra Dec: 358.013 17.839
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 4.81e-08 +/- 5.61e-08
Energy Flux (Fixed Index): 2.84e-05 +/- 3.32e-05

TS (Fixed Index): 1.31
Ra Dec: 358.013 17.839
Photon Flux Upper Limit: 1.79e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.35e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/378863/likelihoodResults_687484801_687744001_4FGL_J2352.0+1750_daily_bin1729.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) = 3488.28451231
delta logL = 1.83356095919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3488.25721024
delta logL = 1.86086303606

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27991       1.0000          .0000       .10000E+07
     2 'Index     '    4.1318       1.0000          .0000       10.000    
     3 'Normalizat'    .10013E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6303       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=   3488.257     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      335 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28058        2.5126        .35373E-03    .25847E-02
   2  Index         4.1307        2.0605        .50760E-01    .11489E-03
   3  Normalizat    .10000E-01    .43044E-01    .32094    ** at limit **
   4  Prefactor     1.6305        .70599E-01    .28474E-01   -.15166E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.280585
  Index      = 4.13066
  Normalizat = 0.01
  Prefactor  = 1.63045
 **********
 **   18 **HESSE 
 **********

 FCN=   3488.257     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      368 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28058        4.3469        .15780E-05   -1.5697    
   2  Index         4.1307        2.7931        .21456E-02   -.17476    
   3  Normalizat    .10000E-01    1.1408        .11264E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6305        .11034        .16855E-03   -.73949    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.08778e-07
Minuit parameter uncertainties:
  1  2.20879
  2  2.96998
  3  2.9845e-05
  4  0.110353
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/378863': 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) = 3488.25720342
delta logL = 1.86086985672

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  2.806e-01  2.209e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  4.131e+00  2.970e+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.630e+00  1.104e-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.000e-02  2.985e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.76
Ra Dec: 358.013 17.839
Photon Index (Free Index): 4.13 +/- 2.97
Photon Flux (Free Index): 1.97e-07 +/- 1.02e-07
Energy Flux (Free Index): 2.89e-05 +/- 1.90e-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/378863/cmap_HighResolution_687484801_687744001_4FGL_J2352.0+1750_daily_bin1729.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.35e-02', comment='SUCCESS', photon_flux='4.81e-08', energy_flux2='2.89e-05', photon_flux_error='5.61e-08', dlogl='1.86e+00', energy_flux='2.84e-05', photon_flux2='1.97e-07', job_status='DONE', time_completed='2022-10-18 00:44:56.440207', photon_index_error2='2.97', photon_index2='4.13', ts='1.31', fit_tolerance='1e-08', GAL='1.54', photon_index_error='0.00', photon_flux_upper_limit='1.79e-07', energy_flux_error2='1.90e-05', EG='0.22', time_epoch_completed='1666079096.44', return_code='0', job_id='378863', GAL2='1.63', EG2='0.01', return_code2='102', energy_flux_error='3.32e-05', photon_flux_error2='1.02e-07', ts2='5.76', photon_index='2.07' WHERE bin_id='1729' AND source_name='4FGL J2352.0+1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct 18 00:44:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 378863: <4FGL_J2352.0+1750_daily_bin1729> in cluster <slac> Done

Job <4FGL_J2352.0+1750_daily_bin1729> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Oct 18 00:35:37 2022
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 18 00:35:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 18 00:35:38 2022
Terminated at Tue Oct 18 00:44:57 2022
Results reported at Tue Oct 18 00:44:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2352.0+1750_daily_bin1729 358.013 17.8394 687484801 687744001 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 :                                   444.56 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   558 sec.
    Turnaround time :                            560 sec.

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

