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


Performing analysis on: 4FGL_J0622.3-2605_daily_bin1561
RA = 95.5956, Dec = -26.0963
tmin = 643939201, tmax = 644198401
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='320851', job_status='RUN', time_executed='2021-08-24 22:35:44.085812', time_epoch_executed='1629869744.09' WHERE source_name='4FGL J0622.3-2605' and cadence='daily' and bin_id='1561'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/320851

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/320851/ft1_4FGL_J0622.3-2605_daily_bin1561.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/320851/ft2_4FGL_J0622.3-2605_daily_bin1561.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/320851/ft1_4FGL_J0622.3-2605_daily_bin1561.fits outfile=/scratch/kocevski/320851/ft1_filteredMKT_4FGL_J0622.3-2605_daily_bin1561.fits ra=95.5956 dec=-26.0963 rad=12.0 tmin=643939201.0 tmax=644198401.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.76
user 4.27
sys 0.45

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/320851/ft2_4FGL_J0622.3-2605_daily_bin1561.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/320851/ft2_4FGL_J0622.3-2605_daily_bin1561.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/320851/ft1_filteredMKT_4FGL_J0622.3-2605_daily_bin1561.fits evtable="EVENTS" outfile="/scratch/kocevski/320851/ft1_filtered_4FGL_J0622.3-2605_daily_bin1561.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.72
user 0.34
sys 0.37

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/320851/ft1_filtered_4FGL_J0622.3-2605_daily_bin1561.fits" evtable="EVENTS" scfile=/scratch/kocevski/320851/ft2_4FGL_J0622.3-2605_daily_bin1561.fits sctable="SC_DATA" outfile=/scratch/kocevski/320851/ltcube_643939201_644198401_4FGL_J0622.3-2605_daily_bin1561.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/320851/ft2_4FGL_J0622.3-2605_daily_bin1561.fits
.....................!
real 13.79
user 13.12
sys 0.57

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/320851/ft1_filtered_4FGL_J0622.3-2605_daily_bin1561.fits evtable="EVENTS" scfile=/scratch/kocevski/320851/ft2_4FGL_J0622.3-2605_daily_bin1561.fits sctable="SC_DATA" expcube=/scratch/kocevski/320851/ltcube_643939201_644198401_4FGL_J0622.3-2605_daily_bin1561.fits outfile=/scratch/kocevski/320851/expmap_643939201_644198401_4FGL_J0622.3-2605_daily_bin1561.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/320851/ltcube_643939201_644198401_4FGL_J0622.3-2605_daily_bin1561.fits
.....................!
real 193.09
user 186.72
sys 5.48

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 J0622.3-2605 @ 95.5956 -26.0963

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/320851/ft1_filtered_4FGL_J0622.3-2605_daily_bin1561.fits scfile=/scratch/kocevski/320851/ft2_4FGL_J0622.3-2605_daily_bin1561.fits outfile=/scratch/kocevski/320851/cmap_643939201_644198401_4FGL_J0622.3-2605_daily_bin1561.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=95.5956 yref=-26.0963 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.60
user 0.39
sys 0.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/320851/ft1_filtered_4FGL_J0622.3-2605_daily_bin1561.fits scfile=/scratch/kocevski/320851/ft2_4FGL_J0622.3-2605_daily_bin1561.fits outfile=/scratch/kocevski/320851/cmap_HighResolution_643939201_644198401_4FGL_J0622.3-2605_daily_bin1561.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=95.5956 yref=-26.0963 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.93
user 0.40
sys 0.36

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/320851/ft1_filtered_4FGL_J0622.3-2605_daily_bin1561.fits evtable="EVENTS" scfile=/scratch/kocevski/320851/ft2_4FGL_J0622.3-2605_daily_bin1561.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/320851/Model_4FGL_J0622.3-2605_daily_bin1561.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/320851/ft1_filtered_4FGL_J0622.3-2605_daily_bin1561.fits.....................!
real 116.40
user 112.68
sys 1.69

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/320851/ft1_filtered_4FGL_J0622.3-2605_daily_bin1561.fits', '/scratch/kocevski/320851/ft2_4FGL_J0622.3-2605_daily_bin1561.fits', expMap='/scratch/kocevski/320851/expmap_643939201_644198401_4FGL_J0622.3-2605_daily_bin1561.fits', expCube='/scratch/kocevski/320851/ltcube_643939201_644198401_4FGL_J0622.3-2605_daily_bin1561.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/320851/Model_4FGL_J0622.3-2605_daily_bin1561.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0622.3-2605'

4FGL J0622.3-2605
   Spectrum: PowerLaw
278    Prefactor:  3.826e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  1.909e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  2.311e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/320851/ft1_filtered_4FGL_J0622.3-2605_daily_bin1561.fits
Spacecraft file(s): /scratch/kocevski/320851/ft2_4FGL_J0622.3-2605_daily_bin1561.fits
Exposure map: /scratch/kocevski/320851/expmap_643939201_644198401_4FGL_J0622.3-2605_daily_bin1561.fits
Exposure cube: /scratch/kocevski/320851/ltcube_643939201_644198401_4FGL_J0622.3-2605_daily_bin1561.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/320851/Model_4FGL_J0622.3-2605_daily_bin1561.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) = 7883.34910631

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.693       1.0000         .10000E-03   10000.    
     2 'norm      '    7.7783       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10309E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.2643       1.0000         .10000E-03   10000.    
     5 'Prefactor '    131.06       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11075E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    73.580       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.1084       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10788E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .15258E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    29.525       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.7233       1.0000         .10000E-03   10000.    
    16 'norm      '    .10050E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.8080       1.0000         .10000E-03   10000.    
    18 'norm      '    16.395       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.9232       1.0000         .10000E-03   10000.    
    20 'norm      '    .17478E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    5.0460       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    16.752       1.0000         .10000E-03   10000.    
    24 'norm      '    28.260       1.0000         .10000E-03   10000.    
    25 'norm      '    40.032       1.0000         .10000E-03   10000.    
    26 'norm      '    .84659       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2856       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .89156       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7883.313     FROM MIGRAD    STATUS=CONVERGED    696 CALLS     3055 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.694        3.9375        .55653E-07   -.26118E-04
   2  norm          7.7780        10.810        .12479E-06   -.38136E-05
   3  Prefactor     .10000E-03    3.8771       -.16816E-06** at limit **
   4  Prefactor     7.2626        11.734        .37641E-05   -.12213E-03
   5  Prefactor     131.05        89.117       -.82538E-07   -.33958E-04
   6  Prefactor     .10000E-03    27.498       -.58597E-06** at limit **
   7  Prefactor     73.575        45.526        .10461E-06   -.16963E-04
   8  Prefactor     .10000E-03    16.477        .52899E-06** at limit **
   9  Prefactor     .10000E-03    17.202       -.14464E-06** at limit **
  10  norm          2.1090        5.1624        .87810E-06   -.39943E-04
  11  Prefactor     .10000E-03    21.731       -.10740E-06** at limit **
  12  Prefactor     .10000E-03    2.7942       -.72983E-07** at limit **
  13  Prefactor     .10000E-03    63.617        .68906E-06** at limit **
  14  norm          29.504        32.062        .10806E-05    .22242E-03
  15  Prefactor     4.7228        4.6124       -.75060E-08    .12904E-05
  16  norm          .10000E-03    2.8724       -.20808E-07** at limit **
  17  norm          2.8079        2.0627       -.12842E-07   -.44687E-04
  18  norm          16.393        14.269       -.41411E-07   -.26197E-04
  19  Prefactor     4.9241        8.6210        .38827E-06   -.27453E-04
  20  norm          .10000E-03    21.530       -.36935E-06** at limit **
  21  norm          5.0453        7.8058        .11674E-06   -.38658E-04
  22  Prefactor     .10000E-03    14.230       -.83738E-07** at limit **
  23  Prefactor     16.750        6.7073       -.24884E-07   -.12979E-03
  24  norm          27.998        64.414        .11127E-06   -.42188E-04
  25  norm          40.036        44.419        .66540E-06    .78367E-04
  26  norm          .84725        4.5191        .29152E-05   -.13457E-03
  27  Normalizat    1.2854        .23629       -.62744E-06   -.67477E-04
  28  Prefactor     .89164        .89886E-01   -.68321E-06   -.13578E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.6935
  norm       = 7.77801
  Prefactor  = 0.0001
  Prefactor  = 7.26258
  Prefactor  = 131.053
  Prefactor  = 0.0001
  Prefactor  = 73.5754
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.10905
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 29.504
  Prefactor  = 4.72276
  norm       = 0.0001
  norm       = 2.80791
  norm       = 16.3933
  Prefactor  = 4.92414
  norm       = 0.0001
  norm       = 5.04528
  Prefactor  = 0.0001
  Prefactor  = 16.7498
  norm       = 27.9983
  norm       = 40.0357
  norm       = 0.847247
  Normalizat = 1.28542
  Prefactor  = 0.891635
 **********
 **   18 **HESSE 
 **********

 FCN=   7883.313     FROM HESSE     STATUS=OK           517 CALLS     3572 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.694        3.9723        .78026E-04   -1.4866    
   2  norm          7.7780        10.807        .14378E-03   -1.5150    
   3  Prefactor     .10000E-03    3.8933        .17067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.2626        11.766        .74410E-03   -1.5169    
   5  Prefactor     131.05        89.254        .17586E-03   -1.3413    
   6  Prefactor     .10000E-03    27.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     73.575        45.665        .46805E-04   -1.3990    
   8  Prefactor     .10000E-03    16.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.1090        5.1218        .28414E-03   -1.5418    
  11  Prefactor     .10000E-03    22.012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.7991        .14481E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    65.736        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          29.504        32.113        .73734E-04   -1.4621    
  15  Prefactor     4.7228        4.6158        .18244E-03   -1.5273    
  16  norm          .10000E-03    2.8869        .14692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.8079        2.0551        .10132E-03   -1.5373    
  18  norm          16.393        14.167        .98915E-04   -1.4898    
  19  Prefactor     4.9241        8.5259        .18127E-03   -1.5264    
  20  norm          .10000E-03    21.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.0453        7.7826        .17900E-03   -1.5259    
  22  Prefactor     .10000E-03    14.428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     16.750        6.7199        .97856E-04   -1.4889    
  24  norm          27.998        64.497        .75362E-04   -1.4649    
  25  norm          40.036        44.463        .31676E-03   -1.4442    
  26  norm          .84725        4.5992        .34906E-03   -1.5524    
  27  Normalizat    1.2854        .25959        .39519E-03   -.84002    
  28  Prefactor     .89164        .98461E-01    .17773E-03   -.96434    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35328e-10
Minuit parameter uncertainties:
  1  3.97238
  2  10.8101
  3  2.56232e-06
  4  11.7693
  5  89.346
  6  7.25915e-05
  7  45.6871
  8  0.000113022
  9  0.000123352
  10  5.1229
  11  2.39183e-05
  12  5.25214e-06
  13  1.76442e-05
  14  32.1315
  15  4.61613
  16  9.38979e-07
  17  2.05514
  18  14.1698
  19  8.52804
  20  6.30367e-05
  21  7.78412
  22  1.16426e-05
  23  6.72023
  24  64.658
  25  44.5002
  26  3.94824
  27  0.259853
  28  0.0984805
Done.

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

Extracting fit parameters...

4FGL J0622.3-2605
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  5.252e-06  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  1.909e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  2.311e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
515    Prefactor:  8.916e-01  9.848e-02  0.000e+00  1.000e+01 ( 1.000e+00)
516        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
517        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
514   Normalization:  1.285e+00  2.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 95.596 -26.096
Photon Flux Upper Limit: 5.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/320851/likelihoodResults_643939201_644198401_4FGL_J0622.3-2605_daily_bin1561.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) = 7883.31434691
delta logL = -0.00169191156692

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7883.31265498
delta logL = 1.46364982356e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9044       1.0000          .0000       10.000    
     3 'Normalizat'    1.2854       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89164       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7883.313     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      206 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    95.800        .90712E-02** at limit **
   2  Index         1.8998        5.9224        .50000        .12325E-04
   3  Normalizat    1.2854        .41307E-01    .89236E-01    .58157E-05
   4  Prefactor     .89164        .15892E-01    .44898E-01   -.14843E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.8998
  Normalizat = 1.28543
  Prefactor  = 0.891635
 **********
 **   18 **HESSE 
 **********

 FCN=   7883.313     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      237 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    231.24        .14494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8998        7.4446        .50000       -.66879    
   3  Normalizat    1.2854        .68367E-01    .39519E-03   -.84002    
   4  Prefactor     .89164        .26354E-01    .17773E-03   -.96434    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.15859e-08
Minuit parameter uncertainties:
  1  2.69368e-05
  2  35.7838
  3  0.068372
  4  0.0263545
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/320851': 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) = 7883.31265497
delta logL = 2.95540303341e-08

Extracting fit parameters...

4FGL J0622.3-2605
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  2.694e-05  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  1.900e+00  3.578e+01  0.000e+00  1.000e+01 (-1.000e+00)
280        Scale:  2.311e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
515    Prefactor:  8.916e-01  2.635e-02  0.000e+00  1.000e+01 ( 1.000e+00)
516        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
517        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
514   Normalization:  1.285e+00  6.837e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 95.596 -26.096

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/320851/cmap_HighResolution_643939201_644198401_4FGL_J0622.3-2605_daily_bin1561.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.34e-03', job_status='DONE', photon_flux_upper_limit='5.83e-08', time_completed='2021-08-24 22:50:04.529650', job_id='320851', GAL2='0.89', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1629870604.53', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='2.96e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.91' WHERE bin_id='1561' AND source_name='4FGL J0622.3-2605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 22:50:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 320851: <4FGL_J0622.3-2605_daily_bin1561> in cluster <slac> Done

Job <4FGL_J0622.3-2605_daily_bin1561> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 24 22:35:25 2021
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 22:35:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 24 22:35:26 2021
Terminated at Tue Aug 24 22:50:05 2021
Results reported at Tue Aug 24 22:50:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0622.3-2605_daily_bin1561 95.5956 -26.0963 643939201 644198401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0622.3-2605 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   858.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            880 sec.

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

