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


Performing analysis on: 4FGL_J0654.4+4514_daily_bin605
RA = 103.606, Dec = 45.2446
tmin = 396144001, tmax = 396403201
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='959918', job_status='RUN', time_executed='2021-08-26 10:06:56.300433', time_epoch_executed='1629997616.3' WHERE source_name='4FGL J0654.4+4514' and cadence='daily' and bin_id='605'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/959918

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/959918/ft1_4FGL_J0654.4+4514_daily_bin605.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/959918/ft2_4FGL_J0654.4+4514_daily_bin605.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/959918/ft1_4FGL_J0654.4+4514_daily_bin605.fits outfile=/scratch/kocevski/959918/ft1_filteredMKT_4FGL_J0654.4+4514_daily_bin605.fits ra=103.606 dec=45.2446 rad=12.0 tmin=396144001.0 tmax=396403201.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.88
user 3.03
sys 1.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/959918/ft2_4FGL_J0654.4+4514_daily_bin605.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/959918/ft2_4FGL_J0654.4+4514_daily_bin605.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/959918/ft1_filteredMKT_4FGL_J0654.4+4514_daily_bin605.fits evtable="EVENTS" outfile="/scratch/kocevski/959918/ft1_filtered_4FGL_J0654.4+4514_daily_bin605.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 2.81
user 0.33
sys 1.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/959918/ft1_filtered_4FGL_J0654.4+4514_daily_bin605.fits" evtable="EVENTS" scfile=/scratch/kocevski/959918/ft2_4FGL_J0654.4+4514_daily_bin605.fits sctable="SC_DATA" outfile=/scratch/kocevski/959918/ltcube_396144001_396403201_4FGL_J0654.4+4514_daily_bin605.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/959918/ft2_4FGL_J0654.4+4514_daily_bin605.fits
.....................!
real 14.00
user 11.47
sys 1.47

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/959918/ft1_filtered_4FGL_J0654.4+4514_daily_bin605.fits evtable="EVENTS" scfile=/scratch/kocevski/959918/ft2_4FGL_J0654.4+4514_daily_bin605.fits sctable="SC_DATA" expcube=/scratch/kocevski/959918/ltcube_396144001_396403201_4FGL_J0654.4+4514_daily_bin605.fits outfile=/scratch/kocevski/959918/expmap_396144001_396403201_4FGL_J0654.4+4514_daily_bin605.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/959918/ltcube_396144001_396403201_4FGL_J0654.4+4514_daily_bin605.fits
.....................!
real 194.69
user 186.19
sys 5.55

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
Extended source HB 9 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HB9.fits is the correct path to the extended template.
Added 174 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0654.4+4514 @ 103.606 45.2446

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/959918/ft1_filtered_4FGL_J0654.4+4514_daily_bin605.fits scfile=/scratch/kocevski/959918/ft2_4FGL_J0654.4+4514_daily_bin605.fits outfile=/scratch/kocevski/959918/cmap_396144001_396403201_4FGL_J0654.4+4514_daily_bin605.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=103.606 yref=45.2446 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 1.53
user 0.37
sys 1.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/959918/ft1_filtered_4FGL_J0654.4+4514_daily_bin605.fits scfile=/scratch/kocevski/959918/ft2_4FGL_J0654.4+4514_daily_bin605.fits outfile=/scratch/kocevski/959918/cmap_HighResolution_396144001_396403201_4FGL_J0654.4+4514_daily_bin605.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=103.606 yref=45.2446 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 1.56
user 0.40
sys 1.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/959918/ft1_filtered_4FGL_J0654.4+4514_daily_bin605.fits evtable="EVENTS" scfile=/scratch/kocevski/959918/ft2_4FGL_J0654.4+4514_daily_bin605.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/959918/Model_4FGL_J0654.4+4514_daily_bin605.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
adding source HB 9
Working on...
/scratch/kocevski/959918/ft1_filtered_4FGL_J0654.4+4514_daily_bin605.fits.....................!
real 170.38
user 167.32
sys 2.49

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/959918/ft1_filtered_4FGL_J0654.4+4514_daily_bin605.fits', '/scratch/kocevski/959918/ft2_4FGL_J0654.4+4514_daily_bin605.fits', expMap='/scratch/kocevski/959918/expmap_396144001_396403201_4FGL_J0654.4+4514_daily_bin605.fits', expCube='/scratch/kocevski/959918/ltcube_396144001_396403201_4FGL_J0654.4+4514_daily_bin605.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/959918/Model_4FGL_J0654.4+4514_daily_bin605.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0654.4+4514'

4FGL J0654.4+4514
   Spectrum: LogParabola
246         norm:  2.496e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
247        alpha:  2.183e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
248         beta:  8.026e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
249           Eb:  9.087e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/959918/ft1_filtered_4FGL_J0654.4+4514_daily_bin605.fits
Spacecraft file(s): /scratch/kocevski/959918/ft2_4FGL_J0654.4+4514_daily_bin605.fits
Exposure map: /scratch/kocevski/959918/expmap_396144001_396403201_4FGL_J0654.4+4514_daily_bin605.fits
Exposure cube: /scratch/kocevski/959918/ltcube_396144001_396403201_4FGL_J0654.4+4514_daily_bin605.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/959918/Model_4FGL_J0654.4+4514_daily_bin605.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) = 11134.2872354

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.4145       1.0000         .10000E-03   10000.    
     3 'norm      '    5.2826       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.0411       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.8768       1.0000         .10000E-03   10000.    
     9 'norm      '    11.543       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.4719       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.645       1.0000         .10000E-03   10000.    
    12 'norm      '    2.5090       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .62408       1.0000         .10000E-03   10000.    
    17 'norm      '    4.9990       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.9463       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .92283       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0185       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11134.23     FROM MIGRAD    STATUS=CONVERGED    416 CALLS     1760 TOTAL
                     EDM=   .93E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.3171         .0000    ** at limit **
   2  norm          1.4145        1.2378         .0000       -.22105E-03
   3  norm          5.2826        3.0179         .0000        .23544E-03
   4  Prefactor     6.0408        5.5150         .0000        .11697E-03
   5  Prefactor     .10000E-03    41.504         .0000    ** at limit **
   6  norm          .10000E-03    3.1512         .0000    ** at limit **
   7  norm          .10000E-03    1.2654         .0000    ** at limit **
   8  Prefactor     2.8759        34.085         .0000        .18992E-03
   9  norm          11.543        5.7604         .0000        .13759E-03
  10  Prefactor     2.4710        4.2609         .0000        .94450E-03
  11  Prefactor     15.644        15.347         .0000        .14133E-03
  12  norm          2.5094        5.2498         .0000        .12987E-01
  13  Prefactor     .10000E-03    14.798         .0000    ** at limit **
  14  Prefactor     .10000E-03    8.1429         .0000    ** at limit **
  15  Prefactor     .10000E-03    3.9236         .0000    ** at limit **
  16  Prefactor     .62011        7.5290         .0000        .37156E-03
  17  norm          4.9992        2.4980         .0000       -.21289E-04
  18  Prefactor     1.9502        12.804         .0000        .43715E-03
  19  Normalizat    .92291        .17777         .0000        .46701E-04
  20  Prefactor     1.0185        .74001E-01     .0000       -.13353E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.41447
  norm       = 5.2826
  Prefactor  = 6.04083
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.87589
  norm       = 11.5429
  Prefactor  = 2.47102
  Prefactor  = 15.6441
  norm       = 2.50943
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.620109
  norm       = 4.99918
  Prefactor  = 1.95022
  Normalizat = 0.922913
  Prefactor  = 1.01846
 **********
 **   18 **HESSE 
 **********

 FCN=   11134.23     FROM HESSE     STATUS=OK           299 CALLS     2059 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.3185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.4145        1.2432        .10698E-03   -1.5470    
   3  norm          5.2826        3.0254        .13351E-03   -1.5248    
   4  Prefactor     6.0408        5.5144        .16336E-03   -1.5216    
   5  Prefactor     .10000E-03    41.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.2095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.2761        .11586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.8759        34.112        .23964E-03   -1.5369    
   9  norm          11.543        5.7359        .11791E-03   -1.5028    
  10  Prefactor     2.4710        4.2189        .26007E-03   -1.5394    
  11  Prefactor     15.644        15.345        .10126E-03   -1.4917    
  12  norm          2.5094        5.2197        .12898E-02   -1.5391    
  13  Prefactor     .10000E-03    15.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.1508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.9401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .62011        40.325        .54229E-02   -1.5550    
  17  norm          4.9992        2.4978        .11458E-03   -1.5261    
  18  Prefactor     1.9502        12.505        .29752E-03   -1.5429    
  19  Normalizat    .92291        .19749        .38665E-03   -.95660    
  20  Prefactor     1.0185        .83084E-01    .15843E-03   -.92117    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.74449e-10
Minuit parameter uncertainties:
  1  1.50613e-06
  2  1.24327
  3  3.02551
  4  5.51491
  5  5.78236e-06
  6  1.42696e-06
  7  5.66427e-07
  8  19.8231
  9  5.73616
  10  4.21942
  11  15.3493
  12  5.22061
  13  7.09024e-06
  14  3.87253e-06
  15  1.47354e-06
  16  10.0075
  17  2.4979
  18  9.87964
  19  0.197647
  20  0.0830942
Done.

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

Extracting fit parameters...

4FGL J0654.4+4514
   Spectrum: LogParabola
246         norm:  1.000e-04  5.664e-07  1.000e-04  1.000e+04 ( 1.000e-12)
247        alpha:  2.183e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
248         beta:  8.026e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
249           Eb:  9.087e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
572    Prefactor:  1.018e+00  8.309e-02  0.000e+00  1.000e+01 ( 1.000e+00)
573        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
574        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
571   Normalization:  9.229e-01  1.976e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 103.606 45.245
Photon Flux Upper Limit: 4.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.14e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/959918/likelihoodResults_396144001_396403201_4FGL_J0654.4+4514_daily_bin605.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) = 11134.2347197
delta logL = -0.00372945138952

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11134.2309803
delta logL = 9.91911656456e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1330       1.0000          .0000       5.0000    
     3 'Normalizat'    .92293       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0185       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11134.23     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      258 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .15875        .38344E-01** at limit **
   2  alpha         3.1319        3.9481        .42957        .96445E-06
   3  Normalizat    .92291        .28650E-02    .87314E-01    .82110E-04
   4  Prefactor     1.0185        .12334E-02    .42297E-01   -.12024E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 3.13193
  Normalizat = 0.922911
  Prefactor  = 1.01846
 **********
 **   18 **HESSE 
 **********

 FCN=   11134.23     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      293 TOTAL
                     EDM=   .71E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    79.940        .13839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.1319        4.0616        .50000        .25554    
   3  Normalizat    .92291        .34843E-01    .38665E-03   -.95660    
   4  Prefactor     1.0185        .15035E-01    .15843E-03   -.92117    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.0936e-08
Minuit parameter uncertainties:
  1  0.000105318
  2  718.919
  3  0.0348436
  4  0.0150354
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/959918': 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) = 11134.2309803
delta logL = 9.94656329567e-06

Extracting fit parameters...

4FGL J0654.4+4514
   Spectrum: LogParabola
246         norm:  1.000e-04  1.053e-04  1.000e-04  1.000e+04 ( 1.000e-12)
247        alpha:  3.132e+00  7.189e+02  0.000e+00  5.000e+00 ( 1.000e+00)
248         beta:  8.026e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
249           Eb:  9.087e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
572    Prefactor:  1.018e+00  1.504e-02  0.000e+00  1.000e+01 ( 1.000e+00)
573        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
574        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
571   Normalization:  9.229e-01  3.484e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 103.606 45.245

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/959918/cmap_HighResolution_396144001_396403201_4FGL_J0654.4+4514_daily_bin605.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.14e-05', job_status='DONE', photon_flux_upper_limit='4.88e-08', time_completed='2021-08-26 10:21:44.484352', job_id='959918', GAL2='1.02', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1629998504.48', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='9.95e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='605' AND source_name='4FGL J0654.4+4514' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 10:21:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 959918: <4FGL_J0654.4+4514_daily_bin605> in cluster <slac> Done

Job <4FGL_J0654.4+4514_daily_bin605> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Aug 26 10:05:48 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 10:05:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 26 10:05:49 2021
Terminated at Thu Aug 26 10:21:45 2021
Results reported at Thu Aug 26 10:21:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0654.4+4514_daily_bin605 103.606 45.2446 396144001 396403201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0654.4+4514 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   893.44 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             357.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   956 sec.
    Turnaround time :                            957 sec.

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

