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


Performing analysis on: 4FGL_J0610.1-1848_daily_bin1546
RA = 92.5455, Dec = -18.8076
tmin = 640051201, tmax = 640310401
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='144082', job_status='RUN', time_executed='2021-08-24 14:37:20.380678', time_epoch_executed='1629841040.38' WHERE source_name='4FGL J0610.1-1848' and cadence='daily' and bin_id='1546'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/144082

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/144082/ft1_4FGL_J0610.1-1848_daily_bin1546.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/144082/ft2_4FGL_J0610.1-1848_daily_bin1546.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/144082/ft1_4FGL_J0610.1-1848_daily_bin1546.fits outfile=/scratch/kocevski/144082/ft1_filteredMKT_4FGL_J0610.1-1848_daily_bin1546.fits ra=92.5455 dec=-18.8076 rad=12.0 tmin=640051201.0 tmax=640310401.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.78
user 3.36
sys 1.33

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/144082/ft2_4FGL_J0610.1-1848_daily_bin1546.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/144082/ft1_filteredMKT_4FGL_J0610.1-1848_daily_bin1546.fits evtable="EVENTS" outfile="/scratch/kocevski/144082/ft1_filtered_4FGL_J0610.1-1848_daily_bin1546.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.64
user 0.34
sys 1.28

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/144082/ft1_filtered_4FGL_J0610.1-1848_daily_bin1546.fits" evtable="EVENTS" scfile=/scratch/kocevski/144082/ft2_4FGL_J0610.1-1848_daily_bin1546.fits sctable="SC_DATA" outfile=/scratch/kocevski/144082/ltcube_640051201_640310401_4FGL_J0610.1-1848_daily_bin1546.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/144082/ft2_4FGL_J0610.1-1848_daily_bin1546.fits
.....................!
real 14.05
user 12.42
sys 1.58

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/144082/ft1_filtered_4FGL_J0610.1-1848_daily_bin1546.fits evtable="EVENTS" scfile=/scratch/kocevski/144082/ft2_4FGL_J0610.1-1848_daily_bin1546.fits sctable="SC_DATA" expcube=/scratch/kocevski/144082/ltcube_640051201_640310401_4FGL_J0610.1-1848_daily_bin1546.fits outfile=/scratch/kocevski/144082/expmap_640051201_640310401_4FGL_J0610.1-1848_daily_bin1546.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/144082/ltcube_640051201_640310401_4FGL_J0610.1-1848_daily_bin1546.fits
.....................!
real 192.26
user 185.88
sys 5.94

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/144082/ft1_filtered_4FGL_J0610.1-1848_daily_bin1546.fits scfile=/scratch/kocevski/144082/ft2_4FGL_J0610.1-1848_daily_bin1546.fits outfile=/scratch/kocevski/144082/cmap_640051201_640310401_4FGL_J0610.1-1848_daily_bin1546.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.66
user 0.39
sys 1.24

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/144082/ft1_filtered_4FGL_J0610.1-1848_daily_bin1546.fits scfile=/scratch/kocevski/144082/ft2_4FGL_J0610.1-1848_daily_bin1546.fits outfile=/scratch/kocevski/144082/cmap_HighResolution_640051201_640310401_4FGL_J0610.1-1848_daily_bin1546.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.65
user 0.40
sys 1.24

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/144082/ft1_filtered_4FGL_J0610.1-1848_daily_bin1546.fits evtable="EVENTS" scfile=/scratch/kocevski/144082/ft2_4FGL_J0610.1-1848_daily_bin1546.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/144082/Model_4FGL_J0610.1-1848_daily_bin1546.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/144082/ft1_filtered_4FGL_J0610.1-1848_daily_bin1546.fits.....................!
real 135.43
user 132.38
sys 2.72

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    15.342       1.0000         .10000E-03   10000.    
     3 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10316E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.7182       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10166E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.247       1.0000         .10000E-03   10000.    
     9 'Prefactor '    40.124       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.6463       1.0000         .10000E-03   10000.    
    14 'Prefactor '    47.576       1.0000         .10000E-03   10000.    
    15 'norm      '    1.7521       1.0000         .10000E-03   10000.    
    16 'norm      '    1.4080       1.0000         .10000E-03   10000.    
    17 'norm      '    11.136       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    35.698       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.1242       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.7544       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .79584       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=   8600.202     FROM MIGRAD    STATUS=CONVERGED    476 CALLS     2431 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.4901        .87321E-07** at limit **
   2  norm          15.281        31.246        .19345E-05   -.16457E-04
   3  norm          .10000E-03    24.200       -.19821E-06** at limit **
   4  Prefactor     .10000E-03    9.0197       -.31203E-06** at limit **
   5  norm          .10000E-03    4.1413        .11282E-06** at limit **
   6  Prefactor     3.7169        8.5990        .61187E-07   -.39886E-04
   7  Prefactor     .10000E-03    125.25       -.11344E-05** at limit **
   8  Prefactor     15.250        17.114       -.64556E-07   -.42183E-05
   9  Prefactor     40.111        61.355        .59117E-06   -.46026E-05
  10  Prefactor     .10000E-03    8.4517        .82026E-07** at limit **
  11  norm          .10000E-03    4.5381       -.42260E-06** at limit **
  12  Prefactor     .10000E-03    14.783       -.32821E-07** at limit **
  13  Prefactor     8.6453        7.5749       -.62218E-07   -.32084E-04
  14  Prefactor     47.575        57.026       -.24044E-06   -.23938E-04
  15  norm          1.7500        6.3487        .89559E-05   -.23119E-04
  16  norm          1.4080        1.2227       -.10150E-07   -.77611E-04
  17  norm          11.136        10.747       -.84823E-06   -.17750E-04
  18  Prefactor     .10000E-03    1.5171        .24364E-08** at limit **
  19  norm          35.697        14.369       -.13981E-06   -.57046E-04
  20  Prefactor     4.1242        4.1071        .64201E-07   -.55769E-05
  21  Normalizat    1.7543        .24512        .48145E-06    .18232E-03
  22  Prefactor     .79588        .63310E-01   -.62958E-06   -.39870E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 15.2812
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.71694
  Prefactor  = 0.0001
  Prefactor  = 15.2495
  Prefactor  = 40.1112
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.64532
  Prefactor  = 47.5753
  norm       = 1.74997
  norm       = 1.40796
  norm       = 11.1363
  Prefactor  = 0.0001
  norm       = 35.6972
  Prefactor  = 4.12425
  Normalizat = 1.75427
  Prefactor  = 0.795879
 **********
 **   18 **HESSE 
 **********

 FCN=   8600.202     FROM HESSE     STATUS=OK           338 CALLS     2769 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.5022        .11055E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.281        31.249        .10225E-03   -1.4926    
   3  norm          .10000E-03    24.903        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.1972        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    4.1597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.7169        8.5878        .20942E-03   -1.5322    
   7  Prefactor     .10000E-03    125.52        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.250        17.128        .10257E-03   -1.4927    
   9  Prefactor     40.111        61.647        .63280E-04   -1.4440    
  10  Prefactor     .10000E-03    8.4568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    4.5676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.6453        7.5679        .13632E-03   -1.5120    
  14  Prefactor     47.575        57.259        .58133E-04   -1.4327    
  15  norm          1.7500        6.3596        .15836E-02   -1.5443    
  16  norm          1.4080        1.2160        .92923E-04   -1.5471    
  17  norm          11.136        10.745        .12005E-03   -1.5040    
  18  Prefactor     .10000E-03    1.5191        .11152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          35.697        14.310        .67075E-04   -1.4512    
  20  Prefactor     4.1242        4.0787        .16669E-03   -1.5302    
  21  Normalizat    1.7543        .26544        .41342E-03   -.70863    
  22  Prefactor     .79588        .68187E-01    .15594E-03   -.99880    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28904e-09
Minuit parameter uncertainties:
  1  7.85824e-06
  2  31.2824
  3  8.40795e-05
  4  7.62646e-05
  5  1.81961e-05
  6  8.59066
  7  0.000174536
  8  17.1331
  9  61.7453
  10  1.90052e-05
  11  6.82583e-05
  12  1.03381e-05
  13  7.56869
  14  57.3251
  15  6.3621
  16  1.21598
  17  10.7465
  18  3.44619e-07
  19  14.3118
  20  4.07895
  21  0.265658
  22  0.0681942
Done.

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

Extracting fit parameters...

4FGL J0610.1-1848
   Spectrum: PowerLaw
275    Prefactor:  1.525e+01  1.713e+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:  7.959e-01  6.819e-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.754e+00  2.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.21
Ra Dec: 92.546 -18.808
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 4.31e-08 +/- 4.84e-08
Energy Flux (Fixed Index): 1.53e-05 +/- 1.72e-05

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

Saving results to:
/scratch/kocevski/144082/likelihoodResults_640051201_640310401_4FGL_J0610.1-1848_daily_bin1546.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) = 8599.90934133
delta logL = 0.292329298667

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8599.80059229
delta logL = 0.401078330635

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.269       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5576       1.0000          .0000       10.000    
     3 'Normalizat'    1.7625       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79506       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=   8599.801     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      262 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.266        27.189        .76717E-04   -.13633E-04
   2  Index         1.5577        .62282        .10156E-01   -.25603E-03
   3  Normalizat    1.7625        .24522        .41246E-03    .44983E-04
   4  Prefactor     .79507        .65936E-01    .15601E-03   -.25535E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.2657
  Index      = 1.5577
  Normalizat = 1.76253
  Prefactor  = 0.795068
 **********
 **   18 **HESSE 
 **********

 FCN=   8599.801     FROM HESSE     STATUS=OK            25 CALLS      287 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.266        27.621        .30687E-05   -1.4663    
   2  Index         1.5577        .63293        .20313E-02   -.75936    
   3  Normalizat    1.7625        .24532        .16498E-04   -.70646    
   4  Prefactor     .79507        .65955E-01    .31202E-04   -.99910    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26742e-11
Minuit parameter uncertainties:
  1  27.6344
  2  0.636192
  3  0.245492
  4  0.0659618
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/144082': 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) = 8599.8005922
delta logL = 0.401078421019

Extracting fit parameters...

4FGL J0610.1-1848
   Spectrum: PowerLaw
275    Prefactor:  2.727e+01  2.763e+01  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  1.558e+00  6.362e-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:  7.951e-01  6.596e-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.763e+00  2.455e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.00
Ra Dec: 92.546 -18.808
Photon Index (Free Index): 1.56 +/- 0.64
Photon Flux (Free Index): 2.48e-08 +/- 3.29e-08
Energy Flux (Free Index): 6.46e-05 +/- 9.84e-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/144082/cmap_HighResolution_640051201_640310401_4FGL_J0610.1-1848_daily_bin1546.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', comment='SUCCESS', photon_flux='4.31e-08', energy_flux2='6.46e-05', photon_flux_error='4.84e-08', dlogl='4.01e-01', energy_flux='1.53e-05', photon_flux2='2.48e-08', job_status='DONE', time_completed='2021-08-24 14:50:36.635727', photon_index_error2='0.64', photon_index2='1.56', ts='1.21', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='1.58e-07', energy_flux_error2='9.84e-05', EG='1.75', time_epoch_completed='1629841836.64', return_code='0', job_id='144082', GAL2='0.80', EG2='1.76', return_code2='0', energy_flux_error='1.72e-05', photon_flux_error2='3.29e-08', ts2='2.00', photon_index='2.34' WHERE bin_id='1546' AND source_name='4FGL J0610.1-1848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 14:50:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0291>
Subject: Job 144082: <4FGL_J0610.1-1848_daily_bin1546> in cluster <slac> Done

Job <4FGL_J0610.1-1848_daily_bin1546> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Aug 24 14:35:37 2021
Job was executed on host(s) <bullet0291>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 14:35:39 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:35:39 2021
Terminated at Tue Aug 24 14:50:39 2021
Results reported at Tue Aug 24 14:50:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0610.1-1848_daily_bin1546 92.5455 -18.8076 640051201 640310401 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 :                                   804.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            902 sec.

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

