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


Performing analysis on: 4FGL_J0610.1-1848_daily_bin1034
RA = 92.5455, Dec = -18.8076
tmin = 507340801, tmax = 507600001
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='140891', job_status='RUN', time_executed='2021-08-24 14:27:28.189754', time_epoch_executed='1629840448.19' WHERE source_name='4FGL J0610.1-1848' and cadence='daily' and bin_id='1034'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/140891

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/140891/ft1_4FGL_J0610.1-1848_daily_bin1034.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/140891/ft2_4FGL_J0610.1-1848_daily_bin1034.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/140891/ft1_4FGL_J0610.1-1848_daily_bin1034.fits outfile=/scratch/kocevski/140891/ft1_filteredMKT_4FGL_J0610.1-1848_daily_bin1034.fits ra=92.5455 dec=-18.8076 rad=12.0 tmin=507340801.0 tmax=507600001.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.01
user 3.37
sys 0.61

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/140891/ft1_filtered_4FGL_J0610.1-1848_daily_bin1034.fits" evtable="EVENTS" scfile=/scratch/kocevski/140891/ft2_4FGL_J0610.1-1848_daily_bin1034.fits sctable="SC_DATA" outfile=/scratch/kocevski/140891/ltcube_507340801_507600001_4FGL_J0610.1-1848_daily_bin1034.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/140891/ft2_4FGL_J0610.1-1848_daily_bin1034.fits
.....................!
real 11.94
user 11.14
sys 0.75

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/140891/ft1_filtered_4FGL_J0610.1-1848_daily_bin1034.fits evtable="EVENTS" scfile=/scratch/kocevski/140891/ft2_4FGL_J0610.1-1848_daily_bin1034.fits sctable="SC_DATA" expcube=/scratch/kocevski/140891/ltcube_507340801_507600001_4FGL_J0610.1-1848_daily_bin1034.fits outfile=/scratch/kocevski/140891/expmap_507340801_507600001_4FGL_J0610.1-1848_daily_bin1034.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/140891/ltcube_507340801_507600001_4FGL_J0610.1-1848_daily_bin1034.fits
.....................!
real 190.61
user 184.98
sys 5.24

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/140891/ft1_filtered_4FGL_J0610.1-1848_daily_bin1034.fits scfile=/scratch/kocevski/140891/ft2_4FGL_J0610.1-1848_daily_bin1034.fits outfile=/scratch/kocevski/140891/cmap_507340801_507600001_4FGL_J0610.1-1848_daily_bin1034.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.31
user 0.36
sys 0.54

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/140891/ft1_filtered_4FGL_J0610.1-1848_daily_bin1034.fits scfile=/scratch/kocevski/140891/ft2_4FGL_J0610.1-1848_daily_bin1034.fits outfile=/scratch/kocevski/140891/cmap_HighResolution_507340801_507600001_4FGL_J0610.1-1848_daily_bin1034.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.07
user 0.38
sys 0.53

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/140891/ft1_filtered_4FGL_J0610.1-1848_daily_bin1034.fits evtable="EVENTS" scfile=/scratch/kocevski/140891/ft2_4FGL_J0610.1-1848_daily_bin1034.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/140891/Model_4FGL_J0610.1-1848_daily_bin1034.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/140891/ft1_filtered_4FGL_J0610.1-1848_daily_bin1034.fits.....................!
real 144.98
user 142.38
sys 1.77

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10078E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    46.341       1.0000         .10000E-03   10000.    
     3 'norm      '    8.6955       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .48123       1.0000         .10000E-03   10000.    
     5 'norm      '    .40315       1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.831       1.0000         .10000E-03   10000.    
     7 'Prefactor '    90.186       1.0000         .10000E-03   10000.    
     8 'Prefactor '    31.106       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10186E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.705       1.0000         .10000E-03   10000.    
    11 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    19.853       1.0000         .10000E-03   10000.    
    16 'norm      '    3.7679       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .83816       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0019       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=   9359.750     FROM MIGRAD    STATUS=CONVERGED    472 CALLS     2383 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.2761       -.19261E-07** at limit **
   2  norm          46.340        33.126       -.14364E-05    .96714E-05
   3  norm          8.6969        7.8425        .16754E-06    .72948E-04
   4  Prefactor     .46747        4.0490       -.20860E-05   -.37387E-03
   5  norm          .41467        6.4252        .87913E-06   -.29552E-03
   6  Prefactor     18.830        12.068        .50509E-06    .95400E-04
   7  Prefactor     90.193        79.700        .69823E-05    .57386E-04
   8  Prefactor     31.112        21.617        .31984E-05    .20202E-03
   9  Prefactor     .10000E-03    52.339       -.11663E-05** at limit **
  10  Prefactor     26.696        31.008       -.10643E-04   -.15040E-04
  11  norm          .10000E-03    7.0816        .13077E-05** at limit **
  12  Prefactor     .10000E-03    11.350       -.10017E-04** at limit **
  13  Prefactor     .10000E-03    4.3274       -.85956E-06** at limit **
  14  Prefactor     .10000E-03    14.261        .66098E-05** at limit **
  15  norm          19.852        8.8356       -.29124E-06   -.30536E-04
  16  norm          3.7674        2.1510       -.43751E-07   -.73735E-03
  17  norm          .10000E-03    4.9978        .56002E-05** at limit **
  18  Prefactor     .10000E-03    9.3789        .50356E-05** at limit **
  19  norm          .10000E-03    5.2567       -.56763E-05** at limit **
  20  Prefactor     .10000E-03    2.9454        .93034E-07** at limit **
  21  Normalizat    .83804        .21986       -.20549E-05    .33787E-04
  22  Prefactor     1.0019        .65199E-01    .59600E-06   -.14889E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 46.3396
  norm       = 8.69686
  Prefactor  = 0.467466
  norm       = 0.414669
  Prefactor  = 18.8304
  Prefactor  = 90.1926
  Prefactor  = 31.1119
  Prefactor  = 0.0001
  Prefactor  = 26.6963
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 19.8525
  norm       = 3.76742
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.838037
  Prefactor  = 1.00191
 **********
 **   18 **HESSE 
 **********

 FCN=   9359.750     FROM HESSE     STATUS=OK           344 CALLS     2727 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.7098        .21267E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          46.340        33.125        .58899E-04   -1.4345    
   3  norm          8.6969        7.8493        .13593E-03   -1.5118    
   4  Prefactor     .46747        12.411        .36584E-02   -1.5571    
   5  norm          .41467        83.787        .46025E-02   -1.5579    
   6  Prefactor     18.830        12.057        .92297E-04   -1.4840    
   7  Prefactor     90.193        79.868        .42312E-04   -1.3806    
   8  Prefactor     31.112        21.583        .71840E-04   -1.4592    
   9  Prefactor     .10000E-03    52.765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     26.696        30.935        .77521E-04   -1.4674    
  11  norm          .10000E-03    7.1943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.3500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          19.852        8.8368        .89892E-04   -1.4817    
  16  norm          3.7674        2.1441        .10371E-03   -1.5320    
  17  norm          .10000E-03    4.9909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.5625        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    5.2679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.0065        .16194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .83804        .22494        .51516E-03   -.98673    
  22  Prefactor     1.0019        .68569E-01    .14222E-03   -.92666    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57823e-09
Minuit parameter uncertainties:
  1  7.6405e-07
  2  33.1379
  3  7.8502
  4  4.81804
  5  11.8042
  6  12.059
  7  79.9631
  8  21.5886
  9  8.50395e-06
  10  30.954
  11  2.07303e-05
  12  1.69185e-05
  13  3.6114e-06
  14  1.42038e-06
  15  8.83738
  16  2.1441
  17  5.95189e-06
  18  5.07655e-05
  19  5.38566e-06
  20  6.53545e-06
  21  0.225187
  22  0.0685751
Done.

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

Extracting fit parameters...

4FGL J0610.1-1848
   Spectrum: PowerLaw
275    Prefactor:  3.111e+01  2.159e+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:  1.002e+00  6.858e-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.380e-01  2.252e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.19
Ra Dec: 92.546 -18.808
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 8.79e-08 +/- 6.10e-08
Energy Flux (Fixed Index): 3.12e-05 +/- 2.16e-05

TS (Fixed Index): 3.19
Ra Dec: 92.546 -18.808
Photon Flux Upper Limit: 2.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.62e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/140891/likelihoodResults_507340801_507600001_4FGL_J0610.1-1848_daily_bin1034.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) = 9359.67698798
delta logL = 0.0730356143395

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9359.67278624
delta logL = 0.0772373543441

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.787       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1306       1.0000          .0000       10.000    
     3 'Normalizat'    .84898       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0005       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=   9359.673     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      300 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.805        29.639        .65201E-04    .80836E-04
   2  Index         2.1311        .52839        .85697E-02    .39807E-03
   3  Normalizat    .84891        .21940        .51232E-03    .58983E-04
   4  Prefactor     1.0005        .65389E-01    .14232E-03   -.24112E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.8052
  Index      = 2.13108
  Normalizat = 0.848913
  Prefactor  = 1.00046
 **********
 **   18 **HESSE 
 **********

 FCN=   9359.673     FROM HESSE     STATUS=OK            25 CALLS      325 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.805        28.900        .13040E-04   -1.4477    
   2  Index         2.1311        .51499        .17139E-02   -.61112    
   3  Normalizat    .84891        .21933        .20493E-04   -.98279    
   4  Prefactor     1.0005        .65387E-01    .28463E-04   -.92714    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11911e-10
Minuit parameter uncertainties:
  1  28.9104
  2  0.516358
  3  0.219561
  4  0.065392
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/140891': 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) = 9359.67278505
delta logL = 0.0772385371274

Extracting fit parameters...

4FGL J0610.1-1848
   Spectrum: PowerLaw
275    Prefactor:  3.781e+01  2.891e+01  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  2.131e+00  5.164e-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:  1.000e+00  6.539e-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.489e-01  2.196e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.34
Ra Dec: 92.546 -18.808
Photon Index (Free Index): 2.13 +/- 0.52
Photon Flux (Free Index): 7.41e-08 +/- 6.32e-08
Energy Flux (Free Index): 3.81e-05 +/- 3.34e-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/140891/cmap_HighResolution_507340801_507600001_4FGL_J0610.1-1848_daily_bin1034.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.62e-02', comment='SUCCESS', photon_flux='8.79e-08', energy_flux2='3.81e-05', photon_flux_error='6.10e-08', dlogl='7.72e-02', energy_flux='3.12e-05', photon_flux2='7.41e-08', job_status='DONE', time_completed='2021-08-24 14:40:54.288054', photon_index_error2='0.52', photon_index2='2.13', ts='3.19', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='2.11e-07', energy_flux_error2='3.34e-05', EG='0.84', time_epoch_completed='1629841254.29', return_code='0', job_id='140891', GAL2='1.00', EG2='0.85', return_code2='0', energy_flux_error='2.16e-05', photon_flux_error2='6.32e-08', ts2='3.34', photon_index='2.34' WHERE bin_id='1034' AND source_name='4FGL J0610.1-1848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 14:40:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 140891: <4FGL_J0610.1-1848_daily_bin1034> in cluster <slac> Done

Job <4FGL_J0610.1-1848_daily_bin1034> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 24 14:25:40 2021
Job was executed on host(s) <bullet0219>, 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:54 2021
Results reported at Tue Aug 24 14:40:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0610.1-1848_daily_bin1034 92.5455 -18.8076 507340801 507600001 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 :                                   805.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             353.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            914 sec.

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

