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


Performing analysis on: 4FGL_J0622.3-2605_daily_bin1276
RA = 95.5956, Dec = -26.0963
tmin = 570067201, tmax = 570326401
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='319279', job_status='RUN', time_executed='2021-08-24 22:32:03.504865', time_epoch_executed='1629869523.5' WHERE source_name='4FGL J0622.3-2605' and cadence='daily' and bin_id='1276'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319279

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319279/ft1_4FGL_J0622.3-2605_daily_bin1276.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319279/ft2_4FGL_J0622.3-2605_daily_bin1276.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319279/ft1_4FGL_J0622.3-2605_daily_bin1276.fits outfile=/scratch/kocevski/319279/ft1_filteredMKT_4FGL_J0622.3-2605_daily_bin1276.fits ra=95.5956 dec=-26.0963 rad=12.0 tmin=570067201.0 tmax=570326401.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.52
user 3.38
sys 0.84

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/319279/ft2_4FGL_J0622.3-2605_daily_bin1276.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/319279/ft1_filteredMKT_4FGL_J0622.3-2605_daily_bin1276.fits evtable="EVENTS" outfile="/scratch/kocevski/319279/ft1_filtered_4FGL_J0622.3-2605_daily_bin1276.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.68
user 0.32
sys 0.81

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319279/ft1_filtered_4FGL_J0622.3-2605_daily_bin1276.fits" evtable="EVENTS" scfile=/scratch/kocevski/319279/ft2_4FGL_J0622.3-2605_daily_bin1276.fits sctable="SC_DATA" outfile=/scratch/kocevski/319279/ltcube_570067201_570326401_4FGL_J0622.3-2605_daily_bin1276.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/319279/ft2_4FGL_J0622.3-2605_daily_bin1276.fits
.....................!
real 13.33
user 11.69
sys 1.11

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319279/ft1_filtered_4FGL_J0622.3-2605_daily_bin1276.fits evtable="EVENTS" scfile=/scratch/kocevski/319279/ft2_4FGL_J0622.3-2605_daily_bin1276.fits sctable="SC_DATA" expcube=/scratch/kocevski/319279/ltcube_570067201_570326401_4FGL_J0622.3-2605_daily_bin1276.fits outfile=/scratch/kocevski/319279/expmap_570067201_570326401_4FGL_J0622.3-2605_daily_bin1276.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/319279/ltcube_570067201_570326401_4FGL_J0622.3-2605_daily_bin1276.fits
.....................!
real 193.72
user 185.38
sys 6.19

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/319279/ft1_filtered_4FGL_J0622.3-2605_daily_bin1276.fits scfile=/scratch/kocevski/319279/ft2_4FGL_J0622.3-2605_daily_bin1276.fits outfile=/scratch/kocevski/319279/cmap_570067201_570326401_4FGL_J0622.3-2605_daily_bin1276.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.18
user 0.38
sys 0.78

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/319279/ft1_filtered_4FGL_J0622.3-2605_daily_bin1276.fits scfile=/scratch/kocevski/319279/ft2_4FGL_J0622.3-2605_daily_bin1276.fits outfile=/scratch/kocevski/319279/cmap_HighResolution_570067201_570326401_4FGL_J0622.3-2605_daily_bin1276.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 1.21
user 0.38
sys 0.80

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/319279/ft1_filtered_4FGL_J0622.3-2605_daily_bin1276.fits evtable="EVENTS" scfile=/scratch/kocevski/319279/ft2_4FGL_J0622.3-2605_daily_bin1276.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/319279/Model_4FGL_J0622.3-2605_daily_bin1276.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/319279/ft1_filtered_4FGL_J0622.3-2605_daily_bin1276.fits.....................!
real 99.91
user 97.59
sys 2.02

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/319279/ft1_filtered_4FGL_J0622.3-2605_daily_bin1276.fits', '/scratch/kocevski/319279/ft2_4FGL_J0622.3-2605_daily_bin1276.fits', expMap='/scratch/kocevski/319279/expmap_570067201_570326401_4FGL_J0622.3-2605_daily_bin1276.fits', expCube='/scratch/kocevski/319279/ltcube_570067201_570326401_4FGL_J0622.3-2605_daily_bin1276.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/319279/Model_4FGL_J0622.3-2605_daily_bin1276.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/319279/ft1_filtered_4FGL_J0622.3-2605_daily_bin1276.fits
Spacecraft file(s): /scratch/kocevski/319279/ft2_4FGL_J0622.3-2605_daily_bin1276.fits
Exposure map: /scratch/kocevski/319279/expmap_570067201_570326401_4FGL_J0622.3-2605_daily_bin1276.fits
Exposure cube: /scratch/kocevski/319279/ltcube_570067201_570326401_4FGL_J0622.3-2605_daily_bin1276.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/319279/Model_4FGL_J0622.3-2605_daily_bin1276.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) = 7239.45324207

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .65174       1.0000         .10000E-03   10000.    
     2 'norm      '    14.812       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.792       1.0000         .10000E-03   10000.    
     5 'Prefactor '    60.748       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    29.195       1.0000         .10000E-03   10000.    
     8 'Prefactor '    90.081       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.2030       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.674       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.135       1.0000         .10000E-03   10000.    
    14 'norm      '    34.792       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.1231       1.0000         .10000E-03   10000.    
    16 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .14703E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.3763       1.0000         .10000E-03   10000.    
    20 'norm      '    10.141       1.0000         .10000E-03   10000.    
    21 'norm      '    20.874       1.0000         .10000E-03   10000.    
    22 'Prefactor '    17.714       1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.0073       1.0000         .10000E-03   10000.    
    24 'norm      '    .40281E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1644       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .81281       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=   7239.233     FROM MIGRAD    STATUS=CONVERGED    670 CALLS     3535 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .65260        1.2479       -.46057E-06   -.18875E-02
   2  norm          14.812        11.695        .25124E-06   -.24234E-04
   3  Prefactor     .10000E-03    2.7311        .49970E-07** at limit **
   4  Prefactor     10.792        9.1849       -.10342E-05   -.96639E-05
   5  Prefactor     60.746        53.804       -.21519E-05    .21881E-04
   6  Prefactor     .10000E-03    4.1242       -.23634E-06** at limit **
   7  Prefactor     29.191        37.293       -.49373E-05    .77643E-04
   8  Prefactor     90.075        43.563       -.37590E-05    .18059E-03
   9  Prefactor     .10000E-03    32.200        .76315E-06** at limit **
  10  norm          6.2026        5.6702        .33840E-05   -.43465E-03
  11  Prefactor     13.670        16.400       -.13336E-07   -.14084E-03
  12  Prefactor     .10000E-03    5.2503       -.20497E-05** at limit **
  13  Prefactor     27.122        29.302       -.60830E-05    .16965E-03
  14  norm          34.793        26.544        .95302E-06   -.82560E-05
  15  Prefactor     2.1229        3.7591       -.22693E-06   -.33951E-03
  16  norm          .10000E-03    2.5983        .37409E-06** at limit **
  17  norm          .10000E-03    .99977        .16236E-05** at limit **
  18  norm          .10000E-03    2.7791        .41224E-06** at limit **
  19  Prefactor     6.3746        5.4181       -.50562E-05   -.10933E-02
  20  norm          10.070        16.214        .25163E-05    .14293E-03
  21  norm          20.877        11.331        .64674E-06   -.12062E-03
  22  Prefactor     17.728        15.906       -.10079E-05    .68698E-04
  23  Prefactor     5.0079        3.9616       -.14209E-06   -.22791E-03
  24  norm          .10005E-03    180.08       -.70833E-04** at limit **
  25  norm          .10000E-03    19.706       -.15366E-05** at limit **
  26  norm          .10000E-03    .99225       -.91363E-07** at limit **
  27  Normalizat    1.1645        .21485        .46531E-05   -.89857E-04
  28  Prefactor     .81268        .78836E-01   -.16692E-06    .10491E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.652598
  norm       = 14.8115
  Prefactor  = 0.0001
  Prefactor  = 10.7924
  Prefactor  = 60.7462
  Prefactor  = 0.0001
  Prefactor  = 29.1909
  Prefactor  = 90.075
  Prefactor  = 0.0001
  norm       = 6.20257
  Prefactor  = 13.6696
  Prefactor  = 0.0001
  Prefactor  = 27.1217
  norm       = 34.7932
  Prefactor  = 2.12292
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 6.37465
  norm       = 10.0704
  norm       = 20.8773
  Prefactor  = 17.7283
  Prefactor  = 5.00794
  norm       = 0.000100045
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.16454
  Prefactor  = 0.812675
 **********
 **   18 **HESSE 
 **********

 FCN=   7239.233     FROM HESSE     STATUS=OK           519 CALLS     4054 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .65260        1.0041        .12702E-02   -1.5546    
   2  norm          14.812        11.700        .10407E-03   -1.4938    
   3  Prefactor     .10000E-03    2.7434        .13726E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.792        9.1893        .12196E-03   -1.5051    
   5  Prefactor     60.746        53.826        .51479E-04   -1.4148    
   6  Prefactor     .10000E-03    4.1283        .16874E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     29.191        37.367        .74148E-04   -1.4627    
   8  Prefactor     90.075        43.671        .42336E-04   -1.3807    
   9  Prefactor     .10000E-03    32.220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.2026        5.6424        .16118E-03   -1.5210    
  11  Prefactor     13.670        16.385        .10832E-03   -1.4968    
  12  Prefactor     .10000E-03    5.3106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.122        29.264        .76907E-04   -1.4666    
  14  norm          34.793        26.536        .67940E-04   -1.4528    
  15  Prefactor     2.1229        3.7348        .21330E-03   -1.5417    
  16  norm          .10000E-03    2.6232        .13390E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.7975        .15722E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.7829        .13853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.3746        5.3441        .15895E-03   -1.5203    
  20  norm          10.070        16.210        .12583E-03   -1.5073    
  21  norm          20.877        11.343        .87667E-04   -1.4794    
  22  Prefactor     17.728        15.881        .95161E-04   -1.4866    
  23  Prefactor     5.0079        3.9521        .13343E-03   -1.5260    
  24  norm          .10005E-03    177.43        .21260E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    19.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    1.0002        .82752E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1645        .23310        .35191E-03   -.87706    
  28  Prefactor     .81268        .85937E-01    .16462E-03   -.99263    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68352e-09
Minuit parameter uncertainties:
  1  1.00415
  2  11.7019
  3  6.4511e-06
  4  9.19047
  5  53.869
  6  2.11811e-06
  7  37.3968
  8  43.6862
  9  0.000177986
  10  5.64288
  11  16.3904
  12  9.85578e-06
  13  29.2799
  14  26.5453
  15  3.73523
  16  1.51304e-07
  17  2.75419e-05
  18  2.05827e-05
  19  5.34453
  20  16.2167
  21  11.3439
  22  15.8849
  23  3.95226
  24  0.00566903
  25  3.65903e-05
  26  5.00835e-07
  27  0.233304
  28  0.0859508
Done.

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

Extracting fit parameters...

4FGL J0622.3-2605
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  9.856e-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.127e-01  8.595e-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.165e+00  2.333e-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: 6.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/319279/likelihoodResults_570067201_570326401_4FGL_J0622.3-2605_daily_bin1276.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) = 7239.23396931
delta logL = -0.000897397222616

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7239.2330761
delta logL = -4.19625212089e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9408       1.0000          .0000       10.000    
     3 'Normalizat'    1.1644       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81255       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=   7239.233     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      210 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    41.627        .90712E-02** at limit **
   2  Index         1.9757        7.0314        .50000       -.53757E-04
   3  Normalizat    1.1645        .16435E-01    .79499E-01    .21196E-04
   4  Prefactor     .81267        .65821E-02    .43880E-01   -.61202E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 1.97566
  Normalizat = 1.16454
  Prefactor  = 0.812675
 **********
 **   18 **HESSE 
 **********

 FCN=   7239.233     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      241 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    319.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9757        5.9109        .50000       -.64960    
   3  Normalizat    1.1645        .47855E-01    .35190E-03   -.87706    
   4  Prefactor     .81267        .19194E-01    .16462E-03   -.99263    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.32189e-07
Minuit parameter uncertainties:
  1  0.000949403
  2  29.6752
  3  0.0478568
  4  0.0191941
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319279': 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) = 7239.23307106
delta logL = 8.47433511808e-07

Extracting fit parameters...

4FGL J0622.3-2605
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  9.494e-04  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  1.976e+00  2.968e+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.127e-01  1.919e-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.165e+00  4.786e-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/319279/cmap_HighResolution_570067201_570326401_4FGL_J0622.3-2605_daily_bin1276.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.11e-03', job_status='DONE', photon_flux_upper_limit='6.86e-08', time_completed='2021-08-24 22:46:19.446884', job_id='319279', GAL2='0.81', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1629870379.45', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='8.47e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.91' WHERE bin_id='1276' AND source_name='4FGL J0622.3-2605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 22:46:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 319279: <4FGL_J0622.3-2605_daily_bin1276> in cluster <slac> Done

Job <4FGL_J0622.3-2605_daily_bin1276> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 24 22:30:33 2021
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 22:30:35 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:30:35 2021
Terminated at Tue Aug 24 22:46:20 2021
Results reported at Tue Aug 24 22:46:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0622.3-2605_daily_bin1276 95.5956 -26.0963 570067201 570326401 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 :                                   857.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   944 sec.
    Turnaround time :                            947 sec.

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

