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 66 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7494
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0035.2+1514_daily_bin1701
RA = 8.8123, Dec = 15.2405
tmin = 680227201, tmax = 680486401
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='157802', job_status='RUN', time_executed='2022-07-26 00:09:01.640705', time_epoch_executed='1658819341.64' WHERE source_name='4FGL J0035.2+1514' and cadence='daily' and bin_id='1701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/157802

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/157802/ft1_4FGL_J0035.2+1514_daily_bin1701.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/157802/ft2_4FGL_J0035.2+1514_daily_bin1701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/157802/ft1_4FGL_J0035.2+1514_daily_bin1701.fits outfile=/scratch/kocevski/157802/ft1_filteredMKT_4FGL_J0035.2+1514_daily_bin1701.fits ra=8.8123 dec=15.2405 rad=12.0 tmin=680227201.0 tmax=680486401.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.92
user 2.65
sys 0.20

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

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

Number of photons that the gtmktime cut: 700

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/157802/ft1_filtered_4FGL_J0035.2+1514_daily_bin1701.fits" evtable="EVENTS" scfile=/scratch/kocevski/157802/ft2_4FGL_J0035.2+1514_daily_bin1701.fits sctable="SC_DATA" outfile=/scratch/kocevski/157802/ltcube_680227201_680486401_4FGL_J0035.2+1514_daily_bin1701.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/157802/ft2_4FGL_J0035.2+1514_daily_bin1701.fits
.....................!
real 16.24
user 15.85
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/157802/ft1_filtered_4FGL_J0035.2+1514_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/157802/ft2_4FGL_J0035.2+1514_daily_bin1701.fits sctable="SC_DATA" expcube=/scratch/kocevski/157802/ltcube_680227201_680486401_4FGL_J0035.2+1514_daily_bin1701.fits outfile=/scratch/kocevski/157802/expmap_680227201_680486401_4FGL_J0035.2+1514_daily_bin1701.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/157802/ltcube_680227201_680486401_4FGL_J0035.2+1514_daily_bin1701.fits
.....................!
real 194.67
user 188.93
sys 5.27

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/157802/ft1_filtered_4FGL_J0035.2+1514_daily_bin1701.fits scfile=/scratch/kocevski/157802/ft2_4FGL_J0035.2+1514_daily_bin1701.fits outfile=/scratch/kocevski/157802/cmap_680227201_680486401_4FGL_J0035.2+1514_daily_bin1701.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.58
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/157802/ft1_filtered_4FGL_J0035.2+1514_daily_bin1701.fits scfile=/scratch/kocevski/157802/ft2_4FGL_J0035.2+1514_daily_bin1701.fits outfile=/scratch/kocevski/157802/cmap_HighResolution_680227201_680486401_4FGL_J0035.2+1514_daily_bin1701.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/157802/ft1_filtered_4FGL_J0035.2+1514_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/157802/ft2_4FGL_J0035.2+1514_daily_bin1701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/157802/Model_4FGL_J0035.2+1514_daily_bin1701.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/157802/ft1_filtered_4FGL_J0035.2+1514_daily_bin1701.fits....................!
real 82.85
user 80.22
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/157802/ft1_filtered_4FGL_J0035.2+1514_daily_bin1701.fits', '/scratch/kocevski/157802/ft2_4FGL_J0035.2+1514_daily_bin1701.fits', expMap='/scratch/kocevski/157802/expmap_680227201_680486401_4FGL_J0035.2+1514_daily_bin1701.fits', expCube='/scratch/kocevski/157802/ltcube_680227201_680486401_4FGL_J0035.2+1514_daily_bin1701.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/157802/Model_4FGL_J0035.2+1514_daily_bin1701.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  1.000e-04  1.000e+04 ( 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  0.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/157802/ft1_filtered_4FGL_J0035.2+1514_daily_bin1701.fits
Spacecraft file(s): /scratch/kocevski/157802/ft2_4FGL_J0035.2+1514_daily_bin1701.fits
Exposure map: /scratch/kocevski/157802/expmap_680227201_680486401_4FGL_J0035.2+1514_daily_bin1701.fits
Exposure cube: /scratch/kocevski/157802/ltcube_680227201_680486401_4FGL_J0035.2+1514_daily_bin1701.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/157802/Model_4FGL_J0035.2+1514_daily_bin1701.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) = 7946.01758864

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4531       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.0322       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10462E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.823       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.0191       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    13.367       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.1627       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .43734E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    6.7256       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.1598       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.3100       1.0000         .10000E-03   10000.    
    15 'Prefactor '    43.781       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.8302       1.0000         .10000E-03   10000.    
    17 'norm      '    .83012       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.5901       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .75816       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1017       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7945.931     FROM MIGRAD    STATUS=CONVERGED    435 CALLS     2229 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4621        3.3839       -.72286E-06   -.12591E-02
   2  Prefactor     2.0021        13.923       -.19357E-06   -.26338E-03
   3  Prefactor     .10000E-03    7.1307        .57689E-07** at limit **
   4  norm          .10000E-03    1.1226       -.12040E-07** at limit **
   5  Prefactor     11.804        28.368       -.23010E-04   -.50174E-05
   6  Prefactor     4.0187        8.9498        .67334E-06   -.15698E-03
   7  Prefactor     .10000E-03    .82649        .44455E-07** at limit **
   8  norm          13.369        8.8587        .11418E-05    .35890E-04
   9  Prefactor     6.1522        19.922       -.23258E-05   -.29599E-04
  10  Prefactor     .10004E-03    8.4348       -.39379E-06** at limit **
  11  norm          6.7255        6.4630        .14228E-05   -.29110E-04
  12  Prefactor     7.1622        5.6096        .55644E-07   -.43917E-04
  13  Prefactor     .10000E-03    5.4769        .63054E-08** at limit **
  14  norm          2.3089        10.904        .67345E-06   -.21025E-03
  15  Prefactor     43.779        34.752       -.26353E-05    .29790E-05
  16  Prefactor     5.8186        33.433       -.20237E-04   -.18487E-04
  17  norm          .83013        .47109        .20732E-06    .98197E-04
  18  Prefactor     7.5881        11.541        .21961E-05   -.74721E-04
  19  Prefactor     .10000E-03    3.0488       -.10281E-07** at limit **
  20  Normalizat    .75812        .17195        .15067E-05    .43652E-04
  21  Prefactor     1.1018        .12149        .37402E-06    .14112E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.46208
  Prefactor  = 2.00206
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.8036
  Prefactor  = 4.01875
  Prefactor  = 0.0001
  norm       = 13.3688
  Prefactor  = 6.15219
  Prefactor  = 0.000100039
  norm       = 6.72546
  Prefactor  = 7.16219
  Prefactor  = 0.0001
  norm       = 2.30892
  Prefactor  = 43.779
  Prefactor  = 5.81857
  norm       = 0.83013
  Prefactor  = 7.58808
  Prefactor  = 0.0001
  Normalizat = 0.758125
  Prefactor  = 1.10176
 **********
 **   18 **HESSE 
 **********

 FCN=   7945.931     FROM HESSE     STATUS=OK           325 CALLS     2554 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4621        3.2359        .20275E-03   -1.5466    
   2  Prefactor     2.0021        12.510        .29018E-03   -1.5425    
   3  Prefactor     .10000E-03    7.2129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.1275        .92228E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.804        28.263        .11651E-03   -1.5021    
   6  Prefactor     4.0187        8.9299        .20115E-03   -1.5307    
   7  Prefactor     .10000E-03    .83019        .79089E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          13.369        8.8424        .10956E-03   -1.4977    
   9  Prefactor     6.1522        19.936        .16172E-03   -1.5212    
  10  Prefactor     .10004E-03    86.511        .48789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.7255        6.4521        .15472E-03   -1.5189    
  12  Prefactor     7.1622        5.5404        .14991E-03   -1.5173    
  13  Prefactor     .10000E-03    5.5141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.3089        10.878        .26995E-03   -1.5404    
  15  Prefactor     43.779        34.753        .60589E-04   -1.4384    
  16  Prefactor     5.8186        33.584        .16633E-03   -1.5225    
  17  norm          .83013        .46856        .43400E-04   -1.5526    
  18  Prefactor     7.5881        11.494        .14556E-03   -1.5157    
  19  Prefactor     .10000E-03    3.0960        .15196E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .75812        .19711        .30880E-03   -1.0164    
  21  Prefactor     1.1018        .14066        .19076E-03   -.89410    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80042e-09
Minuit parameter uncertainties:
  1  3.23628
  2  10.0119
  3  1.43889e-05
  4  1.77486e-06
  5  28.2951
  6  8.93283
  7  2.72699e-06
  8  8.84323
  9  19.9578
  10  0.00366018
  11  6.45276
  12  5.54084
  13  4.70968e-06
  14  10.0261
  15  34.7687
  16  27.9813
  17  0.468559
  18  11.4972
  19  8.45728e-07
  20  0.197297
  21  0.140709
Done.

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

Extracting fit parameters...

4FGL J0035.2+1514
   Spectrum: LogParabola
144         norm:  1.337e+01  8.843e+00  1.000e-04  1.000e+04 ( 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  0.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:  1.102e+00  1.407e-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:  7.581e-01  1.973e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.65
Ra Dec: 8.812 15.241
Photon Index (Fixed Index): 1.72 +/- 0.00
Photon Flux (Fixed Index): 2.20e-08 +/- 1.46e-08
Energy Flux (Fixed Index): 3.15e-05 +/- 2.08e-05

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) = 7945.85943999
delta logL = 0.0712091187897

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7945.85422241
delta logL = 0.0764266970264

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.614       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9698       1.0000          .0000       5.0000    
     3 'Normalizat'    .75041       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1028       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.

 FCN=   7945.854     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      223 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.618        158.80        .28196E-02    .24942E-04
   2  alpha         1.9702        3.4133        .36691        .32114E-04
   3  Normalizat    .75055        .10437        .70100E-01    .37096E-04
   4  Prefactor     1.1027        .50023E-01    .37482E-01    .34313E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.6175
  alpha      = 1.97022
  Normalizat = 0.750547
  Prefactor  = 1.1027
 **********
 **   18 **HESSE 
 **********

 FCN=   7945.854     FROM HESSE     STATUS=OK            31 CALLS      254 TOTAL
                     EDM=   .46E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.618        8.9630        .11278E-03   -1.4997    
   2  alpha         1.9702        .66341        .12931E-01   -.21353    
   3  Normalizat    .75055        .19023        .31021E-03   -1.0193    
   4  Prefactor     1.1027        .13908        .19067E-03   -.89380    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63042e-12
Minuit parameter uncertainties:
  1  8.96395
  2  0.67184
  3  0.190399
  4  0.139121
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/157802': 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) = 7945.85422155
delta logL = 0.0764275593456

Extracting fit parameters...

4FGL J0035.2+1514
   Spectrum: LogParabola
144         norm:  1.262e+01  8.964e+00  1.000e-04  1.000e+04 ( 1.000e-13)
145        alpha:  1.970e+00  6.718e-01  0.000e+00  5.000e+00 ( 1.000e+00)
146         beta:  8.107e-02  0.000e+00  0.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:  1.103e+00  1.391e-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:  7.505e-01  1.904e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.79
Ra Dec: 8.812 15.241
Photon Index (Free Index): 1.97 +/- 0.67
Photon Flux (Free Index): 3.12e-08 +/- 3.35e-08
Energy Flux (Free Index): 2.48e-05 +/- 2.08e-05

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/157802/cmap_HighResolution_680227201_680486401_4FGL_J0035.2+1514_daily_bin1701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.20e-08', energy_flux2='2.48e-05', photon_flux_error='1.46e-08', dlogl='7.64e-02', energy_flux='3.15e-05', photon_flux2='3.12e-08', job_status='DONE', time_completed='2022-07-26 00:19:26.936964', photon_index_error2='0.67', photon_index2='1.97', ts='8.65', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='2.08e-05', EG='0.76', time_epoch_completed='1658819966.94', return_code='0', job_id='157802', GAL2='1.10', EG2='0.75', return_code2='0', energy_flux_error='2.08e-05', photon_flux_error2='3.35e-08', ts2='8.79', photon_index='1.72' WHERE bin_id='1701' AND source_name='4FGL J0035.2+1514' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 26 00:19:26 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 157802: <4FGL_J0035.2+1514_daily_bin1701> in cluster <slac> Done

Job <4FGL_J0035.2+1514_daily_bin1701> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jul 26 00:04:31 2022
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 00:07:39 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 00:07:39 2022
Terminated at Tue Jul 26 00:19:27 2022
Results reported at Tue Jul 26 00:19:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0035.2+1514_daily_bin1701 8.8123 15.2405 680227201 680486401 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 :                                   623.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             329.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   708 sec.
    Turnaround time :                            896 sec.

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

