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


Performing analysis on: 4FGL_J0610.1-1848_daily_bin1285
RA = 92.5455, Dec = -18.8076
tmin = 572400001, tmax = 572659201
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='142270', job_status='RUN', time_executed='2021-08-24 14:32:20.031632', time_epoch_executed='1629840740.03' WHERE source_name='4FGL J0610.1-1848' and cadence='daily' and bin_id='1285'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/142270

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/142270/ft1_4FGL_J0610.1-1848_daily_bin1285.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/142270/ft2_4FGL_J0610.1-1848_daily_bin1285.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/142270/ft1_4FGL_J0610.1-1848_daily_bin1285.fits outfile=/scratch/kocevski/142270/ft1_filteredMKT_4FGL_J0610.1-1848_daily_bin1285.fits ra=92.5455 dec=-18.8076 rad=12.0 tmin=572400001.0 tmax=572659201.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.90
user 3.39
sys 0.48

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/142270/ft2_4FGL_J0610.1-1848_daily_bin1285.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/142270/ft1_filteredMKT_4FGL_J0610.1-1848_daily_bin1285.fits evtable="EVENTS" outfile="/scratch/kocevski/142270/ft1_filtered_4FGL_J0610.1-1848_daily_bin1285.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.79
user 0.32
sys 0.45

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/142270/ft1_filtered_4FGL_J0610.1-1848_daily_bin1285.fits" evtable="EVENTS" scfile=/scratch/kocevski/142270/ft2_4FGL_J0610.1-1848_daily_bin1285.fits sctable="SC_DATA" outfile=/scratch/kocevski/142270/ltcube_572400001_572659201_4FGL_J0610.1-1848_daily_bin1285.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/142270/ft2_4FGL_J0610.1-1848_daily_bin1285.fits
.....................!
real 12.10
user 11.43
sys 0.64

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/142270/ft1_filtered_4FGL_J0610.1-1848_daily_bin1285.fits evtable="EVENTS" scfile=/scratch/kocevski/142270/ft2_4FGL_J0610.1-1848_daily_bin1285.fits sctable="SC_DATA" expcube=/scratch/kocevski/142270/ltcube_572400001_572659201_4FGL_J0610.1-1848_daily_bin1285.fits outfile=/scratch/kocevski/142270/expmap_572400001_572659201_4FGL_J0610.1-1848_daily_bin1285.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/142270/ltcube_572400001_572659201_4FGL_J0610.1-1848_daily_bin1285.fits
.....................!
real 190.57
user 185.58
sys 4.61

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/142270/ft1_filtered_4FGL_J0610.1-1848_daily_bin1285.fits scfile=/scratch/kocevski/142270/ft2_4FGL_J0610.1-1848_daily_bin1285.fits outfile=/scratch/kocevski/142270/cmap_572400001_572659201_4FGL_J0610.1-1848_daily_bin1285.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.82
user 0.38
sys 0.43

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/142270/ft1_filtered_4FGL_J0610.1-1848_daily_bin1285.fits scfile=/scratch/kocevski/142270/ft2_4FGL_J0610.1-1848_daily_bin1285.fits outfile=/scratch/kocevski/142270/cmap_HighResolution_572400001_572659201_4FGL_J0610.1-1848_daily_bin1285.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.83
user 0.37
sys 0.45

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/142270/ft1_filtered_4FGL_J0610.1-1848_daily_bin1285.fits evtable="EVENTS" scfile=/scratch/kocevski/142270/ft2_4FGL_J0610.1-1848_daily_bin1285.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/142270/Model_4FGL_J0610.1-1848_daily_bin1285.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/142270/ft1_filtered_4FGL_J0610.1-1848_daily_bin1285.fits.....................!
real 144.58
user 142.42
sys 1.70

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3646       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .56159E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .14343E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    11.167       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.3304       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10207E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.0474       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.5435       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.2445       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .34499       1.0000         .10000E-03   10000.    
    16 'norm      '    2.4738       1.0000         .10000E-03   10000.    
    17 'norm      '    .10064E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.9007       1.0000         .10000E-03   10000.    
    19 'norm      '    6.3544       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.6465       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .94357       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99808       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=   9188.485     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2060 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3626        4.8480        .17214E-06   -.10412E-03
   2  norm          .10000E-03    12.102        .14262E-05** at limit **
   3  norm          .10056E-03    10.785       -.18429E-05** at limit **
   4  Prefactor     .10000E-03    5.1243        .93429E-07** at limit **
   5  norm          11.167        9.0897        .74867E-06   -.13990E-03
   6  Prefactor     9.3407        10.560        .76663E-07   -.30223E-04
   7  Prefactor     .10000E-03    22.895        .24082E-05** at limit **
   8  Prefactor     4.0977        18.671        .17500E-05    .10305E-03
   9  Prefactor     .10001E-03    17.042       -.28286E-05** at limit **
  10  Prefactor     .10000E-03    8.0412        .48234E-06** at limit **
  11  norm          .10000E-03    4.3818       -.20615E-06** at limit **
  12  Prefactor     3.5358        23.966       -.21390E-05   -.69644E-04
  13  Prefactor     1.2397        3.4383        .79561E-06   -.97977E-04
  14  Prefactor     .10000E-03    13.870        .18910E-07** at limit **
  15  norm          .35109        3.8301       -.14858E-07   -.12757E-03
  16  norm          2.4734        2.1469       -.29104E-06   -.37765E-04
  17  norm          .10000E-03    8.8387       -.14052E-05** at limit **
  18  Prefactor     7.8987        6.7145        .18364E-05   -.39525E-03
  19  norm          6.3475        7.5621       -.26937E-07   -.17591E-04
  20  Prefactor     5.6478        4.3325        .91802E-07   -.14839E-03
  21  Normalizat    .94278        .22083       -.11747E-05    .75413E-04
  22  Prefactor     .99823        .65089E-01   -.11585E-06    .16786E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.36263
  norm       = 0.000100002
  norm       = 0.000100558
  Prefactor  = 0.0001
  norm       = 11.1667
  Prefactor  = 9.34067
  Prefactor  = 0.000100005
  Prefactor  = 4.09772
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.53575
  Prefactor  = 1.23972
  Prefactor  = 0.0001
  norm       = 0.351089
  norm       = 2.47341
  norm       = 0.000100001
  Prefactor  = 7.89872
  norm       = 6.34752
  Prefactor  = 5.6478
  Normalizat = 0.942782
  Prefactor  = 0.998226
 **********
 **   18 **HESSE 
 **********

 FCN=   9188.485     FROM HESSE     STATUS=OK           352 CALLS     2412 TOTAL
                     EDM=   .71E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3626        4.8626        .17351E-03   -1.5245    
   2  norm          .10000E-03    12.375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10056E-03    84.600        .58257E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.1621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          11.167        9.1340        .59944E-03   -1.5040    
   6  Prefactor     9.3407        10.550        .13120E-03   -1.5097    
   7  Prefactor     .10000E-03    23.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.0977        18.714        .20043E-03   -1.5303    
   9  Prefactor     .10001E-03    18.098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.0763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    4.4170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.5358        23.602        .21473E-03   -1.5332    
  13  Prefactor     1.2397        3.3796        .28912E-03   -1.5485    
  14  Prefactor     .10000E-03    13.894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .35109        15.257        .35350E-02   -1.5589    
  16  norm          2.4734        2.1415        .12029E-03   -1.5393    
  17  norm          .10000E-03    9.1115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.8987        6.8922        .71326E-03   -1.5146    
  19  norm          6.3475        7.5273        .15923E-03   -1.5204    
  20  Prefactor     5.6478        4.3227        .15636E-03   -1.5233    
  21  Normalizat    .94278        .22801        .49112E-03   -.94973    
  22  Prefactor     .99823        .68662E-01    .14233E-03   -.92789    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.0922e-08
Minuit parameter uncertainties:
  1  4.86297
  2  0.000278948
  3  0.0137609
  4  9.02571e-06
  5  9.13518
  6  10.5517
  7  0.00065599
  8  17.5226
  9  0.000664098
  10  7.59604e-05
  11  1.19981e-05
  12  18.2804
  13  3.3801
  14  5.12266e-06
  15  4.62939
  16  2.14157
  17  0.000204962
  18  6.89287
  19  7.52842
  20  4.32297
  21  0.228244
  22  0.0686676
Done.

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

Extracting fit parameters...

4FGL J0610.1-1848
   Spectrum: PowerLaw
275    Prefactor:  4.098e+00  1.752e+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.982e-01  6.867e-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:  9.428e-01  2.282e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/142270/likelihoodResults_572400001_572659201_4FGL_J0610.1-1848_daily_bin1285.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) = 9188.47657306
delta logL = 0.00811635155878

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9188.09805296
delta logL = 0.386636454963

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    7.8190       1.0000          .0000       10.000    
     3 'Normalizat'    .90346       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0045       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=   9188.098     FROM MIGRAD    STATUS=CONVERGED    199 CALLS      498 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .13553E-03    .30057E-03** at limit **
   2  Index         7.8189        .46347        .16637       -.21865E-03
   3  Normalizat    .90375        .21078        .11279       -.15752E-03
   4  Prefactor     1.0044        .61949E-01    .32115E-01   -.83933E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 7.81888
  Normalizat = 0.903751
  Prefactor  = 1.00444
 **********
 **   18 **HESSE 
 **********

 FCN=   9188.098     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      539 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .18017E-01    .27388E-03   -26.704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.8189        5.6417        .89908E-02   -179.67    
   3  Normalizat    .90375        .11717        .50027E-03   -14.745    
   4  Prefactor     1.0044        .35052E-01    .14192E-03   -19.775    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.29864e-08
Minuit parameter uncertainties:
  1  3.419e-07
  2  6.52667
  3  0.117204
  4  0.0350528
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/142270': 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) = 9188.09805097
delta logL = 0.386638437096

Extracting fit parameters...

4FGL J0610.1-1848
   Spectrum: PowerLaw
275    Prefactor:  1.000e-04  3.419e-07  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  7.819e+00  6.527e+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:  1.004e+00  3.505e-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:  9.038e-01  1.172e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
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/142270/cmap_HighResolution_572400001_572659201_4FGL_J0610.1-1848_daily_bin1285.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', job_status='DONE', photon_flux_upper_limit='1.35e-07', time_completed='2021-08-24 14:45:40.925035', job_id='142270', GAL2='1.00', fit_tolerance='1e-08', EG2='0.90', EG='0.94', time_epoch_completed='1629841540.93', return_code2='102', ts='0.06', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='3.87e-01', ts2='0.88', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1285' AND source_name='4FGL J0610.1-1848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 14:45:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 142270: <4FGL_J0610.1-1848_daily_bin1285> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0610.1-1848_daily_bin1285 92.5455 -18.8076 572400001 572659201 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 :                                   800.08 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             309.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            913 sec.

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

