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


Performing analysis on: 4FGL_J1028.4-0234_daily_bin1304
RA = 157.121, Dec = -2.5829
tmin = 577324801, tmax = 577584001
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='910510', job_status='RUN', time_executed='2021-09-01 23:39:58.056814', time_epoch_executed='1630564798.06' WHERE source_name='4FGL J1028.4-0234' and cadence='daily' and bin_id='1304'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/910510

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/910510/ft1_4FGL_J1028.4-0234_daily_bin1304.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/910510/ft2_4FGL_J1028.4-0234_daily_bin1304.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/910510/ft1_4FGL_J1028.4-0234_daily_bin1304.fits outfile=/scratch/kocevski/910510/ft1_filteredMKT_4FGL_J1028.4-0234_daily_bin1304.fits ra=157.121 dec=-2.5829 rad=12.0 tmin=577324801.0 tmax=577584001.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 3.05
user 2.85
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/910510/ft2_4FGL_J1028.4-0234_daily_bin1304.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/910510/ft2_4FGL_J1028.4-0234_daily_bin1304.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/910510/ft1_filteredMKT_4FGL_J1028.4-0234_daily_bin1304.fits evtable="EVENTS" outfile="/scratch/kocevski/910510/ft1_filtered_4FGL_J1028.4-0234_daily_bin1304.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.50
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/910510/ft1_filtered_4FGL_J1028.4-0234_daily_bin1304.fits" evtable="EVENTS" scfile=/scratch/kocevski/910510/ft2_4FGL_J1028.4-0234_daily_bin1304.fits sctable="SC_DATA" outfile=/scratch/kocevski/910510/ltcube_577324801_577584001_4FGL_J1028.4-0234_daily_bin1304.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/910510/ft2_4FGL_J1028.4-0234_daily_bin1304.fits
.....................!
real 17.17
user 16.76
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/910510/ft1_filtered_4FGL_J1028.4-0234_daily_bin1304.fits evtable="EVENTS" scfile=/scratch/kocevski/910510/ft2_4FGL_J1028.4-0234_daily_bin1304.fits sctable="SC_DATA" expcube=/scratch/kocevski/910510/ltcube_577324801_577584001_4FGL_J1028.4-0234_daily_bin1304.fits outfile=/scratch/kocevski/910510/expmap_577324801_577584001_4FGL_J1028.4-0234_daily_bin1304.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/910510/ltcube_577324801_577584001_4FGL_J1028.4-0234_daily_bin1304.fits
.....................!
real 190.65
user 186.16
sys 4.01

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

Setting source of interest to:
4FGL J1028.4-0234 @ 157.121 -2.5829

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/910510/ft1_filtered_4FGL_J1028.4-0234_daily_bin1304.fits scfile=/scratch/kocevski/910510/ft2_4FGL_J1028.4-0234_daily_bin1304.fits outfile=/scratch/kocevski/910510/cmap_577324801_577584001_4FGL_J1028.4-0234_daily_bin1304.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=157.121 yref=-2.5829 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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/910510/ft1_filtered_4FGL_J1028.4-0234_daily_bin1304.fits scfile=/scratch/kocevski/910510/ft2_4FGL_J1028.4-0234_daily_bin1304.fits outfile=/scratch/kocevski/910510/cmap_HighResolution_577324801_577584001_4FGL_J1028.4-0234_daily_bin1304.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=157.121 yref=-2.5829 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/910510/ft1_filtered_4FGL_J1028.4-0234_daily_bin1304.fits evtable="EVENTS" scfile=/scratch/kocevski/910510/ft2_4FGL_J1028.4-0234_daily_bin1304.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/910510/Model_4FGL_J1028.4-0234_daily_bin1304.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/910510/ft1_filtered_4FGL_J1028.4-0234_daily_bin1304.fits.....................!
real 45.91
user 44.70
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/910510/ft1_filtered_4FGL_J1028.4-0234_daily_bin1304.fits', '/scratch/kocevski/910510/ft2_4FGL_J1028.4-0234_daily_bin1304.fits', expMap='/scratch/kocevski/910510/expmap_577324801_577584001_4FGL_J1028.4-0234_daily_bin1304.fits', expCube='/scratch/kocevski/910510/ltcube_577324801_577584001_4FGL_J1028.4-0234_daily_bin1304.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/910510/Model_4FGL_J1028.4-0234_daily_bin1304.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1028.4-0234'

4FGL J1028.4-0234
   Spectrum: PowerLaw
235    Prefactor:  1.582e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        Index:  2.613e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
237        Scale:  6.037e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/910510/ft1_filtered_4FGL_J1028.4-0234_daily_bin1304.fits
Spacecraft file(s): /scratch/kocevski/910510/ft2_4FGL_J1028.4-0234_daily_bin1304.fits
Exposure map: /scratch/kocevski/910510/expmap_577324801_577584001_4FGL_J1028.4-0234_daily_bin1304.fits
Exposure cube: /scratch/kocevski/910510/ltcube_577324801_577584001_4FGL_J1028.4-0234_daily_bin1304.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/910510/Model_4FGL_J1028.4-0234_daily_bin1304.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) = 4066.30235749

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10384E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.5674       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.8475       1.0000         .10000E-03   10000.    
     4 'Prefactor '    62.811       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    20.585       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.334       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .61351E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .56340E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.0028       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.9783       1.0000         .10000E-03   10000.    
    15 'norm      '    1.3212       1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10987E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1151       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .89365       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4066.290     FROM MIGRAD    STATUS=CONVERGED    410 CALLS     1937 TOTAL
                     EDM=   .66E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .40639        .14239E-06** at limit **
   2  norm          4.5671        2.3655        .30770E-07   -.17666E-04
   3  Prefactor     5.8492        11.751        .40880E-05   -.52219E-04
   4  Prefactor     62.844        57.476       -.67842E-07    .42861E-04
   5  Prefactor     .10000E-03    73.655        .24502E-05** at limit **
   6  norm          20.589        21.191       -.10468E-05   -.44313E-05
   7  Prefactor     .10000E-03    5.7006       -.44992E-06** at limit **
   8  Prefactor     25.281        58.445       -.96595E-06   -.71898E-04
   9  Prefactor     .10000E-03    30.516       -.80154E-06** at limit **
  10  Prefactor     .10000E-03    13.099       -.61940E-06** at limit **
  11  norm          .62904E-01    .98501       -.36947E-08    .19811E-03
  12  Prefactor     .10000E-03    4.5941        .34748E-06** at limit **
  13  Prefactor     7.0058        5.9741        .14235E-06   -.14236E-04
  14  Prefactor     7.9665        18.321        .46688E-06   -.98441E-05
  15  norm          1.3219        .98376        .64218E-07   -.66910E-04
  16  norm          .10000E-03    5.5151        .13229E-07** at limit **
  17  Prefactor     .10000E-03    31.119        .16497E-06** at limit **
  18  Normalizat    1.1146        .25747       -.66679E-06   -.11264E-03
  19  Prefactor     .89421        .18118       -.88749E-06   -.11175E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 4.5671
  Prefactor  = 5.8492
  Prefactor  = 62.8437
  Prefactor  = 0.0001
  norm       = 20.5894
  Prefactor  = 0.0001
  Prefactor  = 25.2807
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.062904
  Prefactor  = 0.0001
  Prefactor  = 7.00577
  Prefactor  = 7.96655
  norm       = 1.32192
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.11456
  Prefactor  = 0.894207
 **********
 **   18 **HESSE 
 **********

 FCN=   4066.290     FROM HESSE     STATUS=OK           272 CALLS     2209 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.1991        .76714E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.5671        2.3666        .68603E-04   -1.5281    
   3  Prefactor     5.8492        11.699        .83039E-03   -1.5224    
   4  Prefactor     62.844        57.629        .50632E-04   -1.4121    
   5  Prefactor     .10000E-03    74.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          20.589        21.145        .88280E-04   -1.4800    
   7  Prefactor     .10000E-03    5.7103        .14861E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     25.281        58.751        .79588E-04   -1.4702    
   9  Prefactor     .10000E-03    30.522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    13.140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .62904E-01    11.014        .11874E-02   -1.5658    
  12  Prefactor     .10000E-03    14.803        .26201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.0058        5.9460        .12759E-03   -1.5179    
  14  Prefactor     7.9665        18.122        .14195E-03   -1.5143    
  15  norm          1.3219        .96999        .49582E-04   -1.5478    
  16  norm          .10000E-03    5.5179        .14626E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    31.362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1146        .30641        .27311E-03   -.89286    
  19  Prefactor     .89421        .21629        .22612E-03   -.96344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.5725e-10
Minuit parameter uncertainties:
  1  2.77246e-05
  2  2.36661
  3  11.7034
  4  57.6798
  5  8.12765e-05
  6  21.1527
  7  1.18096e-06
  8  58.886
  9  2.32528e-05
  10  1.6524e-05
  11  1.66373
  12  4.12813e-05
  13  5.94651
  14  18.1343
  15  0.970006
  16  2.13342e-06
  17  9.52507e-06
  18  0.306905
  19  0.216498
Done.

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

Extracting fit parameters...

4FGL J1028.4-0234
   Spectrum: PowerLaw
235    Prefactor:  1.000e-04  4.128e-05  1.000e-04  1.000e+04 ( 1.000e-12)
236        Index:  2.613e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
237        Scale:  6.037e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  8.942e-01  2.165e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.115e+00  3.069e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 157.121 -2.583
Photon Flux Upper Limit: 1.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.37e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/910510/likelihoodResults_577324801_577584001_4FGL_J1028.4-0234_daily_bin1304.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) = 4066.29031522
delta logL = -0.000321272619658

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4066.28999403
delta logL = -8.16849023977e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6096       1.0000          .0000       10.000    
     3 'Normalizat'    1.1145       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89429       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4066.290     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      230 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.1207        .52784E-01** at limit **
   2  Index         2.6061        6.0356        .50000        .19229E-05
   3  Normalizat    1.1146        .26763E-02    .61746E-01    .31162E-04
   4  Prefactor     .89421        .20183E-02    .44932E-01    .35748E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.60607
  Normalizat = 1.11456
  Prefactor  = 0.894207
 **********
 **   18 **HESSE 
 **********

 FCN=   4066.290     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      265 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    126.35        .30254E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6061        5.9289        .50000       -.49927    
   3  Normalizat    1.1146        .18112E-01    .27311E-03   -.89286    
   4  Prefactor     .89421        .13667E-01    .22612E-03   -.96344    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.95859e-08
Minuit parameter uncertainties:
  1  0.000304666
  2  415.987
  3  0.0181124
  4  0.0136672
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/910510': 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) = 4066.28999394
delta logL = 3.5415723687e-09

Extracting fit parameters...

4FGL J1028.4-0234
   Spectrum: PowerLaw
235    Prefactor:  1.000e-04  3.047e-04  1.000e-04  1.000e+04 ( 1.000e-12)
236        Index:  2.606e+00  4.160e+02  0.000e+00  1.000e+01 (-1.000e+00)
237        Scale:  6.037e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  8.942e-01  1.367e-02  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.115e+00  1.811e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 157.121 -2.583

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/910510/cmap_HighResolution_577324801_577584001_4FGL_J1028.4-0234_daily_bin1304.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.37e-03', job_status='DONE', photon_flux_upper_limit='1.20e-07', time_completed='2021-09-01 23:48:09.390359', job_id='910510', GAL2='0.89', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1630565289.39', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.54e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1304' AND source_name='4FGL J1028.4-0234' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 23:48:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 910510: <4FGL_J1028.4-0234_daily_bin1304> in cluster <slac> Done

Job <4FGL_J1028.4-0234_daily_bin1304> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 23:36:17 2021
Job was executed on host(s) <bullet0169>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 23:36:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 23:36:42 2021
Terminated at Wed Sep  1 23:48:10 2021
Results reported at Wed Sep  1 23:48:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1028.4-0234_daily_bin1304 157.121 -2.5829 577324801 577584001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1028.4-0234 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   483.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   687 sec.
    Turnaround time :                            713 sec.

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

