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


Performing analysis on: 4FGL_J1010.8-0158_daily_bin1036
RA = 152.704, Dec = -1.9817
tmin = 507859201, tmax = 508118401
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='706570', job_status='RUN', time_executed='2021-09-01 12:34:54.953513', time_epoch_executed='1630524894.95' WHERE source_name='4FGL J1010.8-0158' and cadence='daily' and bin_id='1036'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/706570

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/706570/ft1_4FGL_J1010.8-0158_daily_bin1036.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/706570/ft2_4FGL_J1010.8-0158_daily_bin1036.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/706570/ft1_4FGL_J1010.8-0158_daily_bin1036.fits outfile=/scratch/kocevski/706570/ft1_filteredMKT_4FGL_J1010.8-0158_daily_bin1036.fits ra=152.704 dec=-1.9817 rad=12.0 tmin=507859201.0 tmax=508118401.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.19
user 3.92
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/706570/ft2_4FGL_J1010.8-0158_daily_bin1036.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/706570/ft2_4FGL_J1010.8-0158_daily_bin1036.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/706570/ft1_filteredMKT_4FGL_J1010.8-0158_daily_bin1036.fits evtable="EVENTS" outfile="/scratch/kocevski/706570/ft1_filtered_4FGL_J1010.8-0158_daily_bin1036.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/706570/ft1_filtered_4FGL_J1010.8-0158_daily_bin1036.fits" evtable="EVENTS" scfile=/scratch/kocevski/706570/ft2_4FGL_J1010.8-0158_daily_bin1036.fits sctable="SC_DATA" outfile=/scratch/kocevski/706570/ltcube_507859201_508118401_4FGL_J1010.8-0158_daily_bin1036.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/706570/ft2_4FGL_J1010.8-0158_daily_bin1036.fits
.....................!
real 14.74
user 14.29
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/706570/ft1_filtered_4FGL_J1010.8-0158_daily_bin1036.fits evtable="EVENTS" scfile=/scratch/kocevski/706570/ft2_4FGL_J1010.8-0158_daily_bin1036.fits sctable="SC_DATA" expcube=/scratch/kocevski/706570/ltcube_507859201_508118401_4FGL_J1010.8-0158_daily_bin1036.fits outfile=/scratch/kocevski/706570/expmap_507859201_508118401_4FGL_J1010.8-0158_daily_bin1036.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/706570/ltcube_507859201_508118401_4FGL_J1010.8-0158_daily_bin1036.fits
.....................!
real 190.67
user 185.03
sys 5.25

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

Setting source of interest to:
4FGL J1010.8-0158 @ 152.704 -1.9817

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/706570/ft1_filtered_4FGL_J1010.8-0158_daily_bin1036.fits scfile=/scratch/kocevski/706570/ft2_4FGL_J1010.8-0158_daily_bin1036.fits outfile=/scratch/kocevski/706570/cmap_507859201_508118401_4FGL_J1010.8-0158_daily_bin1036.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=152.704 yref=-1.9817 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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/706570/ft1_filtered_4FGL_J1010.8-0158_daily_bin1036.fits scfile=/scratch/kocevski/706570/ft2_4FGL_J1010.8-0158_daily_bin1036.fits outfile=/scratch/kocevski/706570/cmap_HighResolution_507859201_508118401_4FGL_J1010.8-0158_daily_bin1036.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=152.704 yref=-1.9817 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/706570/ft1_filtered_4FGL_J1010.8-0158_daily_bin1036.fits evtable="EVENTS" scfile=/scratch/kocevski/706570/ft2_4FGL_J1010.8-0158_daily_bin1036.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/706570/Model_4FGL_J1010.8-0158_daily_bin1036.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/706570/ft1_filtered_4FGL_J1010.8-0158_daily_bin1036.fits....................!
real 56.98
user 55.26
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/706570/ft1_filtered_4FGL_J1010.8-0158_daily_bin1036.fits', '/scratch/kocevski/706570/ft2_4FGL_J1010.8-0158_daily_bin1036.fits', expMap='/scratch/kocevski/706570/expmap_507859201_508118401_4FGL_J1010.8-0158_daily_bin1036.fits', expCube='/scratch/kocevski/706570/ltcube_507859201_508118401_4FGL_J1010.8-0158_daily_bin1036.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/706570/Model_4FGL_J1010.8-0158_daily_bin1036.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1010.8-0158'

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  9.399e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
217        Index:  2.535e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
218        Scale:  7.428e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/706570/ft1_filtered_4FGL_J1010.8-0158_daily_bin1036.fits
Spacecraft file(s): /scratch/kocevski/706570/ft2_4FGL_J1010.8-0158_daily_bin1036.fits
Exposure map: /scratch/kocevski/706570/expmap_507859201_508118401_4FGL_J1010.8-0158_daily_bin1036.fits
Exposure cube: /scratch/kocevski/706570/ltcube_507859201_508118401_4FGL_J1010.8-0158_daily_bin1036.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/706570/Model_4FGL_J1010.8-0158_daily_bin1036.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) = 5418.85976874

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    56.831       1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.293       1.0000         .10000E-03   10000.    
     3 'norm      '    5.0997       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .46085       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.0683       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    10.958       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    46.790       1.0000         .10000E-03   10000.    
    12 'Prefactor '    32.970       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .78286E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.6361       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.6298       1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.034       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.936       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .94075       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0910       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5418.856     FROM MIGRAD    STATUS=CONVERGED    415 CALLS     1959 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     56.919        50.788       -.22821E-06   -.37471E-04
   2  Prefactor     17.302        19.507       -.10873E-06   -.46215E-04
   3  norm          5.0994        4.2629       -.40019E-06   -.44417E-04
   4  norm          .10000E-03    .26257       -.26314E-07** at limit **
   5  norm          .46070        1.4631        .82261E-06    .19107E-03
   6  Prefactor     4.0687        9.0825        .13302E-06    .11659E-04
   7  Prefactor     .10000E-03    17.222        .43937E-07** at limit **
   8  Prefactor     .10000E-03    17.540        .55428E-07** at limit **
   9  norm          10.967        16.080        .83072E-07   -.31972E-04
  10  Prefactor     .10000E-03    4.3037        .18112E-06** at limit **
  11  Prefactor     46.637        69.851       -.94381E-06   -.10539E-03
  12  Prefactor     32.949        53.935       -.12639E-05   -.10002E-03
  13  Prefactor     .10000E-03    45.417        .10926E-04** at limit **
  14  norm          4.6357        1.8363       -.47664E-08   -.10306E-03
  15  Prefactor     5.6242        7.1888        .13836E-06   -.17435E-04
  16  Prefactor     15.035        5.6858       -.24831E-07   -.57776E-04
  17  Prefactor     14.949        15.398        .49475E-07    .60845E-04
  18  Normalizat    .94090        .24207        .22363E-05   -.15908E-03
  19  Prefactor     1.0909        .17558       -.16719E-05   -.12542E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 56.9195
  Prefactor  = 17.3024
  norm       = 5.0994
  norm       = 0.0001
  norm       = 0.460699
  Prefactor  = 4.06872
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.9673
  Prefactor  = 0.0001
  Prefactor  = 46.6374
  Prefactor  = 32.9489
  Prefactor  = 0.0001
  norm       = 4.63573
  Prefactor  = 5.62424
  Prefactor  = 15.0352
  Prefactor  = 14.9492
  Normalizat = 0.940897
  Prefactor  = 1.09089
 **********
 **   18 **HESSE 
 **********

 FCN=   5418.856     FROM HESSE     STATUS=OK           274 CALLS     2233 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     56.919        50.828        .53213E-04   -1.4198    
   2  Prefactor     17.302        19.501        .96314E-04   -1.4876    
   3  norm          5.0994        4.2643        .67220E-03   -1.5256    
   4  norm          .10000E-03    .45518        .72623E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .46070        1.3888        .15526E-02   -1.5572    
   6  Prefactor     4.0687        9.0566        .19989E-03   -1.5305    
   7  Prefactor     .10000E-03    17.239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    17.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.967        16.058        .12103E-03   -1.5046    
  10  Prefactor     .10000E-03    4.3080        .14909E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     46.637        70.173        .58617E-04   -1.4341    
  12  Prefactor     32.949        54.254        .69786E-04   -1.4559    
  13  Prefactor     .10000E-03    45.850        .41830E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.6357        1.8350        .60157E-04   -1.5277    
  15  Prefactor     5.6242        7.1866        .16931E-03   -1.5234    
  16  Prefactor     15.035        5.6850        .10015E-03   -1.4932    
  17  Prefactor     14.949        15.425        .10364E-03   -1.4934    
  18  Normalizat    .94090        .27549        .30946E-03   -.95038    
  19  Prefactor     1.0909        .20089        .22114E-03   -.89758    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.46809e-10
Minuit parameter uncertainties:
  1  50.8665
  2  19.5085
  3  4.26455
  4  7.74253e-07
  5  1.38894
  6  9.05965
  7  2.6663e-06
  8  5.53869e-06
  9  16.0644
  10  5.53901e-07
  11  70.2979
  12  54.3352
  13  8.95756e-05
  14  1.835
  15  7.1877
  16  5.68516
  17  15.4291
  18  0.2759
  19  0.201024
Done.

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

Extracting fit parameters...

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  1.000e-04  2.666e-06  1.000e-04  1.000e+04 ( 1.000e-13)
217        Index:  2.535e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
218        Scale:  7.428e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.091e+00  2.010e-01  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  9.409e-01  2.759e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 152.704 -1.982
Photon Flux Upper Limit: 7.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/706570/likelihoodResults_507859201_508118401_4FGL_J1010.8-0158_daily_bin1036.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) = 5418.85614732
delta logL = -0.00027614512328

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5418.85587304
delta logL = -1.86264423974e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0824       1.0000          .0000       10.000    
     3 'Normalizat'    .94089       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0909       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+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=   5418.856     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      296 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    61.547        .18142E-01** at limit **
   2  Index         2.0755        7.4634        .50000        .26307E-07
   3  Normalizat    .94090        .98723E-02    .30945E-03    .10103E-03
   4  Prefactor     1.0909        .75851E-02    .22114E-03    .14897E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.07548
  Normalizat = 0.940901
  Prefactor  = 1.09088
 **********
 **   18 **HESSE 
 **********

 FCN=   5418.856     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      325 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    351.79        .31985E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0755        6.1685        .50000       -.62476    
   3  Normalizat    .94090        .24067E-01    .12378E-04   -.95037    
   4  Prefactor     1.0909        .18491E-01    .44229E-04   -.89758    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.47499e-10
Minuit parameter uncertainties:
  1  0.000896941
  2  1068.17
  3  0.0240672
  4  0.0184914
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/706570': 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) = 5418.8558708
delta logL = 3.78237018595e-07

Extracting fit parameters...

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  1.000e-04  8.969e-04  1.000e-04  1.000e+04 ( 1.000e-13)
217        Index:  2.075e+00  1.068e+03  0.000e+00  1.000e+01 (-1.000e+00)
218        Scale:  7.428e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.091e+00  1.849e-02  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  9.409e-01  2.407e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 152.704 -1.982

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/706570/cmap_HighResolution_507859201_508118401_4FGL_J1010.8-0158_daily_bin1036.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.97e-03', job_status='DONE', photon_flux_upper_limit='7.66e-08', time_completed='2021-09-01 12:43:47.969756', job_id='706570', GAL2='1.09', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1630525427.97', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='3.78e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1036' AND source_name='4FGL J1010.8-0158' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:43:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 706570: <4FGL_J1010.8-0158_daily_bin1036> in cluster <slac> Done

Job <4FGL_J1010.8-0158_daily_bin1036> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 12:30:46 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:30:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 12:30:47 2021
Terminated at Wed Sep  1 12:43:48 2021
Results reported at Wed Sep  1 12:43:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1010.8-0158_daily_bin1036 152.704 -1.9817 507859201 508118401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1010.8-0158 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   531.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             220.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            782 sec.

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

