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


Performing analysis on: 4FGL_J0929.3+5014_daily_bin1214
RA = 142.327, Dec = 50.2352
tmin = 553996801, tmax = 554256001
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='246177', job_status='RUN', time_executed='2021-08-31 12:38:47.299031', time_epoch_executed='1630438727.3' WHERE source_name='4FGL J0929.3+5014' and cadence='daily' and bin_id='1214'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/246177

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/246177/ft1_4FGL_J0929.3+5014_daily_bin1214.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/246177/ft2_4FGL_J0929.3+5014_daily_bin1214.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/246177/ft1_4FGL_J0929.3+5014_daily_bin1214.fits outfile=/scratch/kocevski/246177/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin1214.fits ra=142.327 dec=50.2352 rad=12.0 tmin=553996801.0 tmax=554256001.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.64
user 2.43
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/246177/ft2_4FGL_J0929.3+5014_daily_bin1214.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/246177/ft2_4FGL_J0929.3+5014_daily_bin1214.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/246177/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin1214.fits evtable="EVENTS" outfile="/scratch/kocevski/246177/ft1_filtered_4FGL_J0929.3+5014_daily_bin1214.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/246177/ft1_filtered_4FGL_J0929.3+5014_daily_bin1214.fits" evtable="EVENTS" scfile=/scratch/kocevski/246177/ft2_4FGL_J0929.3+5014_daily_bin1214.fits sctable="SC_DATA" outfile=/scratch/kocevski/246177/ltcube_553996801_554256001_4FGL_J0929.3+5014_daily_bin1214.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/246177/ft2_4FGL_J0929.3+5014_daily_bin1214.fits
.....................!
real 13.48
user 13.06
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/246177/ft1_filtered_4FGL_J0929.3+5014_daily_bin1214.fits evtable="EVENTS" scfile=/scratch/kocevski/246177/ft2_4FGL_J0929.3+5014_daily_bin1214.fits sctable="SC_DATA" expcube=/scratch/kocevski/246177/ltcube_553996801_554256001_4FGL_J0929.3+5014_daily_bin1214.fits outfile=/scratch/kocevski/246177/expmap_553996801_554256001_4FGL_J0929.3+5014_daily_bin1214.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/246177/ltcube_553996801_554256001_4FGL_J0929.3+5014_daily_bin1214.fits
.....................!
real 192.31
user 186.70
sys 5.05

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

Setting source of interest to:
4FGL J0929.3+5014 @ 142.327 50.2352

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/246177/ft1_filtered_4FGL_J0929.3+5014_daily_bin1214.fits scfile=/scratch/kocevski/246177/ft2_4FGL_J0929.3+5014_daily_bin1214.fits outfile=/scratch/kocevski/246177/cmap_553996801_554256001_4FGL_J0929.3+5014_daily_bin1214.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=142.327 yref=50.2352 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/246177/ft1_filtered_4FGL_J0929.3+5014_daily_bin1214.fits scfile=/scratch/kocevski/246177/ft2_4FGL_J0929.3+5014_daily_bin1214.fits outfile=/scratch/kocevski/246177/cmap_HighResolution_553996801_554256001_4FGL_J0929.3+5014_daily_bin1214.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=142.327 yref=50.2352 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/246177/ft1_filtered_4FGL_J0929.3+5014_daily_bin1214.fits evtable="EVENTS" scfile=/scratch/kocevski/246177/ft2_4FGL_J0929.3+5014_daily_bin1214.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/246177/Model_4FGL_J0929.3+5014_daily_bin1214.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/246177/ft1_filtered_4FGL_J0929.3+5014_daily_bin1214.fits.....................!
real 34.10
user 32.77
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/246177/ft1_filtered_4FGL_J0929.3+5014_daily_bin1214.fits', '/scratch/kocevski/246177/ft2_4FGL_J0929.3+5014_daily_bin1214.fits', expMap='/scratch/kocevski/246177/expmap_553996801_554256001_4FGL_J0929.3+5014_daily_bin1214.fits', expCube='/scratch/kocevski/246177/ltcube_553996801_554256001_4FGL_J0929.3+5014_daily_bin1214.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/246177/Model_4FGL_J0929.3+5014_daily_bin1214.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0929.3+5014'

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  5.632e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
367        Index:  2.125e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
368        Scale:  1.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/246177/ft1_filtered_4FGL_J0929.3+5014_daily_bin1214.fits
Spacecraft file(s): /scratch/kocevski/246177/ft2_4FGL_J0929.3+5014_daily_bin1214.fits
Exposure map: /scratch/kocevski/246177/expmap_553996801_554256001_4FGL_J0929.3+5014_daily_bin1214.fits
Exposure cube: /scratch/kocevski/246177/ltcube_553996801_554256001_4FGL_J0929.3+5014_daily_bin1214.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/246177/Model_4FGL_J0929.3+5014_daily_bin1214.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) = 2773.2451666

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.442       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.288       1.0000         .10000E-03   10000.    
     4 'norm      '    .10222E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    32.448       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.2344       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .16063E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .71173E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10166E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.0426       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .23463       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.213       1.0000         .10000E-03   10000.    
    15 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.641       1.0000         .10000E-03   10000.    
    21 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.4190       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    2.4092       1.0000         .10000E-03   10000.    
    29 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    92.696       1.0000         .10000E-03   10000.    
    32 'norm      '    16.481       1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    .64924       1.0000         .10000E-01   10.000    
    35 'Prefactor '    1.3180       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2773.240     FROM MIGRAD    STATUS=CONVERGED    948 CALLS     6042 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.445        18.940        .32449E-07    .80389E-04
   2  Prefactor     .10000E-03    57.720        .42336E-06** at limit **
   3  Prefactor     17.286        16.983       -.58729E-07    .20324E-03
   4  norm          .10000E-03    18.159        .19371E-06** at limit **
   5  norm          32.444        22.267       -.41281E-06    .53769E-03
   6  Prefactor     8.2218        34.416       -.66700E-06    .72694E-04
   7  Prefactor     .10000E-03    5.4537       -.22399E-06** at limit **
   8  Prefactor     .10001E-03    409.47       -.67134E-05** at limit **
   9  Prefactor     .10000E-03    95.407        .98506E-06** at limit **
  10  Prefactor     .10000E-03    112.73       -.63027E-06** at limit **
  11  Prefactor     8.0432        9.5948       -.23457E-06   -.44703E-04
  12  Prefactor     .10000E-03    51.694       -.38786E-06** at limit **
  13  norm          .23411        3.3642        .41038E-05   -.34870E-04
  14  Prefactor     12.221        14.729       -.46038E-05   -.95210E-04
  15  norm          .10000E-03    14.546       -.76413E-07** at limit **
  16  Prefactor     .10000E-03    4.3052        .46077E-07** at limit **
  17  Prefactor     .10000E-03    7.5097       -.33710E-07** at limit **
  18  Prefactor     .10000E-03    2.7558        .37726E-07** at limit **
  19  Prefactor     .10000E-03    15.856       -.52218E-07** at limit **
  20  Prefactor     10.641        16.954        .21542E-06   -.12219E-03
  21  norm          .10000E-03    11.827        .10457E-06** at limit **
  22  Prefactor     .10000E-03    23.218        .56392E-07** at limit **
  23  Prefactor     4.4181        12.495        .32112E-07   -.52774E-04
  24  Prefactor     .10000E-03    4.1251        .45428E-07** at limit **
  25  norm          .10000E-03    7.5556        .11209E-06** at limit **
  26  Prefactor     .10000E-03    21.339        .16542E-06** at limit **
  27  Prefactor     .10000E-03    24.577       -.11395E-06** at limit **
  28  norm          2.4093        .89756       -.27287E-08    .25776E-03
  29  norm          .10000E-03    12.354        .14826E-06** at limit **
  30  Prefactor     .10000E-03    3.6946        .52895E-07** at limit **
  31  Prefactor     92.647        103.60       -.85877E-06   -.11330E-03
  32  norm          16.483        5.9663        .13412E-07    .90524E-04
  33  Prefactor     .10000E-03    23.243        .10039E-06** at limit **
  34  Normalizat    .64861        .28589        .18557E-05    .16806E-03
  35  Prefactor     1.3187        .31585       -.17792E-05    .28597E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.4454
  Prefactor  = 0.0001
  Prefactor  = 17.2863
  norm       = 0.0001
  norm       = 32.4442
  Prefactor  = 8.2218
  Prefactor  = 0.000100004
  Prefactor  = 0.000100014
  Prefactor  = 0.000100003
  Prefactor  = 0.000100001
  Prefactor  = 8.04323
  Prefactor  = 0.0001
  norm       = 0.234111
  Prefactor  = 12.2214
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.6413
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.41813
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.40926
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 92.6473
  norm       = 16.4829
  Prefactor  = 0.0001
  Normalizat = 0.648612
  Prefactor  = 1.31868
 **********
 **   18 **HESSE 
 **********

 FCN=   2773.240     FROM HESSE     STATUS=OK           756 CALLS     6798 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.445        18.933        .95899E-04   -1.4872    
   2  Prefactor     .10000E-03    57.812        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.286        16.976        .96325E-04   -1.4876    
   4  norm          .10000E-03    18.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          32.444        22.149        .70344E-04   -1.4568    
   6  Prefactor     8.2218        34.409        .13971E-03   -1.5134    
   7  Prefactor     .10000E-03    10.878        .23692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    415.98        .41940E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    95.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    112.77        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.0432        9.5956        .14138E-03   -1.5141    
  12  Prefactor     .10000E-03    51.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .23411        3.4331        .10589E-03   -1.5611    
  14  Prefactor     12.221        14.807        .11463E-03   -1.5009    
  15  norm          .10000E-03    14.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.3294        .10660E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.5178        .14095E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.7721        .85357E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    15.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.641        16.910        .61413E-03   -1.5055    
  21  norm          .10000E-03    11.830        .17692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    23.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.4181        12.449        .19157E-03   -1.5288    
  24  Prefactor     .10000E-03    4.1321        .10445E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    7.5674        .14137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    21.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    24.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          2.4093        .89764        .29126E-04   -1.5398    
  29  norm          .10000E-03    12.378        .18081E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    3.7053        .98822E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     92.647        104.62        .20870E-03   -1.3780    
  32  norm          16.483        5.9772        .73793E-04   -1.4896    
  33  Prefactor     .10000E-03    23.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    .64861        .32643        .32291E-03   -1.0596    
  35  Prefactor     1.3187        .36368        .27253E-03   -.82753    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35089e-09
Minuit parameter uncertainties:
  1  18.9392
  2  0.000220367
  3  16.9809
  4  4.20011e-05
  5  22.1544
  6  33.6723
  7  0.000425883
  8  0.00494075
  9  0.00103386
  10  0.000678676
  11  9.59743
  12  0.000297707
  13  1.79276
  14  14.8116
  15  3.69723e-05
  16  4.57252e-06
  17  1.56358e-05
  18  7.54299e-08
  19  5.48597e-05
  20  16.9173
  21  3.69084e-05
  22  5.66137e-05
  23  12.456
  24  2.52843e-06
  25  1.12957e-05
  26  0.000115991
  27  0.000115299
  28  0.897648
  29  5.9771e-05
  30  5.38608e-06
  31  104.831
  32  5.97742
  33  2.66336e-05
  34  0.327404
  35  0.364381
Done.

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

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  1.000e-04  1.564e-05  1.000e-04  1.000e+04 ( 1.000e-13)
367        Index:  2.125e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
368        Scale:  1.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  1.319e+00  3.644e-01  0.000e+00  1.000e+01 ( 1.000e+00)
715        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
716        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
713   Normalization:  6.486e-01  3.274e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 142.327 50.235
Photon Flux Upper Limit: 9.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/246177/likelihoodResults_553996801_554256001_4FGL_J0929.3+5014_daily_bin1214.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2773.24097962
delta logL = -0.000622157575435

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2773.24035744
delta logL = 2.3593656806e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1147       1.0000          .0000       10.000    
     3 'Normalizat'    .64860       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3187       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7170E+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=   2773.240     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      245 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10142E-03    203.46        .14161E-02** at limit **
   2  Index         2.0257        5.5359        .50000        .92397E-05
   3  Normalizat    .64861        .35990E-01    .32291E-03    .17604E-05
   4  Prefactor     1.3187        .42121E-01    .27253E-03    .32120E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101421
  Index      = 2.02571
  Normalizat = 0.648613
  Prefactor  = 1.31868
 **********
 **   18 **HESSE 
 **********

 FCN=   2773.240     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .76E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10142E-03    764.44        .28322E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0257        6.9228        .50000       -.63709    
   3  Normalizat    .64861        .78493E-01    .12916E-04   -1.0596    
   4  Prefactor     1.3187        .91794E-01    .10901E-04   -.82753    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.58127e-08
Minuit parameter uncertainties:
  1  0.0667919
  2  1930
  3  0.0785067
  4  0.0918054
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/246177': 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) = 2773.2403573
delta logL = 1.68276983459e-07

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  1.014e-04  6.679e-02  1.000e-04  1.000e+04 ( 1.000e-13)
367        Index:  2.026e+00  1.930e+03  0.000e+00  1.000e+01 (-1.000e+00)
368        Scale:  1.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  1.319e+00  9.181e-02  0.000e+00  1.000e+01 ( 1.000e+00)
715        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
716        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
713   Normalization:  6.486e-01  7.851e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 142.327 50.235

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/246177/cmap_HighResolution_553996801_554256001_4FGL_J0929.3+5014_daily_bin1214.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.40e-03', job_status='DONE', photon_flux_upper_limit='9.77e-08', time_completed='2021-08-31 12:51:13.763783', job_id='246177', GAL2='1.32', fit_tolerance='1e-08', EG2='0.65', EG='0.65', time_epoch_completed='1630439473.76', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.32', dlogl='1.68e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1214' AND source_name='4FGL J0929.3+5014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:51:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 246177: <4FGL_J0929.3+5014_daily_bin1214> in cluster <slac> Done

Job <4FGL_J0929.3+5014_daily_bin1214> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 12:35:33 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 12:35:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 12:35:34 2021
Terminated at Tue Aug 31 12:51:14 2021
Results reported at Tue Aug 31 12:51:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0929.3+5014_daily_bin1214 142.327 50.2352 553996801 554256001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0929.3+5014 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   741.02 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             281.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   940 sec.
    Turnaround time :                            941 sec.

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

