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


Performing analysis on: 4FGL_J0035.2+1514_daily_bin1680
RA = 8.8123, Dec = 15.2405
tmin = 674784001, tmax = 675043201
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='580255', job_status='RUN', time_executed='2022-05-24 00:09:00.775318', time_epoch_executed='1653376140.78' WHERE source_name='4FGL J0035.2+1514' and cadence='daily' and bin_id='1680'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/580255

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/580255/ft1_4FGL_J0035.2+1514_daily_bin1680.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/580255/ft2_4FGL_J0035.2+1514_daily_bin1680.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/580255/ft1_4FGL_J0035.2+1514_daily_bin1680.fits outfile=/scratch/kocevski/580255/ft1_filteredMKT_4FGL_J0035.2+1514_daily_bin1680.fits ra=8.8123 dec=15.2405 rad=12.0 tmin=674784001.0 tmax=675043201.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.08
user 3.34
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/580255/ft2_4FGL_J0035.2+1514_daily_bin1680.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/580255/ft1_filteredMKT_4FGL_J0035.2+1514_daily_bin1680.fits evtable="EVENTS" outfile="/scratch/kocevski/580255/ft1_filtered_4FGL_J0035.2+1514_daily_bin1680.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.15

Number of photons that the gtmktime cut: 697

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/580255/ft1_filtered_4FGL_J0035.2+1514_daily_bin1680.fits" evtable="EVENTS" scfile=/scratch/kocevski/580255/ft2_4FGL_J0035.2+1514_daily_bin1680.fits sctable="SC_DATA" outfile=/scratch/kocevski/580255/ltcube_674784001_675043201_4FGL_J0035.2+1514_daily_bin1680.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/580255/ft2_4FGL_J0035.2+1514_daily_bin1680.fits
.....................!
real 14.60
user 14.13
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/580255/ft1_filtered_4FGL_J0035.2+1514_daily_bin1680.fits evtable="EVENTS" scfile=/scratch/kocevski/580255/ft2_4FGL_J0035.2+1514_daily_bin1680.fits sctable="SC_DATA" expcube=/scratch/kocevski/580255/ltcube_674784001_675043201_4FGL_J0035.2+1514_daily_bin1680.fits outfile=/scratch/kocevski/580255/expmap_674784001_675043201_4FGL_J0035.2+1514_daily_bin1680.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/580255/ltcube_674784001_675043201_4FGL_J0035.2+1514_daily_bin1680.fits
.....................!
real 191.27
user 185.11
sys 5.39

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/580255/ft1_filtered_4FGL_J0035.2+1514_daily_bin1680.fits scfile=/scratch/kocevski/580255/ft2_4FGL_J0035.2+1514_daily_bin1680.fits outfile=/scratch/kocevski/580255/cmap_674784001_675043201_4FGL_J0035.2+1514_daily_bin1680.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.57
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/580255/ft1_filtered_4FGL_J0035.2+1514_daily_bin1680.fits scfile=/scratch/kocevski/580255/ft2_4FGL_J0035.2+1514_daily_bin1680.fits outfile=/scratch/kocevski/580255/cmap_HighResolution_674784001_675043201_4FGL_J0035.2+1514_daily_bin1680.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.40
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/580255/ft1_filtered_4FGL_J0035.2+1514_daily_bin1680.fits', '/scratch/kocevski/580255/ft2_4FGL_J0035.2+1514_daily_bin1680.fits', expMap='/scratch/kocevski/580255/expmap_674784001_675043201_4FGL_J0035.2+1514_daily_bin1680.fits', expCube='/scratch/kocevski/580255/ltcube_674784001_675043201_4FGL_J0035.2+1514_daily_bin1680.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/580255/Model_4FGL_J0035.2+1514_daily_bin1680.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/580255/ft1_filtered_4FGL_J0035.2+1514_daily_bin1680.fits
Spacecraft file(s): /scratch/kocevski/580255/ft2_4FGL_J0035.2+1514_daily_bin1680.fits
Exposure map: /scratch/kocevski/580255/expmap_674784001_675043201_4FGL_J0035.2+1514_daily_bin1680.fits
Exposure cube: /scratch/kocevski/580255/ltcube_674784001_675043201_4FGL_J0035.2+1514_daily_bin1680.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/580255/Model_4FGL_J0035.2+1514_daily_bin1680.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) = 7733.39033424

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1030       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.9796       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.1411       1.0000         .10000E-03   10000.    
     8 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .12648E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.2524       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .29652E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10447E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .28648       1.0000         .10000E-03   10000.    
    17 'norm      '    .24818       1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.184       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.1646       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.4122       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86514       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=   7733.351     FROM MIGRAD    STATUS=CONVERGED    508 CALLS     2321 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0999        3.1426       -.18809E-05    .10953E-03
   2  Prefactor     9.9772        9.5997        .78139E-06    .75770E-03
   3  Prefactor     .10000E-03    3.5857        .19097E-06** at limit **
   4  norm          .10000E-03    1.1057       -.12042E-07** at limit **
   5  Prefactor     .10000E-03    45.697        .94651E-07** at limit **
   6  Prefactor     .10000E-03    3.7554       -.82409E-08** at limit **
   7  Prefactor     7.1404        3.3982        .49685E-07    .26587E-03
   8  norm          .10000E-03    6.7250       -.96002E-08** at limit **
   9  Prefactor     .10000E-03    7.8559       -.15124E-08** at limit **
  10  Prefactor     .10000E-03    5.6998        .99411E-07** at limit **
  11  norm          .10000E-03    3.5013        .36040E-06** at limit **
  12  Prefactor     7.2520        8.2402       -.60214E-06    .80714E-04
  13  Prefactor     .10000E-03    5.0107       -.43855E-07** at limit **
  14  norm          .10000E-03    214.53       -.47250E-04** at limit **
  15  Prefactor     .10008E-03    250.20       -.68148E-05** at limit **
  16  Prefactor     .10122E-03    140.40       -.35767E-04** at limit **
  17  norm          .24858        .34361        .77150E-06    .10021E-02
  18  Prefactor     18.194        14.897       -.14371E-05    .24272E-03
  19  Prefactor     5.1618        6.5710        .12867E-08    .33027E-03
  20  Normalizat    1.4124        .18623       -.37168E-06    .41261E-03
  21  Prefactor     .86528        .12729       -.20404E-06    .26750E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.09991
  Prefactor  = 9.97724
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.14041
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 7.25203
  Prefactor  = 0.0001
  norm       = 0.000100004
  Prefactor  = 0.000100083
  Prefactor  = 0.00010122
  norm       = 0.248578
  Prefactor  = 18.1941
  Prefactor  = 5.16175
  Normalizat = 1.41237
  Prefactor  = 0.865281
 **********
 **   18 **HESSE 
 **********

 FCN=   7733.351     FROM HESSE     STATUS=OK           331 CALLS     2652 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0999        3.1359        .24275E-03   -1.5498    
   2  Prefactor     9.9772        9.5928        .12684E-03   -1.5076    
   3  Prefactor     .10000E-03    3.6000        .16264E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.1097        .90295E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    45.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.7585        .16643E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.1404        3.3997        .10786E-03   -1.5173    
   8  norm          .10000E-03    6.8175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.8671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.7075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    8.6308        .32036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.2520        8.2390        .14894E-03   -1.5169    
  13  Prefactor     .10000E-03    5.0308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    9.2604        .93242E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10008E-03    253.61        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10122E-03    35.005        .15693       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .24858        .34661        .76686E-03   -1.5608    
  18  Prefactor     18.194        14.893        .93923E-04   -1.4855    
  19  Prefactor     5.1618        6.5604        .17690E-03   -1.5254    
  20  Normalizat    1.4124        .21627        .26881E-03   -.80272    
  21  Prefactor     .86528        .14769        .22864E-03   -.97365    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3827e-09
Minuit parameter uncertainties:
  1  3.13638
  2  9.59426
  3  2.61214e-05
  4  2.12304e-06
  5  0.000147948
  6  4.38827e-06
  7  3.39979
  8  2.01215e-05
  9  1.56333e-05
  10  4.32968e-05
  11  0.000222445
  12  8.24032
  13  1.28875e-05
  14  0.000373683
  15  0.00923719
  16  0.013078
  17  0.346612
  18  14.8961
  19  6.56132
  20  0.216412
  21  0.147753
Done.

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

Extracting fit parameters...

4FGL J0035.2+1514
   Spectrum: LogParabola
144         norm:  1.000e-04  2.012e-05  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:  8.653e-01  1.478e-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:  1.412e+00  2.164e-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: 3.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.64e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/580255/likelihoodResults_674784001_675043201_4FGL_J0035.2+1514_daily_bin1680.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) = 7733.35210739
delta logL = -0.000698901057149

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7733.35141039
delta logL = -1.90066384675e-06

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7733.351     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      246 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .80887        .49591E-01** at limit **
   2  alpha         2.3614        3.6648        .50000        .15617E-05
   3  Normalizat    1.4124        .24041E-02    .26881E-03   -.30491E-03
   4  Prefactor     .86528        .16570E-02    .22864E-03   -.37420E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 2.36142
  Normalizat = 1.41236
  Prefactor  = 0.865281
 **********
 **   18 **HESSE 
 **********

 FCN=   7733.351     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      275 TOTAL
                     EDM=   .98E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    125.18        .31168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3614        3.6071        .50000       -.55461E-01
   3  Normalizat    1.4124        .16118E-01    .53761E-04   -.80272    
   4  Prefactor     .86528        .11109E-01    .45728E-04   -.97365    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.84703e-08
Minuit parameter uncertainties:
  1  0.000853947
  2  443.79
  3  0.0161179
  4  0.0111091
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/580255': 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) = 7733.35140539
delta logL = 3.09524602926e-06

Extracting fit parameters...

4FGL J0035.2+1514
   Spectrum: LogParabola
144         norm:  1.000e-04  8.539e-04  1.000e-04  1.000e+04 ( 1.000e-13)
145        alpha:  2.361e+00  4.438e+02  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:  8.653e-01  1.111e-02  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:  1.412e+00  1.612e-02  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/580255/cmap_HighResolution_674784001_675043201_4FGL_J0035.2+1514_daily_bin1680.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.64e-05', job_status='DONE', photon_flux_upper_limit='3.24e-08', time_completed='2022-05-24 00:20:25.827666', job_id='580255', GAL2='0.87', fit_tolerance='1e-08', EG2='1.41', EG='1.41', time_epoch_completed='1653376825.83', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='3.10e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.72' WHERE bin_id='1680' AND source_name='4FGL J0035.2+1514' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue May 24 00:20:25 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0200>
Subject: Job 580255: <4FGL_J0035.2+1514_daily_bin1680> in cluster <slac> Done

Job <4FGL_J0035.2+1514_daily_bin1680> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue May 24 00:04:57 2022
Job was executed on host(s) <bullet0200>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 00:07:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 24 00:07:52 2022
Terminated at Tue May 24 00:20:26 2022
Results reported at Tue May 24 00:20:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0035.2+1514_daily_bin1680 8.8123 15.2405 674784001 675043201 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 :                                   682.75 sec.
    Max Memory :                                 654 MB
    Average Memory :                             301.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2929 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            929 sec.

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

