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


Performing analysis on: 4FGL_J0035.2+1514_daily_bin1758
RA = 8.8123, Dec = 15.2405
tmin = 695001601, tmax = 695260801
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='354614', job_status='RUN', time_executed='2023-01-13 00:09:33.765436', time_epoch_executed='1673597373.77' WHERE source_name='4FGL J0035.2+1514' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/354614

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/354614/ft1_4FGL_J0035.2+1514_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/354614/ft2_4FGL_J0035.2+1514_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/354614/ft1_4FGL_J0035.2+1514_daily_bin1758.fits outfile=/scratch/kocevski/354614/ft1_filteredMKT_4FGL_J0035.2+1514_daily_bin1758.fits ra=8.8123 dec=15.2405 rad=12.0 tmin=695001601.0 tmax=695260801.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.86
user 2.61
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/354614/ft2_4FGL_J0035.2+1514_daily_bin1758.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/354614/ft2_4FGL_J0035.2+1514_daily_bin1758.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/354614/ft1_filteredMKT_4FGL_J0035.2+1514_daily_bin1758.fits evtable="EVENTS" outfile="/scratch/kocevski/354614/ft1_filtered_4FGL_J0035.2+1514_daily_bin1758.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.51
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 881

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/354614/ft1_filtered_4FGL_J0035.2+1514_daily_bin1758.fits" evtable="EVENTS" scfile=/scratch/kocevski/354614/ft2_4FGL_J0035.2+1514_daily_bin1758.fits sctable="SC_DATA" outfile=/scratch/kocevski/354614/ltcube_695001601_695260801_4FGL_J0035.2+1514_daily_bin1758.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/354614/ft2_4FGL_J0035.2+1514_daily_bin1758.fits
.....................!
real 15.87
user 15.44
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/354614/ft1_filtered_4FGL_J0035.2+1514_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/354614/ft2_4FGL_J0035.2+1514_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/354614/ltcube_695001601_695260801_4FGL_J0035.2+1514_daily_bin1758.fits outfile=/scratch/kocevski/354614/expmap_695001601_695260801_4FGL_J0035.2+1514_daily_bin1758.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/354614/ltcube_695001601_695260801_4FGL_J0035.2+1514_daily_bin1758.fits
.....................!
real 191.40
user 185.84
sys 5.04

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 156 point sources and 0 extended sources

Setting source of interest to:
4FGL J0035.2+1514 @ 8.8123 15.2405

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/354614/ft1_filtered_4FGL_J0035.2+1514_daily_bin1758.fits scfile=/scratch/kocevski/354614/ft2_4FGL_J0035.2+1514_daily_bin1758.fits outfile=/scratch/kocevski/354614/cmap_695001601_695260801_4FGL_J0035.2+1514_daily_bin1758.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=8.8123 yref=15.2405 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.59
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/354614/ft1_filtered_4FGL_J0035.2+1514_daily_bin1758.fits scfile=/scratch/kocevski/354614/ft2_4FGL_J0035.2+1514_daily_bin1758.fits outfile=/scratch/kocevski/354614/cmap_HighResolution_695001601_695260801_4FGL_J0035.2+1514_daily_bin1758.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=8.8123 yref=15.2405 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/354614/ft1_filtered_4FGL_J0035.2+1514_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/354614/ft2_4FGL_J0035.2+1514_daily_bin1758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/354614/Model_4FGL_J0035.2+1514_daily_bin1758.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/354614/ft1_filtered_4FGL_J0035.2+1514_daily_bin1758.fits.....................!
real 95.74
user 93.45
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/354614/ft1_filtered_4FGL_J0035.2+1514_daily_bin1758.fits', '/scratch/kocevski/354614/ft2_4FGL_J0035.2+1514_daily_bin1758.fits', expMap='/scratch/kocevski/354614/expmap_695001601_695260801_4FGL_J0035.2+1514_daily_bin1758.fits', expCube='/scratch/kocevski/354614/ltcube_695001601_695260801_4FGL_J0035.2+1514_daily_bin1758.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/354614/Model_4FGL_J0035.2+1514_daily_bin1758.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0035.2+1514'

4FGL J0035.2+1514
   Spectrum: LogParabola
144         norm:  3.038e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
145        alpha:  1.718e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
146         beta:  8.107e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
147           Eb:  1.944e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/354614/ft1_filtered_4FGL_J0035.2+1514_daily_bin1758.fits
Spacecraft file(s): /scratch/kocevski/354614/ft2_4FGL_J0035.2+1514_daily_bin1758.fits
Exposure map: /scratch/kocevski/354614/expmap_695001601_695260801_4FGL_J0035.2+1514_daily_bin1758.fits
Exposure cube: /scratch/kocevski/354614/ltcube_695001601_695260801_4FGL_J0035.2+1514_daily_bin1758.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/354614/Model_4FGL_J0035.2+1514_daily_bin1758.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) = 9648.93602346

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.4890       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.7549       1.0000          .0000       .10000E+07
     4 'norm      '    1.1756       1.0000          .0000       .10000E+07
     5 'Prefactor '    10.126       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.0633       1.0000          .0000       .10000E+07
     7 'norm      '    .49863E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .17433E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.8952       1.0000          .0000       .10000E+07
    10 'norm      '    4.0134       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.3403       1.0000          .0000       .10000E+07
    12 'Prefactor '    .61562E-07   1.0000          .0000       .10000E+07
    13 'norm      '    23.195       1.0000          .0000       .10000E+07
    14 'Prefactor '    .39619E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .77668       1.0000          .0000       .10000E+07
    16 'Prefactor '    .12229E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .11296E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .88386       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .96629       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9648.878     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1140 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    1.0167       -.48247E-07** at limit **
   2  Prefactor     5.5411        7.2759       -.56761E-06   -.16441E-01
   3  Prefactor     6.8112        7.6116        .10564E-05    .23928E-01
   4  norm          1.1818        2.1102        .24704E-07   -.32482E-02
   5  Prefactor     9.8754        8.6177       -.19917E-05    .30395E-01
   6  Prefactor     7.0201        3.2502       -.17533E-07    .45160E-02
   7  norm          .59952E-08    50.877        .22637E-06** at limit **
   8  Prefactor     .49960E-09    6.8619        .89244E-06** at limit **
   9  Prefactor     4.8876        7.6271       -.15662E-05   -.31995E-01
  10  norm          4.0029        4.6553        .65691E-07   -.23104E-02
  11  Prefactor     8.3279        4.6329        .71290E-07    .26446E-02
  12  Prefactor     .55511E-10    3.7803       -.28930E-06** at limit **
  13  norm          22.890        3.0404       -.42139E-06    .51145E-01
  14  Prefactor     .66613E-09    10.339       -.13523E-05** at limit **
  15  norm          .77627        .46877        .18153E-07    .54772E-02
  16  Prefactor      .0000        2.8263        .51373E-07** at limit **
  17  Prefactor     .28755E-07    40.314        .12653E-05** at limit **
  18  Normalizat    .88439        .16779        .42555E-05   -.15505E-03
  19  Prefactor     .96628        .12128       -.37367E-05   -.24260E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  Prefactor  = 5.54106
  Prefactor  = 6.81119
  norm       = 1.18183
  Prefactor  = 9.87539
  Prefactor  = 7.02014
  norm       = 5.9952e-09
  Prefactor  = 4.996e-10
  Prefactor  = 4.88764
  norm       = 4.00292
  Prefactor  = 8.32786
  Prefactor  = 5.55112e-11
  norm       = 22.8898
  Prefactor  = 6.66134e-10
  norm       = 0.776268
  Prefactor  = 0
  Prefactor  = 2.87548e-08
  Normalizat = 0.884391
  Prefactor  = 0.966281
 **********
 **   18 **HESSE 
 **********

 FCN=   9648.878     FROM HESSE     STATUS=OK           322 CALLS     1462 TOTAL
                     EDM=   .76E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    1.0105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.5411        7.7381        .42863E-03   -1.5661    
   3  Prefactor     6.8112        8.3184        .38583E-03   -1.5656    
   4  norm          1.1818        2.1825        .10559E-02   -1.5686    
   5  Prefactor     9.8754        11.501        .31463E-03   -1.5645    
   6  Prefactor     7.0201        3.2492        .37722E-03   -1.5655    
   7  norm          .59952E-08    4.4155        .73492E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .49960E-09    6.8861        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.8876        9.5560        .45438E-03   -1.5664    
  10  norm          4.0029        4.6609        .50315E-03   -1.5668    
  11  Prefactor     8.3279        4.6731        .34689E-03   -1.5650    
  12  Prefactor     .55511E-10    3.7886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          22.890        14.776        .20768E-03   -1.5612    
  14  Prefactor     .66613E-09    10.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .77627        .46891        .54690E-03   -1.5690    
  16  Prefactor      .0000        2.8290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .28755E-07    3.0194        .58404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .88439        .14538        .44695E-01   -.97011    
  19  Prefactor     .96628        .10493        .45844E-01   -.93862    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.60905e-08
Minuit parameter uncertainties:
  1  1.09093e-05
  2  7.73808
  3  8.31839
  4  2.18252
  5  11.5008
  6  3.24918
  7  0.000325991
  8  0.000116944
  9  9.55603
  10  4.66087
  11  4.6731
  12  3.13978e-05
  13  14.7764
  14  0.000164748
  15  0.468908
  16  9.37398e-06
  17  0.000589333
  18  0.145446
  19  0.104957
Done.

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

Extracting fit parameters...

4FGL J0035.2+1514
   Spectrum: LogParabola
144         norm:  5.995e-09  3.260e-04  0.000e+00  1.000e+06 ( 1.000e-13)
145        alpha:  1.718e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
146         beta:  8.107e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
147           Eb:  1.944e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
495    Prefactor:  9.663e-01  1.050e-01  0.000e+00  1.000e+01 ( 1.000e+00)
496        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
497        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
494   Normalization:  8.844e-01  1.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 8.812 15.241
Photon Flux Upper Limit: 2.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.27e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/354614/likelihoodResults_695001601_695260801_4FGL_J0035.2+1514_daily_bin1758.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) = 9648.62979005
delta logL = 0.24808035786

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9648.55525907
delta logL = 0.322611344831

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .73702E-02   1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .84800       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98132       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4980E+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=   9648.555     FROM MIGRAD    STATUS=CONVERGED    148 CALLS      464 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .73758E-02    .11454E-01    .11040E-04** at limit **
   2  alpha         5.0000        3.3255        .50000    ** at limit **
   3  Normalizat    .84798        .17182        .28210E-03   -.13299E-04
   4  Prefactor     .98136        .12309        .19372E-03   -.38028E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00737579
  alpha      = 5
  Normalizat = 0.84798
  Prefactor  = 0.98136
 **********
 **   18 **HESSE 
 **********

 FCN=   9648.555     FROM HESSE     STATUS=OK            31 CALLS      495 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .73758E-02    .10945E-01    .22080E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        3.2644        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .84798        .17229        .11284E-04   -.98313    
   4  Prefactor     .98136        .12328        .77489E-05   -.93353    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30401e-12
Minuit parameter uncertainties:
  1  0.010945
  2  2.88411e-06
  3  0.172403
  4  0.123318
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/354614': 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) = 9648.55525878
delta logL = 0.322611631895

Extracting fit parameters...

4FGL J0035.2+1514
   Spectrum: LogParabola
144         norm:  7.376e-03  1.094e-02  0.000e+00  1.000e+06 ( 1.000e-13)
145        alpha:  5.000e+00  2.884e-06  0.000e+00  5.000e+00 ( 1.000e+00)
146         beta:  8.107e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
147           Eb:  1.944e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
495    Prefactor:  9.814e-01  1.233e-01  0.000e+00  1.000e+01 ( 1.000e+00)
496        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
497        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
494   Normalization:  8.480e-01  1.724e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 8.812 15.241

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/354614/cmap_HighResolution_695001601_695260801_4FGL_J0035.2+1514_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.27e-05', job_status='DONE', photon_flux_upper_limit='2.99e-08', time_completed='2023-01-13 00:20:06.495488', job_id='354614', GAL2='0.98', fit_tolerance='1e-08', EG2='0.85', EG='0.88', time_epoch_completed='1673598006.5', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='3.23e-01', ts2='0.71', photon_index_error='0.00', photon_index='1.72' WHERE bin_id='1758' AND source_name='4FGL J0035.2+1514' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 00:20:06 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 354614: <4FGL_J0035.2+1514_daily_bin1758> in cluster <slac> Done

Job <4FGL_J0035.2+1514_daily_bin1758> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Jan 13 00:04:36 2023
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 00:06:05 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 00:06:05 2023
Terminated at Fri Jan 13 00:20:07 2023
Results reported at Fri Jan 13 00:20:07 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0035.2+1514_daily_bin1758 8.8123 15.2405 695001601 695260801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0035.2+1514 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   634.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             295.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   842 sec.
    Turnaround time :                            931 sec.

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

