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


Performing analysis on: 4FGL_J0610.1-1848_daily_bin1052
RA = 92.5455, Dec = -18.8076
tmin = 512006401, tmax = 512265601
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='140917', job_status='RUN', time_executed='2021-08-24 14:25:57.815139', time_epoch_executed='1629840357.82' WHERE source_name='4FGL J0610.1-1848' and cadence='daily' and bin_id='1052'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/140917

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/140917/ft1_4FGL_J0610.1-1848_daily_bin1052.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/140917/ft2_4FGL_J0610.1-1848_daily_bin1052.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/140917/ft1_4FGL_J0610.1-1848_daily_bin1052.fits outfile=/scratch/kocevski/140917/ft1_filteredMKT_4FGL_J0610.1-1848_daily_bin1052.fits ra=92.5455 dec=-18.8076 rad=12.0 tmin=512006401.0 tmax=512265601.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.50
user 3.27
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/140917/ft2_4FGL_J0610.1-1848_daily_bin1052.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/140917/ft2_4FGL_J0610.1-1848_daily_bin1052.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/140917/ft1_filteredMKT_4FGL_J0610.1-1848_daily_bin1052.fits evtable="EVENTS" outfile="/scratch/kocevski/140917/ft1_filtered_4FGL_J0610.1-1848_daily_bin1052.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/140917/ft1_filtered_4FGL_J0610.1-1848_daily_bin1052.fits" evtable="EVENTS" scfile=/scratch/kocevski/140917/ft2_4FGL_J0610.1-1848_daily_bin1052.fits sctable="SC_DATA" outfile=/scratch/kocevski/140917/ltcube_512006401_512265601_4FGL_J0610.1-1848_daily_bin1052.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/140917/ft2_4FGL_J0610.1-1848_daily_bin1052.fits
.....................!
real 11.95
user 11.59
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/140917/ft1_filtered_4FGL_J0610.1-1848_daily_bin1052.fits evtable="EVENTS" scfile=/scratch/kocevski/140917/ft2_4FGL_J0610.1-1848_daily_bin1052.fits sctable="SC_DATA" expcube=/scratch/kocevski/140917/ltcube_512006401_512265601_4FGL_J0610.1-1848_daily_bin1052.fits outfile=/scratch/kocevski/140917/expmap_512006401_512265601_4FGL_J0610.1-1848_daily_bin1052.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/140917/ltcube_512006401_512265601_4FGL_J0610.1-1848_daily_bin1052.fits
.....................!
real 189.25
user 184.89
sys 4.00

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

Setting source of interest to:
4FGL J0610.1-1848 @ 92.5455 -18.8076

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/140917/ft1_filtered_4FGL_J0610.1-1848_daily_bin1052.fits scfile=/scratch/kocevski/140917/ft2_4FGL_J0610.1-1848_daily_bin1052.fits outfile=/scratch/kocevski/140917/cmap_512006401_512265601_4FGL_J0610.1-1848_daily_bin1052.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=92.5455 yref=-18.8076 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.50
user 0.35
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/140917/ft1_filtered_4FGL_J0610.1-1848_daily_bin1052.fits scfile=/scratch/kocevski/140917/ft2_4FGL_J0610.1-1848_daily_bin1052.fits outfile=/scratch/kocevski/140917/cmap_HighResolution_512006401_512265601_4FGL_J0610.1-1848_daily_bin1052.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=92.5455 yref=-18.8076 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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/140917/ft1_filtered_4FGL_J0610.1-1848_daily_bin1052.fits evtable="EVENTS" scfile=/scratch/kocevski/140917/ft2_4FGL_J0610.1-1848_daily_bin1052.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/140917/Model_4FGL_J0610.1-1848_daily_bin1052.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/140917/ft1_filtered_4FGL_J0610.1-1848_daily_bin1052.fits.....................!
real 146.76
user 145.38
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/140917/ft1_filtered_4FGL_J0610.1-1848_daily_bin1052.fits', '/scratch/kocevski/140917/ft2_4FGL_J0610.1-1848_daily_bin1052.fits', expMap='/scratch/kocevski/140917/expmap_512006401_512265601_4FGL_J0610.1-1848_daily_bin1052.fits', expCube='/scratch/kocevski/140917/ltcube_512006401_512265601_4FGL_J0610.1-1848_daily_bin1052.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/140917/Model_4FGL_J0610.1-1848_daily_bin1052.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0610.1-1848'

4FGL J0610.1-1848
   Spectrum: PowerLaw
275    Prefactor:  3.661e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  2.343e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
277        Scale:  1.261e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/140917/ft1_filtered_4FGL_J0610.1-1848_daily_bin1052.fits
Spacecraft file(s): /scratch/kocevski/140917/ft2_4FGL_J0610.1-1848_daily_bin1052.fits
Exposure map: /scratch/kocevski/140917/expmap_512006401_512265601_4FGL_J0610.1-1848_daily_bin1052.fits
Exposure cube: /scratch/kocevski/140917/ltcube_512006401_512265601_4FGL_J0610.1-1848_daily_bin1052.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/140917/Model_4FGL_J0610.1-1848_daily_bin1052.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) = 9194.12502713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10073E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    34.925       1.0000         .10000E-03   10000.    
     3 'norm      '    4.4279       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.4289       1.0000         .10000E-03   10000.    
     5 'norm      '    14.303       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.5139       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .16179E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.2689       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.892       1.0000         .10000E-03   10000.    
    14 'Prefactor '    26.068       1.0000         .10000E-03   10000.    
    15 'norm      '    12.811       1.0000         .10000E-03   10000.    
    16 'norm      '    2.2521       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    12.114       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.7953       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2356       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0750       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9194.113     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2378 TOTAL
                     EDM=   .89E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.6948        .58821E-07** at limit **
   2  norm          34.924        36.589       -.38214E-06   -.65581E-05
   3  norm          4.4281        12.895        .54792E-06   -.60308E-04
   4  Prefactor     1.4260        15.473        .74694E-05   -.56070E-04
   5  norm          14.304        11.119       -.10539E-06   -.58431E-05
   6  Prefactor     4.5140        8.6613        .44007E-06   -.59845E-04
   7  Prefactor     .10000E-03    28.150       -.13809E-05** at limit **
   8  Prefactor     .10000E-03    6.1591       -.52994E-08** at limit **
   9  Prefactor     .10000E-03    32.232        .16923E-05** at limit **
  10  Prefactor     .10000E-03    165.55       -.12091E-05** at limit **
  11  norm          .10000E-03    11.233        .46903E-06** at limit **
  12  Prefactor     8.2679        15.212       -.11349E-06   -.25393E-04
  13  Prefactor     10.891        7.8376       -.20625E-05   -.57906E-04
  14  Prefactor     26.065        40.768       -.23958E-05   -.86846E-05
  15  norm          12.811        7.8798       -.41333E-06   -.38557E-04
  16  norm          2.2520        1.5931        .61981E-07    .16748E-04
  17  norm          .10000E-03    3.7648       -.36336E-07** at limit **
  18  Prefactor     .10000E-03    2.7899        .59423E-07** at limit **
  19  norm          12.115        11.321        .18623E-06   -.10225E-03
  20  Prefactor     3.7947        1.2958       -.13681E-06   -.16780E-02
  21  Normalizat    1.2357        .25510       -.92793E-06   -.81085E-04
  22  Prefactor     1.0750        .71410E-01    .42467E-08   -.17614E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 34.924
  norm       = 4.42809
  Prefactor  = 1.42595
  norm       = 14.3042
  Prefactor  = 4.51396
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.26787
  Prefactor  = 10.8914
  Prefactor  = 26.0646
  norm       = 12.8112
  norm       = 2.25201
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 12.1154
  Prefactor  = 3.79471
  Normalizat = 1.23571
  Prefactor  = 1.07505
 **********
 **   18 **HESSE 
 **********

 FCN=   9194.113     FROM HESSE     STATUS=OK           346 CALLS     2724 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.9350        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          34.924        36.598        .67811E-04   -1.4525    
   3  norm          4.4281        12.812        .19137E-03   -1.5287    
   4  Prefactor     1.4260        15.502        .36148E-03   -1.5469    
   5  norm          14.304        11.151        .10591E-03   -1.4951    
   6  Prefactor     4.5140        8.6380        .18950E-03   -1.5283    
   7  Prefactor     .10000E-03    28.172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.1633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    32.312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    169.99        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    11.465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.2679        15.202        .13942E-03   -1.5133    
  13  Prefactor     10.891        7.8493        .12139E-03   -1.5048    
  14  Prefactor     26.065        40.869        .78461E-04   -1.4686    
  15  norm          12.811        7.8769        .11191E-03   -1.4992    
  16  norm          2.2520        1.5944        .99097E-04   -1.5408    
  17  norm          .10000E-03    3.7701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.8092        .15636E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          12.115        11.979        .57547E-03   -1.5012    
  20  Prefactor     3.7947        5.1356        .10360E-02   -1.5318    
  21  Normalizat    1.2357        .26958        .49405E-03   -.85506    
  22  Prefactor     1.0750        .77159E-01    .15272E-03   -.90268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82926e-09
Minuit parameter uncertainties:
  1  1.88156e-06
  2  36.6219
  3  12.8196
  4  9.40613
  5  11.1524
  6  8.64038
  7  3.49146e-05
  8  1.96417e-05
  9  5.82289e-05
  10  8.22917e-05
  11  0.000146867
  12  15.2089
  13  7.85005
  14  40.9134
  15  7.87755
  16  1.59443
  17  3.57181e-06
  18  7.2825e-06
  19  11.9815
  20  5.13621
  21  0.269881
  22  0.0771665
Done.

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

Extracting fit parameters...

4FGL J0610.1-1848
   Spectrum: PowerLaw
275    Prefactor:  1.000e-04  1.964e-05  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  2.343e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
277        Scale:  1.261e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  1.075e+00  7.717e-02  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  1.236e+00  2.699e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 92.546 -18.808
Photon Flux Upper Limit: 8.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/140917/likelihoodResults_512006401_512265601_4FGL_J0610.1-1848_daily_bin1052.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) = 9194.11378423
delta logL = -0.000772104209318

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9194.11301202
delta logL = 1.02460035123e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3256       1.0000          .0000       10.000    
     3 'Normalizat'    1.2357       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0750       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+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=   9194.113     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      246 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10166E-03    72.104        .18142E-02** at limit **
   2  Index         2.2563        6.0412        .50000        .20675E-04
   3  Normalizat    1.2357        .25878E-01    .49405E-03   -.57988E-04
   4  Prefactor     1.0750        .75864E-02    .15272E-03   -.21588E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101657
  Index      = 2.25625
  Normalizat = 1.23571
  Prefactor  = 1.07505
 **********
 **   18 **HESSE 
 **********

 FCN=   9194.113     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      275 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10166E-03    300.74        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2563        5.6854        .50000       -.58087    
   3  Normalizat    1.2357        .55223E-01    .19762E-04   -.85506    
   4  Prefactor     1.0750        .16189E-01    .61088E-05   -.90268    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.41835e-08
Minuit parameter uncertainties:
  1  0.044871
  2  710.721
  3  0.0552252
  4  0.0161894
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/140917': 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) = 9194.11301178
delta logL = 3.44560248777e-07

Extracting fit parameters...

4FGL J0610.1-1848
   Spectrum: PowerLaw
275    Prefactor:  1.017e-04  4.487e-02  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  2.256e+00  7.107e+02  0.000e+00  1.000e+01 (-1.000e+00)
277        Scale:  1.261e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  1.075e+00  1.619e-02  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  1.236e+00  5.523e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 92.546 -18.808

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/140917/cmap_HighResolution_512006401_512265601_4FGL_J0610.1-1848_daily_bin1052.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.76e-03', job_status='DONE', photon_flux_upper_limit='8.78e-08', time_completed='2021-08-24 14:39:17.335741', job_id='140917', GAL2='1.08', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1629841157.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='3.45e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1052' AND source_name='4FGL J0610.1-1848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 14:39:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 140917: <4FGL_J0610.1-1848_daily_bin1052> in cluster <slac> Done

Job <4FGL_J0610.1-1848_daily_bin1052> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 24 14:25:41 2021
Job was executed on host(s) <bullet0199>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 14:25:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 24 14:25:43 2021
Terminated at Tue Aug 24 14:39:17 2021
Results reported at Tue Aug 24 14:39:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0610.1-1848_daily_bin1052 92.5455 -18.8076 512006401 512265601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0610.1-1848 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   793.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             352.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   814 sec.
    Turnaround time :                            816 sec.

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

