/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 23 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 = 7374
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0608.1-1521_daily_bin1392
RA = 92.0302, Dec = -15.3639
tmin = 600134401, tmax = 600393601
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='40954', job_status='RUN', time_executed='2021-08-24 09:02:15.969786', time_epoch_executed='1629820935.97' WHERE source_name='4FGL J0608.1-1521' and cadence='daily' and bin_id='1392'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/40954

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/40954/ft1_4FGL_J0608.1-1521_daily_bin1392.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/40954/ft2_4FGL_J0608.1-1521_daily_bin1392.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/40954/ft1_4FGL_J0608.1-1521_daily_bin1392.fits outfile=/scratch/kocevski/40954/ft1_filteredMKT_4FGL_J0608.1-1521_daily_bin1392.fits ra=92.0302 dec=-15.3639 rad=12.0 tmin=600134401.0 tmax=600393601.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 8.47
user 4.60
sys 1.13

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/40954/ft2_4FGL_J0608.1-1521_daily_bin1392.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/40954/ft2_4FGL_J0608.1-1521_daily_bin1392.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/40954/ft1_filteredMKT_4FGL_J0608.1-1521_daily_bin1392.fits evtable="EVENTS" outfile="/scratch/kocevski/40954/ft1_filtered_4FGL_J0608.1-1521_daily_bin1392.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 2.14
user 0.33
sys 1.04

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/40954/ft1_filtered_4FGL_J0608.1-1521_daily_bin1392.fits" evtable="EVENTS" scfile=/scratch/kocevski/40954/ft2_4FGL_J0608.1-1521_daily_bin1392.fits sctable="SC_DATA" outfile=/scratch/kocevski/40954/ltcube_600134401_600393601_4FGL_J0608.1-1521_daily_bin1392.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/40954/ft2_4FGL_J0608.1-1521_daily_bin1392.fits
.....................!
real 13.37
user 11.61
sys 1.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/40954/ft1_filtered_4FGL_J0608.1-1521_daily_bin1392.fits evtable="EVENTS" scfile=/scratch/kocevski/40954/ft2_4FGL_J0608.1-1521_daily_bin1392.fits sctable="SC_DATA" expcube=/scratch/kocevski/40954/ltcube_600134401_600393601_4FGL_J0608.1-1521_daily_bin1392.fits outfile=/scratch/kocevski/40954/expmap_600134401_600393601_4FGL_J0608.1-1521_daily_bin1392.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/40954/ltcube_600134401_600393601_4FGL_J0608.1-1521_daily_bin1392.fits
.....................!
real 199.07
user 185.05
sys 5.99

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
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Added 147 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0608.1-1521 @ 92.0302 -15.3639

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/40954/ft1_filtered_4FGL_J0608.1-1521_daily_bin1392.fits scfile=/scratch/kocevski/40954/ft2_4FGL_J0608.1-1521_daily_bin1392.fits outfile=/scratch/kocevski/40954/cmap_600134401_600393601_4FGL_J0608.1-1521_daily_bin1392.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.0302 yref=-15.3639 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.41
user 0.38
sys 1.01

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/40954/ft1_filtered_4FGL_J0608.1-1521_daily_bin1392.fits scfile=/scratch/kocevski/40954/ft2_4FGL_J0608.1-1521_daily_bin1392.fits outfile=/scratch/kocevski/40954/cmap_HighResolution_600134401_600393601_4FGL_J0608.1-1521_daily_bin1392.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.0302 yref=-15.3639 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.41
user 0.37
sys 1.03

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/40954/ft1_filtered_4FGL_J0608.1-1521_daily_bin1392.fits evtable="EVENTS" scfile=/scratch/kocevski/40954/ft2_4FGL_J0608.1-1521_daily_bin1392.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/40954/Model_4FGL_J0608.1-1521_daily_bin1392.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
adding source Rosette
Working on...
/scratch/kocevski/40954/ft1_filtered_4FGL_J0608.1-1521_daily_bin1392.fits.....................!
real 170.57
user 167.56
sys 2.44

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/40954/ft1_filtered_4FGL_J0608.1-1521_daily_bin1392.fits', '/scratch/kocevski/40954/ft2_4FGL_J0608.1-1521_daily_bin1392.fits', expMap='/scratch/kocevski/40954/expmap_600134401_600393601_4FGL_J0608.1-1521_daily_bin1392.fits', expCube='/scratch/kocevski/40954/ltcube_600134401_600393601_4FGL_J0608.1-1521_daily_bin1392.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/40954/Model_4FGL_J0608.1-1521_daily_bin1392.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0608.1-1521'

4FGL J0608.1-1521
   Spectrum: PowerLaw
254    Prefactor:  4.661e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
255        Index:  2.583e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  6.117e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/40954/ft1_filtered_4FGL_J0608.1-1521_daily_bin1392.fits
Spacecraft file(s): /scratch/kocevski/40954/ft2_4FGL_J0608.1-1521_daily_bin1392.fits
Exposure map: /scratch/kocevski/40954/expmap_600134401_600393601_4FGL_J0608.1-1521_daily_bin1392.fits
Exposure cube: /scratch/kocevski/40954/ltcube_600134401_600393601_4FGL_J0608.1-1521_daily_bin1392.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/40954/Model_4FGL_J0608.1-1521_daily_bin1392.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) = 9682.4094514

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.6346       1.0000         .10000E-03   10000.    
     2 'norm      '    16.020       1.0000         .10000E-03   10000.    
     3 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .50263E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10198E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    50.901       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    62.583       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.464       1.0000         .10000E-03   10000.    
    11 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.7455       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .63540E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    .10248E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.3779       1.0000         .10000E-03   10000.    
    18 'norm      '    22.947       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.9068       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2167       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .89332       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9682.401     FROM MIGRAD    STATUS=CONVERGED    447 CALLS     2255 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.6329        5.3714        .13571E-05   -.12469E-03
   2  norm          16.020        20.876        .13154E-06   -.78950E-06
   3  norm          .10000E-03    5.7123        .11786E-06** at limit **
   4  Prefactor     .10000E-03    5.6905        .14765E-05** at limit **
   5  norm          .10000E-03    7.8686       -.40459E-06** at limit **
   6  Prefactor     .10000E-03    10.357       -.57306E-06** at limit **
   7  Prefactor     50.987        104.23       -.91304E-05    .17324E-05
   8  Prefactor     .10000E-03    5.4038        .27985E-06** at limit **
   9  Prefactor     62.584        65.673        .20298E-05    .26460E-04
  10  Prefactor     14.452        36.067        .38801E-05    .48196E-04
  11  norm          .10000E-03    1.6566        .19984E-06** at limit **
  12  Prefactor     .10000E-03    13.977        .20775E-05** at limit **
  13  Prefactor     3.7462        3.7098       -.97411E-06    .21130E-03
  14  norm          .10000E-03    1.7737        .94274E-07** at limit **
  15  norm          .63773E-01    .77718       -.39585E-06    .11433E-03
  16  norm          .10000E-03    4.5778        .16115E-06** at limit **
  17  Prefactor     2.3760        5.9108        .82459E-05   -.33524E-03
  18  norm          22.946        11.605       -.50285E-06   -.18817E-04
  19  Prefactor     8.9068        5.1060        .62889E-06   -.18715E-03
  20  Normalizat    1.2163        .26235       -.71449E-05   -.13187E-03
  21  Prefactor     .89341        .58366E-01    .10262E-05    .10650E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 6.63286
  norm       = 16.0199
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 50.9867
  Prefactor  = 0.0001
  Prefactor  = 62.5837
  Prefactor  = 14.4519
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 3.74619
  norm       = 0.0001
  norm       = 0.063773
  norm       = 0.0001
  Prefactor  = 2.37603
  norm       = 22.9465
  Prefactor  = 8.90684
  Normalizat = 1.21629
  Prefactor  = 0.893407
 **********
 **   18 **HESSE 
 **********

 FCN=   9682.401     FROM HESSE     STATUS=OK           321 CALLS     2576 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.6329        5.4008        .77896E-03   -1.5193    
   2  norm          16.020        20.874        .10007E-03   -1.4907    
   3  norm          .10000E-03    5.7245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.7976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    49.147        .52623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     50.987        104.27        .28106E-03   -1.4279    
   8  Prefactor     .10000E-03    5.4087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     62.584        65.995        .50723E-04   -1.4124    
  10  Prefactor     14.452        36.106        .10532E-03   -1.4947    
  11  norm          .10000E-03    1.6585        .12370E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.7462        3.7199        .91976E-03   -1.5321    
  14  norm          .10000E-03    1.7779        .12798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .63773E-01    2.8057        .16533E-02   -1.5657    
  16  norm          .10000E-03    4.5936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.3760        6.0274        .13283E-02   -1.5400    
  18  norm          22.946        11.596        .83619E-04   -1.4750    
  19  Prefactor     8.9068        5.1016        .67151E-03   -1.5111    
  20  Normalizat    1.2163        .27509        .50988E-03   -.86101    
  21  Prefactor     .89341        .61949E-01    .13820E-03   -.96372    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01454e-09
Minuit parameter uncertainties:
  1  5.40118
  2  20.8837
  3  1.41981e-05
  4  0.000202701
  5  0.000323684
  6  8.65357e-05
  7  104.648
  8  4.38191e-05
  9  66.0725
  10  36.1611
  11  1.32669e-05
  12  0.00041235
  13  3.72016
  14  5.41296e-06
  15  0.84538
  16  1.06822e-06
  17  6.02898
  18  11.5969
  19  5.10189
  20  0.275419
  21  0.0619538
Done.

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

Extracting fit parameters...

4FGL J0608.1-1521
   Spectrum: PowerLaw
254    Prefactor:  1.000e-04  8.654e-05  1.000e-04  1.000e+04 ( 1.000e-12)
255        Index:  2.583e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  6.117e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  8.934e-01  6.195e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.216e+00  2.754e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 92.030 -15.364
Photon Flux Upper Limit: 1.50e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.17e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/40954/likelihoodResults_600134401_600393601_4FGL_J0608.1-1521_daily_bin1392.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) = 9682.40145091
delta logL = -0.000453700815342

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9682.40099722
delta logL = -1.52740540216e-08

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.5846       1.0000          .0000       10.000    
     3 'Normalizat'    1.2163       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89341       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5070E+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=   9682.029     FROM MIGRAD    STATUS=CONVERGED    168 CALLS      312 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .29669E-03    .12813E-01    .54225E-03** at limit **
   2  Index         9.4345        9.1891        .92993E-01   -.45353E-04
   3  Normalizat    1.1486        .87040E-01    .50989E-03   -.90567E-04
   4  Prefactor     .90048        .19978E-01    .13820E-03   -.24330E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000296686
  Index      = 9.43448
  Normalizat = 1.14863
  Prefactor  = 0.900481
 **********
 **   18 **HESSE 
 **********

 FCN=   9682.029     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      341 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .29669E-03    .34135E-01    .22639E-04   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         9.4345        8.9524        .29632E-02    2.0510    
   3  Normalizat    1.1486        .22229        .20396E-04   -.88206    
   4  Prefactor     .90048        .51099E-01    .27640E-04   -.96124    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.77402e-06
Minuit parameter uncertainties:
  1  0.0051822
  2  10.2222
  3  0.222467
  4  0.0511019
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/40954': 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) = 9682.02892108
delta logL = 0.372076127291

Extracting fit parameters...

4FGL J0608.1-1521
   Spectrum: PowerLaw
254    Prefactor:  2.967e-04  5.182e-03  1.000e-04  1.000e+04 ( 1.000e-12)
255        Index:  9.434e+00  1.022e+01  0.000e+00  1.000e+01 (-1.000e+00)
256        Scale:  6.117e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  9.005e-01  5.110e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.149e+00  2.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 92.030 -15.364

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/40954/cmap_HighResolution_600134401_600393601_4FGL_J0608.1-1521_daily_bin1392.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.17e-02', job_status='DONE', photon_flux_upper_limit='1.50e-07', time_completed='2021-08-24 09:16:22.367269', job_id='40954', GAL2='0.90', fit_tolerance='1e-08', EG2='1.15', EG='1.22', time_epoch_completed='1629821782.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.72e-01', ts2='0.81', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1392' AND source_name='4FGL J0608.1-1521' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 09:16:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 40954: <4FGL_J0608.1-1521_daily_bin1392> in cluster <slac> Done

Job <4FGL_J0608.1-1521_daily_bin1392> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 24 09:00:52 2021
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 09:00:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 24 09:00:53 2021
Terminated at Tue Aug 24 09:16:23 2021
Results reported at Tue Aug 24 09:16:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0608.1-1521_daily_bin1392 92.0302 -15.3639 600134401 600393601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0608.1-1521 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   842.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             333.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            931 sec.

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

