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


Performing analysis on: 4FGL_J0035.2+1514_daily_bin1623
RA = 8.8123, Dec = 15.2405
tmin = 660009601, tmax = 660268801
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='129842', job_status='RUN', time_executed='2021-12-07 11:31:25.335493', time_epoch_executed='1638905485.34' WHERE source_name='4FGL J0035.2+1514' and cadence='daily' and bin_id='1623'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/129842

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/129842/ft1_4FGL_J0035.2+1514_daily_bin1623.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/129842/ft2_4FGL_J0035.2+1514_daily_bin1623.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/129842/ft1_4FGL_J0035.2+1514_daily_bin1623.fits outfile=/scratch/kocevski/129842/ft1_filteredMKT_4FGL_J0035.2+1514_daily_bin1623.fits ra=8.8123 dec=15.2405 rad=12.0 tmin=660009601.0 tmax=660268801.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.83
user 4.58
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/129842/ft1_filtered_4FGL_J0035.2+1514_daily_bin1623.fits" evtable="EVENTS" scfile=/scratch/kocevski/129842/ft2_4FGL_J0035.2+1514_daily_bin1623.fits sctable="SC_DATA" outfile=/scratch/kocevski/129842/ltcube_660009601_660268801_4FGL_J0035.2+1514_daily_bin1623.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/129842/ft2_4FGL_J0035.2+1514_daily_bin1623.fits
.....................!
real 13.28
user 12.84
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/129842/ft1_filtered_4FGL_J0035.2+1514_daily_bin1623.fits evtable="EVENTS" scfile=/scratch/kocevski/129842/ft2_4FGL_J0035.2+1514_daily_bin1623.fits sctable="SC_DATA" expcube=/scratch/kocevski/129842/ltcube_660009601_660268801_4FGL_J0035.2+1514_daily_bin1623.fits outfile=/scratch/kocevski/129842/expmap_660009601_660268801_4FGL_J0035.2+1514_daily_bin1623.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/129842/ltcube_660009601_660268801_4FGL_J0035.2+1514_daily_bin1623.fits
.....................!
real 190.87
user 185.57
sys 4.94

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/129842/ft1_filtered_4FGL_J0035.2+1514_daily_bin1623.fits scfile=/scratch/kocevski/129842/ft2_4FGL_J0035.2+1514_daily_bin1623.fits outfile=/scratch/kocevski/129842/cmap_660009601_660268801_4FGL_J0035.2+1514_daily_bin1623.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/129842/ft1_filtered_4FGL_J0035.2+1514_daily_bin1623.fits scfile=/scratch/kocevski/129842/ft2_4FGL_J0035.2+1514_daily_bin1623.fits outfile=/scratch/kocevski/129842/cmap_HighResolution_660009601_660268801_4FGL_J0035.2+1514_daily_bin1623.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.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3409       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.346       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.7492       1.0000         .10000E-03   10000.    
     4 'norm      '    6.4821       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.773       1.0000         .10000E-03   10000.    
     8 'norm      '    9.0800       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.1451       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.1534       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    35.628       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.5030       1.0000         .10000E-03   10000.    
    17 'norm      '    .74838       1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.900       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.5694       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .77158       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0749       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=   6345.844     FROM MIGRAD    STATUS=CONVERGED    442 CALLS     2186 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3407        3.4725       -.70698E-07   -.64377E-04
   2  Prefactor     11.345        10.986        .36018E-06    .24215E-04
   3  Prefactor     3.7496        7.2436        .89635E-06   -.10137E-02
   4  norm          6.4824        4.9566       -.21627E-06   -.90520E-04
   5  Prefactor     .10000E-03    19.061       -.11251E-06** at limit **
   6  Prefactor     .10000E-03    5.2823       -.16395E-07** at limit **
   7  Prefactor     12.772        4.9570        .20560E-06    .71153E-04
   8  norm          9.0798        8.6237       -.94743E-07   -.16351E-05
   9  Prefactor     2.0873        39.215        .23975E-05   -.30237E-03
  10  Prefactor     .10000E-03    11.465        .21283E-07** at limit **
  11  norm          .10000E-03    2.0423        .66078E-08** at limit **
  12  Prefactor     4.1533        3.9464        .37120E-06    .83023E-04
  13  Prefactor     .10000E-03    3.4070        .84495E-08** at limit **
  14  norm          .10000E-03    6.0770        .87381E-08** at limit **
  15  Prefactor     35.626        42.883       -.14661E-05   -.11311E-04
  16  Prefactor     3.4898        80.235       -.24744E-04   -.49160E-04
  17  norm          .74838        .48642        .18825E-06    .36072E-04
  18  Prefactor     14.894        15.224        .26468E-05    .96115E-04
  19  Prefactor     6.5693        7.5052       -.60911E-07   -.37897E-04
  20  Normalizat    .77165        .19194       -.53023E-06    .13121E-04
  21  Prefactor     1.0749        .13629        .79988E-07    .10610E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.34069
  Prefactor  = 11.3451
  Prefactor  = 3.74961
  norm       = 6.4824
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.7718
  norm       = 9.07977
  Prefactor  = 2.08728
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.15335
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 35.626
  Prefactor  = 3.4898
  norm       = 0.748383
  Prefactor  = 14.894
  Prefactor  = 6.56927
  Normalizat = 0.771649
  Prefactor  = 1.07487
 **********
 **   18 **HESSE 
 **********

 FCN=   6345.844     FROM HESSE     STATUS=OK           325 CALLS     2511 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3407        3.4641        .10957E-03   -1.5246    
   2  Prefactor     11.345        11.065        .11893E-03   -1.5034    
   3  Prefactor     3.7496        9.2131        .10426E-02   -1.5321    
   4  norm          6.4824        4.9610        .14934E-03   -1.5199    
   5  Prefactor     .10000E-03    19.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.2900        .17880E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.772        5.0579        .10271E-03   -1.4993    
   8  norm          9.0798        8.6277        .13301E-03   -1.5105    
   9  Prefactor     2.0873        62.638        .14069E-02   -1.5419    
  10  Prefactor     .10000E-03    11.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.0427        .11118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.1533        3.9512        .14990E-03   -1.5300    
  13  Prefactor     .10000E-03    3.4139        .14359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.0858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     35.626        42.913        .67140E-04   -1.4514    
  16  Prefactor     3.4898        81.806        .21601E-03   -1.5334    
  17  norm          .74838        .49548        .42377E-04   -1.5535    
  18  Prefactor     14.894        15.227        .10376E-03   -1.4936    
  19  Prefactor     6.5693        7.4997        .15657E-03   -1.5195    
  20  Normalizat    .77165        .21818        .31222E-03   -1.0113    
  21  Prefactor     1.0749        .15519        .19753E-03   -.90274    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.82071e-09
Minuit parameter uncertainties:
  1  3.46424
  2  11.0666
  3  9.21658
  4  4.96133
  5  6.14115e-06
  6  1.78821e-06
  7  5.05809
  8  8.62886
  9  22.8944
  10  6.33486e-06
  11  1.54735e-07
  12  3.95141
  13  2.78823e-06
  14  1.93895e-08
  15  42.9503
  16  33.8444
  17  0.495486
  18  15.2314
  19  7.50072
  20  0.218422
  21  0.15526
Done.

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

Extracting fit parameters...

4FGL J0035.2+1514
   Spectrum: LogParabola
144         norm:  9.080e+00  8.629e+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.075e+00  1.553e-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.716e-01  2.184e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.21
Ra Dec: 8.812 15.241
Photon Index (Fixed Index): 1.72 +/- 0.00
Photon Flux (Fixed Index): 1.50e-08 +/- 1.42e-08
Energy Flux (Fixed Index): 2.14e-05 +/- 2.03e-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) = 6345.74966924
delta logL = 0.094821048383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6345.74900629
delta logL = 0.0954839959441

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.8252       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4072       1.0000          .0000       5.0000    
     3 'Normalizat'    .77399       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0758       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=   6345.749     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      272 TOTAL
                     EDM=   .54E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.8256        8.8694        .13493E-03    .13903E-04
   2  alpha         1.4071        .67723        .18908E-01   -.42299E-05
   3  Normalizat    .77387        .20884        .31180E-03   -.20820E-04
   4  Prefactor     1.0759        .15493        .19745E-03    .74852E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 8.82565
  alpha      = 1.40711
  Normalizat = 0.773868
  Prefactor  = 1.07589
 **********
 **   18 **HESSE 
 **********

 FCN=   6345.749     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .43E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.8256        8.9517        .53970E-05   -1.5114    
   2  alpha         1.4071        .68343        .75631E-03   -.45243    
   3  Normalizat    .77387        .20900        .12472E-04   -1.0105    
   4  Prefactor     1.0759        .15506        .78979E-05   -.90241    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25894e-12
Minuit parameter uncertainties:
  1  8.95311
  2  0.694415
  3  0.209214
  4  0.15512
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/129842': 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) = 6345.74900611
delta logL = 0.095484176145

Extracting fit parameters...

4FGL J0035.2+1514
   Spectrum: LogParabola
144         norm:  8.826e+00  8.953e+00  1.000e-04  1.000e+04 ( 1.000e-13)
145        alpha:  1.407e+00  6.944e-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.076e+00  1.551e-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.739e-01  2.092e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.40
Ra Dec: 8.812 15.241
Photon Index (Free Index): 1.41 +/- 0.69
Photon Flux (Free Index): 1.01e-08 +/- 1.33e-08
Energy Flux (Free Index): 3.33e-05 +/- 4.68e-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/129842/cmap_HighResolution_660009601_660268801_4FGL_J0035.2+1514_daily_bin1623.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.50e-08', energy_flux2='3.33e-05', photon_flux_error='1.42e-08', dlogl='9.55e-02', energy_flux='2.14e-05', photon_flux2='1.01e-08', job_status='DONE', time_completed='2021-12-07 11:40:43.225316', photon_index_error2='0.69', photon_index2='1.41', ts='5.21', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='4.68e-05', EG='0.77', time_epoch_completed='1638906043.23', return_code='0', job_id='129842', GAL2='1.08', EG2='0.77', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='1.33e-08', ts2='5.40', photon_index='1.72' WHERE bin_id='1623' AND source_name='4FGL J0035.2+1514' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 11:40:43 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 129842: <4FGL_J0035.2+1514_daily_bin1623> in cluster <slac> Done

Job <4FGL_J0035.2+1514_daily_bin1623> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Dec  7 11:30:23 2021
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 11:31:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 11:31:10 2021
Terminated at Tue Dec  7 11:40:43 2021
Results reported at Tue Dec  7 11:40:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0035.2+1514_daily_bin1623 8.8123 15.2405 660009601 660268801 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 :                                   557.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             326.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   573 sec.
    Turnaround time :                            620 sec.

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

