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


Performing analysis on: 4FGL_J0610.1-1848_daily_bin1409
RA = 92.5455, Dec = -18.8076
tmin = 604540801, tmax = 604800001
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='142482', job_status='RUN', time_executed='2021-08-24 14:31:19.603555', time_epoch_executed='1629840679.6' WHERE source_name='4FGL J0610.1-1848' and cadence='daily' and bin_id='1409'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/142482

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/142482/ft1_4FGL_J0610.1-1848_daily_bin1409.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/142482/ft2_4FGL_J0610.1-1848_daily_bin1409.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/142482/ft1_4FGL_J0610.1-1848_daily_bin1409.fits outfile=/scratch/kocevski/142482/ft1_filteredMKT_4FGL_J0610.1-1848_daily_bin1409.fits ra=92.5455 dec=-18.8076 rad=12.0 tmin=604540801.0 tmax=604800001.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.25
user 3.40
sys 0.83

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/142482/ft2_4FGL_J0610.1-1848_daily_bin1409.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/142482/ft1_filteredMKT_4FGL_J0610.1-1848_daily_bin1409.fits evtable="EVENTS" outfile="/scratch/kocevski/142482/ft1_filtered_4FGL_J0610.1-1848_daily_bin1409.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.15
user 0.35
sys 0.77

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/142482/ft1_filtered_4FGL_J0610.1-1848_daily_bin1409.fits" evtable="EVENTS" scfile=/scratch/kocevski/142482/ft2_4FGL_J0610.1-1848_daily_bin1409.fits sctable="SC_DATA" outfile=/scratch/kocevski/142482/ltcube_604540801_604800001_4FGL_J0610.1-1848_daily_bin1409.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/142482/ft2_4FGL_J0610.1-1848_daily_bin1409.fits
.....................!
real 15.40
user 14.35
sys 1.01

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/142482/ft1_filtered_4FGL_J0610.1-1848_daily_bin1409.fits evtable="EVENTS" scfile=/scratch/kocevski/142482/ft2_4FGL_J0610.1-1848_daily_bin1409.fits sctable="SC_DATA" expcube=/scratch/kocevski/142482/ltcube_604540801_604800001_4FGL_J0610.1-1848_daily_bin1409.fits outfile=/scratch/kocevski/142482/expmap_604540801_604800001_4FGL_J0610.1-1848_daily_bin1409.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/142482/ltcube_604540801_604800001_4FGL_J0610.1-1848_daily_bin1409.fits
.....................!
real 194.06
user 187.61
sys 6.05

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/142482/ft1_filtered_4FGL_J0610.1-1848_daily_bin1409.fits scfile=/scratch/kocevski/142482/ft2_4FGL_J0610.1-1848_daily_bin1409.fits outfile=/scratch/kocevski/142482/cmap_604540801_604800001_4FGL_J0610.1-1848_daily_bin1409.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.15
user 0.38
sys 0.75

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/142482/ft1_filtered_4FGL_J0610.1-1848_daily_bin1409.fits scfile=/scratch/kocevski/142482/ft2_4FGL_J0610.1-1848_daily_bin1409.fits outfile=/scratch/kocevski/142482/cmap_HighResolution_604540801_604800001_4FGL_J0610.1-1848_daily_bin1409.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.15
user 0.40
sys 0.74

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/142482/ft1_filtered_4FGL_J0610.1-1848_daily_bin1409.fits evtable="EVENTS" scfile=/scratch/kocevski/142482/ft2_4FGL_J0610.1-1848_daily_bin1409.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/142482/Model_4FGL_J0610.1-1848_daily_bin1409.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/142482/ft1_filtered_4FGL_J0610.1-1848_daily_bin1409.fits.....................!
real 159.01
user 156.49
sys 2.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.6811       1.0000         .10000E-03   10000.    
     2 'norm      '    8.3465       1.0000         .10000E-03   10000.    
     3 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.8117       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.8436       1.0000         .10000E-03   10000.    
     7 'Prefactor '    111.20       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .47848       1.0000         .10000E-03   10000.    
     9 'Prefactor '    111.46       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.8419       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .16290E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.747       1.0000         .10000E-03   10000.    
    15 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.2052       1.0000         .10000E-03   10000.    
    17 'norm      '    3.1618       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.8124       1.0000         .10000E-03   10000.    
    19 'norm      '    48.672       1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.102       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1365       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .93768       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=   9753.143     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2457 TOTAL
                     EDM=   .84E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.6830        5.5881        .14324E-06   -.56807E-04
   2  norm          8.3471        15.496        .11788E-05   -.17240E-04
   3  norm          .10000E-03    12.654       -.96940E-07** at limit **
   4  Prefactor     7.8027        10.375        .30460E-06    .46991E-05
   5  norm          .10000E-03    10.935        .19658E-06** at limit **
   6  Prefactor     4.8417        9.3045        .50751E-06   -.12148E-05
   7  Prefactor     111.10        95.177       -.12320E-05   -.13211E-03
   8  Prefactor     .54567        12.735       -.41679E-06    .24144E-04
   9  Prefactor     111.45        56.866       -.27474E-06   -.10081E-04
  10  Prefactor     .10000E-03    144.99        .13810E-05** at limit **
  11  norm          4.8430        8.5338       -.40400E-06   -.40367E-04
  12  Prefactor     .10000E-03    32.786       -.29290E-05** at limit **
  13  Prefactor     .10000E-03    6.1138       -.34642E-06** at limit **
  14  Prefactor     18.734        28.987       -.19315E-06   -.19404E-05
  15  norm          .10000E-03    3.1256       -.10845E-06** at limit **
  16  norm          1.2052        1.1473       -.12869E-06    .29055E-04
  17  norm          3.1609        7.9384       -.10217E-05   -.41658E-04
  18  Prefactor     7.8103        6.8768        .24565E-05   -.10651E-03
  19  norm          48.674        16.271       -.66606E-07   -.14435E-04
  20  Prefactor     11.103        6.1777        .10160E-06   -.38085E-04
  21  Normalizat    1.1367        .25432        .47679E-06    .12547E-04
  22  Prefactor     .93757        .67118E-01   -.39773E-06    .10096E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.68301
  norm       = 8.34711
  norm       = 0.0001
  Prefactor  = 7.80272
  norm       = 0.0001
  Prefactor  = 4.8417
  Prefactor  = 111.104
  Prefactor  = 0.545674
  Prefactor  = 111.453
  Prefactor  = 0.0001
  norm       = 4.84304
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.7344
  norm       = 0.0001
  norm       = 1.20521
  norm       = 3.16087
  Prefactor  = 7.81033
  norm       = 48.6743
  Prefactor  = 11.1031
  Normalizat = 1.13672
  Prefactor  = 0.937572
 **********
 **   18 **HESSE 
 **********

 FCN=   9753.143     FROM HESSE     STATUS=OK           350 CALLS     2807 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.6830        5.5989        .13605E-03   -1.5119    
   2  norm          8.3471        15.484        .69382E-03   -1.5130    
   3  norm          .10000E-03    12.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.8027        10.269        .14347E-03   -1.5149    
   5  norm          .10000E-03    11.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.8417        9.2695        .18278E-03   -1.5268    
   7  Prefactor     111.10        95.728        .19072E-03   -1.3596    
   8  Prefactor     .54567        93.825        .63572E-02   -1.5560    
   9  Prefactor     111.45        57.015        .38101E-04   -1.3593    
  10  Prefactor     .10000E-03    149.07        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.8430        8.4804        .18282E-03   -1.5268    
  12  Prefactor     .10000E-03    33.334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.1536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.734        29.003        .92504E-04   -1.4842    
  15  norm          .10000E-03    3.1594        .17050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.2052        1.1471        .41285E-04   -1.5488    
  17  norm          3.1609        7.9007        .22793E-03   -1.5352    
  18  Prefactor     7.8103        6.9064        .71731E-03   -1.5149    
  19  norm          48.674        16.255        .57478E-04   -1.4311    
  20  Prefactor     11.103        6.1667        .12024E-03   -1.5041    
  21  Normalizat    1.1367        .26917        .49663E-03   -.88582    
  22  Prefactor     .93757        .71342E-01    .15278E-03   -.94840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.4112e-10
Minuit parameter uncertainties:
  1  5.59919
  2  15.4918
  3  1.92026e-06
  4  10.2713
  5  8.43756e-06
  6  9.2722
  7  95.8615
  8  14.3321
  9  57.0432
  10  8.42797e-05
  11  8.48248
  12  4.86796e-05
  13  1.2879e-06
  14  29.0248
  15  3.67611e-06
  16  1.14717
  17  7.90327
  18  6.90713
  19  16.2567
  20  6.16706
  21  0.269492
  22  0.0713492
Done.

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

Extracting fit parameters...

4FGL J0610.1-1848
   Spectrum: PowerLaw
275    Prefactor:  5.457e-01  1.433e+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.376e-01  7.135e-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.137e+00  2.695e-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: 1.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/142482/likelihoodResults_604540801_604800001_4FGL_J0610.1-1848_daily_bin1409.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) = 9753.13522049
delta logL = 0.0080209356729

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9753.11582847
delta logL = 0.0274129584395

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4582       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8176       1.0000          .0000       10.000    
     3 'Normalizat'    1.1353       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93720       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9753.116     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      316 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4316        17.648        .10874E-02    .66738E-04
   2  Index         1.8134        1.6016        .25275E-01   -.58719E-04
   3  Normalizat    1.1356        .23598        .49678E-03    .36616E-06
   4  Prefactor     .93717        .67192E-01    .15280E-03    .89280E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.43164
  Index      = 1.81335
  Normalizat = 1.13561
  Prefactor  = 0.937167
 **********
 **   18 **HESSE 
 **********

 FCN=   9753.116     FROM HESSE     STATUS=OK            27 CALLS      343 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4316        17.705        .21747E-03   -1.5337    
   2  Index         1.8134        1.6071        .50549E-02   -.69103    
   3  Normalizat    1.1356        .23605        .19871E-04   -.88616    
   4  Prefactor     .93717        .67206E-01    .61122E-05   -.94854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0984e-13
Minuit parameter uncertainties:
  1  15.5963
  2  1.65777
  3  0.236267
  4  0.0672122
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/142482': 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) = 9753.11582342
delta logL = 0.0274180078322

Extracting fit parameters...

4FGL J0610.1-1848
   Spectrum: PowerLaw
275    Prefactor:  3.432e+00  1.560e+01  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  1.813e+00  1.658e+00  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.372e-01  6.721e-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.136e+00  2.363e-01  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/142482/cmap_HighResolution_604540801_604800001_4FGL_J0610.1-1848_daily_bin1409.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.23e-03', job_status='DONE', photon_flux_upper_limit='1.20e-07', time_completed='2021-08-24 14:46:06.050582', job_id='142482', GAL2='0.94', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1629841566.05', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.74e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1409' AND source_name='4FGL J0610.1-1848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 14:46:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 142482: <4FGL_J0610.1-1848_daily_bin1409> in cluster <slac> Done

Job <4FGL_J0610.1-1848_daily_bin1409> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 24 14:30:42 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 14:30:44 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:30:44 2021
Terminated at Tue Aug 24 14:46:07 2021
Results reported at Tue Aug 24 14:46:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0610.1-1848_daily_bin1409 92.5455 -18.8076 604540801 604800001 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 :                                   890.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             387.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   922 sec.
    Turnaround time :                            925 sec.

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

