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


Performing analysis on: 4FGL_J0610.1-1848_daily_bin1032
RA = 92.5455, Dec = -18.8076
tmin = 506822401, tmax = 507081601
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='140888', job_status='RUN', time_executed='2021-08-24 14:26:22.623056', time_epoch_executed='1629840382.62' WHERE source_name='4FGL J0610.1-1848' and cadence='daily' and bin_id='1032'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/140888

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/140888/ft1_4FGL_J0610.1-1848_daily_bin1032.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/140888/ft2_4FGL_J0610.1-1848_daily_bin1032.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/140888/ft1_4FGL_J0610.1-1848_daily_bin1032.fits outfile=/scratch/kocevski/140888/ft1_filteredMKT_4FGL_J0610.1-1848_daily_bin1032.fits ra=92.5455 dec=-18.8076 rad=12.0 tmin=506822401.0 tmax=507081601.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.16
user 3.34
sys 0.79

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/140888/ft2_4FGL_J0610.1-1848_daily_bin1032.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/140888/ft1_filteredMKT_4FGL_J0610.1-1848_daily_bin1032.fits evtable="EVENTS" outfile="/scratch/kocevski/140888/ft1_filtered_4FGL_J0610.1-1848_daily_bin1032.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 1.16
user 0.33
sys 0.76

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/140888/ft1_filtered_4FGL_J0610.1-1848_daily_bin1032.fits" evtable="EVENTS" scfile=/scratch/kocevski/140888/ft2_4FGL_J0610.1-1848_daily_bin1032.fits sctable="SC_DATA" outfile=/scratch/kocevski/140888/ltcube_506822401_507081601_4FGL_J0610.1-1848_daily_bin1032.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/140888/ft2_4FGL_J0610.1-1848_daily_bin1032.fits
.....................!
real 12.35
user 11.27
sys 1.02

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/140888/ft1_filtered_4FGL_J0610.1-1848_daily_bin1032.fits evtable="EVENTS" scfile=/scratch/kocevski/140888/ft2_4FGL_J0610.1-1848_daily_bin1032.fits sctable="SC_DATA" expcube=/scratch/kocevski/140888/ltcube_506822401_507081601_4FGL_J0610.1-1848_daily_bin1032.fits outfile=/scratch/kocevski/140888/expmap_506822401_507081601_4FGL_J0610.1-1848_daily_bin1032.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/140888/ltcube_506822401_507081601_4FGL_J0610.1-1848_daily_bin1032.fits
.....................!
real 190.74
user 184.94
sys 5.46

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/140888/ft1_filtered_4FGL_J0610.1-1848_daily_bin1032.fits scfile=/scratch/kocevski/140888/ft2_4FGL_J0610.1-1848_daily_bin1032.fits outfile=/scratch/kocevski/140888/cmap_506822401_507081601_4FGL_J0610.1-1848_daily_bin1032.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 1.18
user 0.36
sys 0.75

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/140888/ft1_filtered_4FGL_J0610.1-1848_daily_bin1032.fits scfile=/scratch/kocevski/140888/ft2_4FGL_J0610.1-1848_daily_bin1032.fits outfile=/scratch/kocevski/140888/cmap_HighResolution_506822401_507081601_4FGL_J0610.1-1848_daily_bin1032.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 1.06
user 0.39
sys 0.67

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/140888/ft1_filtered_4FGL_J0610.1-1848_daily_bin1032.fits evtable="EVENTS" scfile=/scratch/kocevski/140888/ft2_4FGL_J0610.1-1848_daily_bin1032.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/140888/Model_4FGL_J0610.1-1848_daily_bin1032.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/140888/ft1_filtered_4FGL_J0610.1-1848_daily_bin1032.fits.....................!
real 147.97
user 145.72
sys 1.98

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/140888/ft1_filtered_4FGL_J0610.1-1848_daily_bin1032.fits', '/scratch/kocevski/140888/ft2_4FGL_J0610.1-1848_daily_bin1032.fits', expMap='/scratch/kocevski/140888/expmap_506822401_507081601_4FGL_J0610.1-1848_daily_bin1032.fits', expCube='/scratch/kocevski/140888/ltcube_506822401_507081601_4FGL_J0610.1-1848_daily_bin1032.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/140888/Model_4FGL_J0610.1-1848_daily_bin1032.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/140888/ft1_filtered_4FGL_J0610.1-1848_daily_bin1032.fits
Spacecraft file(s): /scratch/kocevski/140888/ft2_4FGL_J0610.1-1848_daily_bin1032.fits
Exposure map: /scratch/kocevski/140888/expmap_506822401_507081601_4FGL_J0610.1-1848_daily_bin1032.fits
Exposure cube: /scratch/kocevski/140888/ltcube_506822401_507081601_4FGL_J0610.1-1848_daily_bin1032.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/140888/Model_4FGL_J0610.1-1848_daily_bin1032.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) = 9761.37357851

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10342E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    8.6307       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    11.313       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.9276       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13614E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.214       1.0000         .10000E-03   10000.    
     9 'Prefactor '    57.944       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.5707       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.278       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.9839       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.1661       1.0000         .10000E-03   10000.    
    19 'norm      '    24.583       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.2489       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .84599       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .93530       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=   9761.367     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2454 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.4172        .38542E-06** at limit **
   2  norm          8.6305        14.220        .22111E-06    .17021E-04
   3  norm          .10000E-03    2.6956        .36432E-08** at limit **
   4  Prefactor     .10000E-03    4.0658        .31595E-07** at limit **
   5  norm          11.312        10.644        .32040E-06   -.14400E-04
   6  Prefactor     2.9263        9.7308        .22462E-05    .77401E-04
   7  Prefactor     .10000E-03    638.56       -.66808E-05** at limit **
   8  Prefactor     15.213        12.407        .16082E-06    .35465E-04
   9  Prefactor     57.943        47.638        .41958E-06    .20780E-04
  10  Prefactor     .10000E-03    27.753        .78207E-07** at limit **
  11  norm          .10000E-03    2.2128        .12525E-08** at limit **
  12  Prefactor     .10000E-03    7.6138       -.69763E-07** at limit **
  13  Prefactor     5.5706        4.8570        .87807E-07    .12852E-03
  14  Prefactor     13.274        21.183        .45073E-05    .43283E-03
  15  norm          .10000E-03    3.2006       -.52720E-07** at limit **
  16  norm          2.9843        2.2878       -.42114E-06   -.30969E-03
  17  norm          .10000E-03    5.7779       -.39376E-06** at limit **
  18  Prefactor     1.1651        6.4388        .32089E-05   -.51125E-03
  19  norm          24.582        14.326       -.16811E-05   -.34153E-03
  20  Prefactor     1.2477        6.0002        .41752E-05   -.41317E-03
  21  Normalizat    .84595        .19872       -.21226E-05   -.14033E-03
  22  Prefactor     .93531        .60570E-01   -.30889E-06   -.56966E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 8.63051
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 11.3116
  Prefactor  = 2.92634
  Prefactor  = 0.000100004
  Prefactor  = 15.2127
  Prefactor  = 57.9433
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.57059
  Prefactor  = 13.2744
  norm       = 0.0001
  norm       = 2.98432
  norm       = 0.0001
  Prefactor  = 1.16506
  norm       = 24.5824
  Prefactor  = 1.24773
  Normalizat = 0.845949
  Prefactor  = 0.935305
 **********
 **   18 **HESSE 
 **********

 FCN=   9761.367     FROM HESSE     STATUS=OK           342 CALLS     2796 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.7797        .29472E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.6305        14.216        .13645E-03   -1.5120    
   3  norm          .10000E-03    2.6964        .15842E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.1469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          11.312        10.679        .11911E-03   -1.5035    
   6  Prefactor     2.9263        9.7209        .23741E-03   -1.5366    
   7  Prefactor     .10000E-03    657.62        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.213        12.398        .10269E-03   -1.4928    
   9  Prefactor     57.943        47.797        .52703E-04   -1.4184    
  10  Prefactor     .10000E-03    27.913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.2183        .14345E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.6419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.5706        4.8573        .17022E-03   -1.5236    
  14  Prefactor     13.274        22.386        .10992E-03   -1.4979    
  15  norm          .10000E-03    3.2369        .17256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.9843        2.2350        .10991E-03   -1.5362    
  17  norm          .10000E-03    5.8002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.1651        6.4139        .41807E-03   -1.5492    
  19  norm          24.582        13.970        .80792E-04   -1.4716    
  20  Prefactor     1.2477        5.9657        .37027E-03   -1.5485    
  21  Normalizat    .84595        .20586        .47329E-03   -.98386    
  22  Prefactor     .93531        .63168E-01    .13781E-03   -.94918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58513e-09
Minuit parameter uncertainties:
  1  1.71549e-05
  2  14.2216
  3  8.80567e-07
  4  5.84733e-06
  5  10.6813
  6  9.72617
  7  0.00334999
  8  12.4001
  9  47.8286
  10  5.79545e-06
  11  2.63089e-06
  12  1.75286e-06
  13  4.85762
  14  22.4001
  15  1.71953e-06
  16  2.23508
  17  2.23618e-05
  18  5.46786
  19  13.9719
  20  5.45726
  21  0.206048
  22  0.0631727
Done.

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

Extracting fit parameters...

4FGL J0610.1-1848
   Spectrum: PowerLaw
275    Prefactor:  1.521e+01  1.240e+01  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:  9.353e-01  6.317e-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:  8.459e-01  2.060e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.28
Ra Dec: 92.546 -18.808
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 4.30e-08 +/- 3.50e-08
Energy Flux (Fixed Index): 1.52e-05 +/- 1.24e-05

TS (Fixed Index): 3.28
Ra Dec: 92.546 -18.808
Photon Flux Upper Limit: 1.29e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/140888/likelihoodResults_506822401_507081601_4FGL_J0610.1-1848_daily_bin1032.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9761.33120058
delta logL = 0.036263729573

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9761.33008058
delta logL = 0.0373837372244

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.484       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1686       1.0000          .0000       10.000    
     3 'Normalizat'    .85088       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93487       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.

 FCN=   9761.330     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      269 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.532        446.77        .23946E-02   -.36402E-03
   2  Index         2.1715        5.9559        .18855       -.11826E-03
   3  Normalizat    .85065        .13411        .10648       -.13903E-04
   4  Prefactor     .93483        .29965E-01    .31192E-01   -.68120E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.5322
  Index      = 2.17151
  Normalizat = 0.850649
  Prefactor  = 0.934834
 **********
 **   18 **HESSE 
 **********

 FCN=   9761.330     FROM HESSE     STATUS=OK            31 CALLS      300 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.532        16.548        .95785E-04   -1.4870    
   2  Index         2.1715        .63547        .99804E-02   -.60128    
   3  Normalizat    .85065        .19272        .47213E-03   -.98217    
   4  Prefactor     .93483        .58879E-01    .13784E-03   -.94934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.1461e-10
Minuit parameter uncertainties:
  1  16.5527
  2  0.638009
  3  0.192876
  4  0.0588826
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/140888': 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): 0
logL (Free Index) = 9761.33005253
delta logL = 0.0374117808296

Extracting fit parameters...

4FGL J0610.1-1848
   Spectrum: PowerLaw
275    Prefactor:  1.753e+01  1.655e+01  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  2.172e+00  6.380e-01  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:  9.348e-01  5.888e-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:  8.506e-01  1.929e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.35
Ra Dec: 92.546 -18.808
Photon Index (Free Index): 2.17 +/- 0.64
Photon Flux (Free Index): 3.67e-08 +/- 3.77e-08
Energy Flux (Free Index): 1.74e-05 +/- 1.80e-05

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/140888/cmap_HighResolution_506822401_507081601_4FGL_J0610.1-1848_daily_bin1032.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.92e-03', comment='SUCCESS', photon_flux='4.30e-08', energy_flux2='1.74e-05', photon_flux_error='3.50e-08', dlogl='3.74e-02', energy_flux='1.52e-05', photon_flux2='3.67e-08', job_status='DONE', time_completed='2021-08-24 14:40:29.426493', photon_index_error2='0.64', photon_index2='2.17', ts='3.28', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.29e-07', energy_flux_error2='1.80e-05', EG='0.85', time_epoch_completed='1629841229.43', return_code='0', job_id='140888', GAL2='0.93', EG2='0.85', return_code2='0', energy_flux_error='1.24e-05', photon_flux_error2='3.77e-08', ts2='3.35', photon_index='2.34' WHERE bin_id='1032' AND source_name='4FGL J0610.1-1848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 14:40:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 140888: <4FGL_J0610.1-1848_daily_bin1032> in cluster <slac> Done

Job <4FGL_J0610.1-1848_daily_bin1032> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 24 14:25:39 2021
Job was executed on host(s) <bullet0190>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 14:25:41 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:41 2021
Terminated at Tue Aug 24 14:40:29 2021
Results reported at Tue Aug 24 14:40:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0610.1-1848_daily_bin1032 92.5455 -18.8076 506822401 507081601 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 :                                   846.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             374.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            890 sec.

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

