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


Performing analysis on: 4FGL_J0609.0-2219_daily_bin685
RA = 92.262, Dec = -22.3316
tmin = 416880001, tmax = 417139201
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='118076', job_status='RUN', time_executed='2021-08-24 13:27:57.956373', time_epoch_executed='1629836877.96' WHERE source_name='4FGL J0609.0-2219' and cadence='daily' and bin_id='685'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/118076

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/118076/ft1_4FGL_J0609.0-2219_daily_bin685.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/118076/ft2_4FGL_J0609.0-2219_daily_bin685.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/118076/ft1_4FGL_J0609.0-2219_daily_bin685.fits outfile=/scratch/kocevski/118076/ft1_filteredMKT_4FGL_J0609.0-2219_daily_bin685.fits ra=92.262 dec=-22.3316 rad=12.0 tmin=416880001.0 tmax=417139201.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 5.25
user 4.97
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/118076/ft2_4FGL_J0609.0-2219_daily_bin685.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/118076/ft2_4FGL_J0609.0-2219_daily_bin685.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/118076/ft1_filteredMKT_4FGL_J0609.0-2219_daily_bin685.fits evtable="EVENTS" outfile="/scratch/kocevski/118076/ft1_filtered_4FGL_J0609.0-2219_daily_bin685.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.50
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/118076/ft1_filtered_4FGL_J0609.0-2219_daily_bin685.fits" evtable="EVENTS" scfile=/scratch/kocevski/118076/ft2_4FGL_J0609.0-2219_daily_bin685.fits sctable="SC_DATA" outfile=/scratch/kocevski/118076/ltcube_416880001_417139201_4FGL_J0609.0-2219_daily_bin685.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/118076/ft2_4FGL_J0609.0-2219_daily_bin685.fits
.....................!
real 12.15
user 11.78
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/118076/ft1_filtered_4FGL_J0609.0-2219_daily_bin685.fits evtable="EVENTS" scfile=/scratch/kocevski/118076/ft2_4FGL_J0609.0-2219_daily_bin685.fits sctable="SC_DATA" expcube=/scratch/kocevski/118076/ltcube_416880001_417139201_4FGL_J0609.0-2219_daily_bin685.fits outfile=/scratch/kocevski/118076/expmap_416880001_417139201_4FGL_J0609.0-2219_daily_bin685.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/118076/ltcube_416880001_417139201_4FGL_J0609.0-2219_daily_bin685.fits
.....................!
real 190.16
user 185.21
sys 4.16

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 152 point sources and 0 extended sources

Setting source of interest to:
4FGL J0609.0-2219 @ 92.262 -22.3316

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/118076/ft1_filtered_4FGL_J0609.0-2219_daily_bin685.fits scfile=/scratch/kocevski/118076/ft2_4FGL_J0609.0-2219_daily_bin685.fits outfile=/scratch/kocevski/118076/cmap_416880001_417139201_4FGL_J0609.0-2219_daily_bin685.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.262 yref=-22.3316 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.67
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/118076/ft1_filtered_4FGL_J0609.0-2219_daily_bin685.fits scfile=/scratch/kocevski/118076/ft2_4FGL_J0609.0-2219_daily_bin685.fits outfile=/scratch/kocevski/118076/cmap_HighResolution_416880001_417139201_4FGL_J0609.0-2219_daily_bin685.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.262 yref=-22.3316 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.69
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/118076/ft1_filtered_4FGL_J0609.0-2219_daily_bin685.fits evtable="EVENTS" scfile=/scratch/kocevski/118076/ft2_4FGL_J0609.0-2219_daily_bin685.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/118076/Model_4FGL_J0609.0-2219_daily_bin685.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/118076/ft1_filtered_4FGL_J0609.0-2219_daily_bin685.fits.....................!
real 114.61
user 112.43
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/118076/ft1_filtered_4FGL_J0609.0-2219_daily_bin685.fits', '/scratch/kocevski/118076/ft2_4FGL_J0609.0-2219_daily_bin685.fits', expMap='/scratch/kocevski/118076/expmap_416880001_417139201_4FGL_J0609.0-2219_daily_bin685.fits', expCube='/scratch/kocevski/118076/ltcube_416880001_417139201_4FGL_J0609.0-2219_daily_bin685.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/118076/Model_4FGL_J0609.0-2219_daily_bin685.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0609.0-2219'

4FGL J0609.0-2219
   Spectrum: PowerLaw
249    Prefactor:  5.649e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
250        Index:  2.240e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  1.847e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/118076/ft1_filtered_4FGL_J0609.0-2219_daily_bin685.fits
Spacecraft file(s): /scratch/kocevski/118076/ft2_4FGL_J0609.0-2219_daily_bin685.fits
Exposure map: /scratch/kocevski/118076/expmap_416880001_417139201_4FGL_J0609.0-2219_daily_bin685.fits
Exposure cube: /scratch/kocevski/118076/ltcube_416880001_417139201_4FGL_J0609.0-2219_daily_bin685.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/118076/Model_4FGL_J0609.0-2219_daily_bin685.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) = 7178.51484918

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11299E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.6769       1.0000         .10000E-03   10000.    
     3 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .91349E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.352       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10222E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.223       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.5399       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10256E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10112E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.559       1.0000         .10000E-03   10000.    
    22 'norm      '    5.5796       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10631E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.3858       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .90139       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7178.512     FROM MIGRAD    STATUS=CONVERGED    646 CALLS     3075 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    93.251        .23542E-06** at limit **
   2  norm          2.6742        2.9988       -.96070E-07   -.18016E-03
   3  norm          .10000E-03    14.195        .55540E-08** at limit **
   4  norm          .10000E-03    6.0464        .58040E-07** at limit **
   5  Prefactor     .10006E-03    5.2690       -.28508E-06** at limit **
   6  Prefactor     14.358        12.184       -.82123E-07   -.23725E-03
   7  Prefactor     .10000E-03    51.230       -.14658E-06** at limit **
   8  Prefactor     .10000E-03    22.298        .49534E-06** at limit **
   9  Prefactor     30.198        55.221       -.18086E-05   -.12100E-03
  10  Prefactor     .10000E-03    21.037       -.62565E-06** at limit **
  11  Prefactor     .10000E-03    21.654       -.21234E-06** at limit **
  12  Prefactor     .10000E-03    34.423        .21520E-06** at limit **
  13  norm          .10000E-03    4.0197       -.43628E-06** at limit **
  14  Prefactor     .10000E-03    5.9536        .57684E-07** at limit **
  15  Prefactor     2.5357        7.8973        .57289E-05   -.37097E-03
  16  Prefactor     .10001E-03    55.586       -.61590E-06** at limit **
  17  norm          .10000E-03    17.785        .92684E-07** at limit **
  18  norm          .10000E-03    2.4738        .10864E-06** at limit **
  19  norm          .10000E-03    1.3903        .35048E-06** at limit **
  20  norm          .10000E-03    21.311        .13903E-05** at limit **
  21  Prefactor     10.556        7.7115       -.52656E-06   -.45255E-03
  22  norm          5.5801        5.7081        .15740E-06   -.54735E-05
  23  Prefactor     .10000E-03    2.3009        .13021E-06** at limit **
  24  norm          .10000E-03    48.851       -.56000E-06** at limit **
  25  Normalizat    1.3864        .24330        .18229E-05   -.68607E-04
  26  Prefactor     .90128        .78971E-01   -.13150E-05   -.97854E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 2.67424
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100058
  Prefactor  = 14.3579
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.1983
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.53567
  Prefactor  = 0.000100005
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.000100003
  Prefactor  = 10.5561
  norm       = 5.58007
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.38641
  Prefactor  = 0.90128
 **********
 **   18 **HESSE 
 **********

 FCN=   7178.512     FROM HESSE     STATUS=OK           452 CALLS     3527 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    93.735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.6742        3.0294        .14504E-03   -1.5381    
   3  norm          .10000E-03    14.212        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    6.0604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10006E-03    11.476        .57060E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.358        12.201        .10573E-03   -1.4950    
   7  Prefactor     .10000E-03    51.274        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    22.470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     30.198        55.770        .72880E-04   -1.4608    
  10  Prefactor     .10000E-03    21.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    21.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    34.565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.0758        .16627E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.9593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.5357        8.0095        .12813E-02   -1.5389    
  16  Prefactor     .10001E-03    56.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    17.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.4836        .13016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.4362        .19477E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    21.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.556        7.6944        .12330E-03   -1.5058    
  22  norm          5.5801        5.7130        .17008E-03   -1.5235    
  23  Prefactor     .10000E-03    2.3472        .12541E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    48.902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.3864        .27249        .37468E-03   -.81022    
  26  Prefactor     .90128        .87941E-01    .16290E-03   -.96096    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71994e-09
Minuit parameter uncertainties:
  1  0.000512668
  2  3.02958
  3  1.11115e-05
  4  9.01624e-06
  5  0.00163023
  6  12.2035
  7  1.46512e-05
  8  1.41217e-05
  9  55.866
  10  3.24201e-05
  11  3.75606e-05
  12  9.2874e-05
  13  6.762e-05
  14  8.88117e-06
  15  8.01293
  16  0.00107212
  17  4.11711e-06
  18  1.31032e-05
  19  3.06575e-05
  20  0.000478421
  21  7.69517
  22  5.71354
  23  1.55374e-05
  24  0.000158012
  25  0.272774
  26  0.0879552
Done.

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

Extracting fit parameters...

4FGL J0609.0-2219
   Spectrum: PowerLaw
249    Prefactor:  1.000e-04  1.465e-05  1.000e-04  1.000e+04 ( 1.000e-14)
250        Index:  2.240e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  1.847e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  9.013e-01  8.796e-02  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.386e+00  2.728e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 92.262 -22.332
Photon Flux Upper Limit: 9.32e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/118076/likelihoodResults_416880001_417139201_4FGL_J0609.0-2219_daily_bin685.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) = 7178.51212408
delta logL = -9.27537839743e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7178.51203133
delta logL = -9.50967660174e-09

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     '    2.2646       1.0000          .0000       10.000    
     3 'Normalizat'    1.3864       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90128       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7178.512     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      202 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9021.7        .90712E-02** at limit **
   2  Index         2.2614        7.7451        .50000        .51759E-06
   3  Normalizat    1.3864        .20792        .84634E-01    .62087E-03
   4  Prefactor     .90128        .74917E-01    .45021E-01    .67602E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.26138
  Normalizat = 1.38642
  Prefactor  = 0.901281
 **********
 **   18 **HESSE 
 **********

 FCN=   7178.512     FROM HESSE     STATUS=OK            29 CALLS      231 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    199.79        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2614        5.0409        .50000       -.57964    
   3  Normalizat    1.3864        .23244        .37468E-03   -.81022    
   4  Prefactor     .90128        .84302E-01    .16290E-03   -.96096    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00354e-09
Minuit parameter uncertainties:
  1  0.00108661
  2  8.37386
  3  0.232616
  4  0.0843143
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/118076': 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) = 7178.51203133
delta logL = -2.70756572718e-09

Extracting fit parameters...

4FGL J0609.0-2219
   Spectrum: PowerLaw
249    Prefactor:  1.000e-04  1.087e-03  1.000e-04  1.000e+04 ( 1.000e-14)
250        Index:  2.261e+00  8.374e+00  0.000e+00  1.000e+01 (-1.000e+00)
251        Scale:  1.847e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  9.013e-01  8.431e-02  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.386e+00  2.326e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 92.262 -22.332

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/118076/cmap_HighResolution_416880001_417139201_4FGL_J0609.0-2219_daily_bin685.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.13e-03', job_status='DONE', photon_flux_upper_limit='9.32e-08', time_completed='2021-08-24 13:40:47.927836', job_id='118076', GAL2='0.90', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1629837647.93', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='-2.71e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='685' AND source_name='4FGL J0609.0-2219' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 13:40:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 118076: <4FGL_J0609.0-2219_daily_bin685> in cluster <slac> Done

Job <4FGL_J0609.0-2219_daily_bin685> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 24 13:25:36 2021
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 13:25:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 24 13:25:38 2021
Terminated at Tue Aug 24 13:40:48 2021
Results reported at Tue Aug 24 13:40:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0609.0-2219_daily_bin685 92.262 -22.3316 416880001 417139201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0609.0-2219 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   766.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             345.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            912 sec.

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

