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


Performing analysis on: 4FGL_J0622.3-2605_daily_bin1073
RA = 95.5956, Dec = -26.0963
tmin = 517449601, tmax = 517708801
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='317981', job_status='RUN', time_executed='2021-08-24 22:27:23.333585', time_epoch_executed='1629869243.33' WHERE source_name='4FGL J0622.3-2605' and cadence='daily' and bin_id='1073'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/317981

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/317981/ft1_4FGL_J0622.3-2605_daily_bin1073.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/317981/ft2_4FGL_J0622.3-2605_daily_bin1073.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/317981/ft1_4FGL_J0622.3-2605_daily_bin1073.fits outfile=/scratch/kocevski/317981/ft1_filteredMKT_4FGL_J0622.3-2605_daily_bin1073.fits ra=95.5956 dec=-26.0963 rad=12.0 tmin=517449601.0 tmax=517708801.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 7.69
user 5.33
sys 2.12

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/317981/ft2_4FGL_J0622.3-2605_daily_bin1073.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/317981/ft1_filteredMKT_4FGL_J0622.3-2605_daily_bin1073.fits evtable="EVENTS" outfile="/scratch/kocevski/317981/ft1_filtered_4FGL_J0622.3-2605_daily_bin1073.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.35
user 0.31
sys 2.01

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/317981/ft1_filtered_4FGL_J0622.3-2605_daily_bin1073.fits" evtable="EVENTS" scfile=/scratch/kocevski/317981/ft2_4FGL_J0622.3-2605_daily_bin1073.fits sctable="SC_DATA" outfile=/scratch/kocevski/317981/ltcube_517449601_517708801_4FGL_J0622.3-2605_daily_bin1073.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/317981/ft2_4FGL_J0622.3-2605_daily_bin1073.fits
.....................!
real 14.13
user 11.64
sys 2.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/317981/ft1_filtered_4FGL_J0622.3-2605_daily_bin1073.fits evtable="EVENTS" scfile=/scratch/kocevski/317981/ft2_4FGL_J0622.3-2605_daily_bin1073.fits sctable="SC_DATA" expcube=/scratch/kocevski/317981/ltcube_517449601_517708801_4FGL_J0622.3-2605_daily_bin1073.fits outfile=/scratch/kocevski/317981/expmap_517449601_517708801_4FGL_J0622.3-2605_daily_bin1073.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/317981/ltcube_517449601_517708801_4FGL_J0622.3-2605_daily_bin1073.fits
.....................!
real 192.24
user 185.20
sys 6.40

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/317981/ft1_filtered_4FGL_J0622.3-2605_daily_bin1073.fits scfile=/scratch/kocevski/317981/ft2_4FGL_J0622.3-2605_daily_bin1073.fits outfile=/scratch/kocevski/317981/cmap_517449601_517708801_4FGL_J0622.3-2605_daily_bin1073.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 2.42
user 0.38
sys 1.97

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/317981/ft1_filtered_4FGL_J0622.3-2605_daily_bin1073.fits scfile=/scratch/kocevski/317981/ft2_4FGL_J0622.3-2605_daily_bin1073.fits outfile=/scratch/kocevski/317981/cmap_HighResolution_517449601_517708801_4FGL_J0622.3-2605_daily_bin1073.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 2.42
user 0.40
sys 1.95

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/317981/ft1_filtered_4FGL_J0622.3-2605_daily_bin1073.fits evtable="EVENTS" scfile=/scratch/kocevski/317981/ft2_4FGL_J0622.3-2605_daily_bin1073.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/317981/Model_4FGL_J0622.3-2605_daily_bin1073.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/317981/ft1_filtered_4FGL_J0622.3-2605_daily_bin1073.fits.....................!
real 95.21
user 88.73
sys 3.66

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2858       1.0000         .10000E-03   10000.    
     2 'norm      '    14.342       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.8527       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10223E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10118E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.3218       1.0000         .10000E-03   10000.    
    14 'norm      '    .15998E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .89813E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10295E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10072E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    6.0055       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.9859       1.0000         .10000E-03   10000.    
    24 'norm      '    .10505E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    139.75       1.0000         .10000E-03   10000.    
    26 'norm      '    2.7720       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.6886       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .82219       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=   6088.008     FROM MIGRAD    STATUS=CONVERGED    700 CALLS     2980 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2833        3.0067        .48777E-06   -.12059E-03
   2  norm          14.340        13.330       -.15958E-06    .29798E-04
   3  Prefactor     .10000E-03    8.8930        .55581E-06** at limit **
   4  Prefactor     .10000E-03    15.957        .44333E-06** at limit **
   5  Prefactor     8.8492        137.92       -.14732E-05   -.13885E-04
   6  Prefactor     .10000E-03    10.930       -.13370E-05** at limit **
   7  Prefactor     .10000E-03    12.900        .12911E-05** at limit **
   8  Prefactor     .10000E-03    16.591       -.27975E-06** at limit **
   9  Prefactor     .10001E-03    24.539        .26132E-05** at limit **
  10  norm          .10000E-03    19.327       -.24409E-05** at limit **
  11  Prefactor     .10000E-03    7.3548       -.34385E-06** at limit **
  12  Prefactor     .10000E-03    5.6468       -.57643E-06** at limit **
  13  Prefactor     5.1697        51.752       -.24354E-05   -.79353E-04
  14  norm          .10001E-03    66.558        .43096E-05** at limit **
  15  Prefactor     .10000E-03    6.0463       -.53166E-06** at limit **
  16  norm          .10001E-03    5.7407       -.69979E-06** at limit **
  17  norm          .10001E-03    1.6730        .98009E-06** at limit **
  18  norm          .10000E-03    6.5292        .65469E-06** at limit **
  19  Prefactor     .10000E-03    7.7778       -.26672E-06** at limit **
  20  norm          .10000E-03    9.1476        .39674E-06** at limit **
  21  norm          6.0198        15.077        .72291E-05   -.29099E-03
  22  Prefactor     .10000E-03    4.3066       -.88453E-08** at limit **
  23  Prefactor     5.9868        7.5916       -.20583E-05   -.16242E-03
  24  norm          .10001E-03    44.678       -.35192E-05** at limit **
  25  norm          139.76        78.717        .78754E-06    .70521E-04
  26  norm          2.7735        2.9707        .53748E-09   -.39133E-04
  27  Normalizat    1.6896        .26969        .36834E-06   -.54447E-04
  28  Prefactor     .82186        .96615E-01   -.69841E-06    .39209E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.28325
  norm       = 14.3401
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.84925
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.16971
  norm       = 0.000100012
  Prefactor  = 0.0001
  norm       = 0.000100011
  norm       = 0.000100014
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.01983
  Prefactor  = 0.0001
  Prefactor  = 5.98685
  norm       = 0.000100009
  norm       = 139.76
  norm       = 2.77353
  Normalizat = 1.68964
  Prefactor  = 0.821859
 **********
 **   18 **HESSE 
 **********

 FCN=   6088.008     FROM HESSE     STATUS=OK           513 CALLS     3493 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2833        2.9954        .19576E-03   -1.5481    
   2  norm          14.340        13.332        .52881E-03   -1.4950    
   3  Prefactor     .10000E-03    9.0265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.144        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.8492        138.25        .13471E-03   -1.5113    
   6  Prefactor     .10000E-03    11.094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    16.601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10001E-03    25.187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    20.142        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.3690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.6818        .18124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.1697        53.034        .17422E-03   -1.5253    
  14  norm          .10001E-03    68.661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.1258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10001E-03    23.527        .35745E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10001E-03    5.7182        .18776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    6.5908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.0345        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    9.1843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          6.0198        15.571        .81924E-03   -1.5217    
  22  Prefactor     .10000E-03    4.3074        .15814E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     5.9868        7.6492        .16412E-03   -1.5219    
  24  norm          .10001E-03    45.769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          139.76        78.876        .17038E-03   -1.3338    
  26  norm          2.7735        2.9758        .13434E-03   -1.5375    
  27  Normalizat    1.6896        .30033        .35985E-03   -.72580    
  28  Prefactor     .82186        .10767        .17399E-03   -.98928    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.33115e-09
Minuit parameter uncertainties:
  1  2.99574
  2  13.3351
  3  8.33912e-05
  4  8.25519e-05
  5  70.1475
  6  0.000236297
  7  0.000256972
  8  4.07869e-05
  9  0.000731823
  10  0.000434917
  11  4.55094e-05
  12  5.75851e-05
  13  33.1538
  14  0.00184459
  15  7.28126e-05
  16  0.00101477
  17  0.000560968
  18  8.3084e-05
  19  9.21305e-05
  20  6.12032e-05
  21  15.5812
  22  1.45376e-06
  23  7.65041
  24  0.00128324
  25  78.9353
  26  2.97598
  27  0.300656
  28  0.107693
Done.

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

Extracting fit parameters...

4FGL J0622.3-2605
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  5.759e-05  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.219e-01  1.077e-01  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.690e+00  3.007e-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: 9.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/317981/likelihoodResults_517449601_517708801_4FGL_J0622.3-2605_daily_bin1073.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) = 6088.00899977
delta logL = -0.000838237537209

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6088.00816172
delta logL = -1.8991977413e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10195E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9235       1.0000          .0000       10.000    
     3 'Normalizat'    1.6895       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82190       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=   6088.008     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      205 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    65.303        .90712E-02** at limit **
   2  Index         1.9379        8.4821        .50000       -.20064E-04
   3  Normalizat    1.6896        .26915E-01    .81313E-01    .35197E-04
   4  Prefactor     .82186        .95746E-02    .44002E-01    .56506E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.93794
  Normalizat = 1.68964
  Prefactor  = 0.821858
 **********
 **   18 **HESSE 
 **********

 FCN=   6088.008     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      238 TOTAL
                     EDM=   .61E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1031.2        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9379        5.9456        .50000       -.65911    
   3  Normalizat    1.6896        .15153        .35984E-03   -.72580    
   4  Prefactor     .82186        .53915E-01    .17399E-03   -.98928    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.08045e-08
Minuit parameter uncertainties:
  1  0.00030866
  2  53.816
  3  0.151576
  4  0.0539182
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/317981': 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) = 6088.00816138
delta logL = 1.46228558151e-07

Extracting fit parameters...

4FGL J0622.3-2605
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  3.087e-04  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  1.938e+00  5.382e+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.219e-01  5.392e-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.690e+00  1.516e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/317981/cmap_HighResolution_517449601_517708801_4FGL_J0622.3-2605_daily_bin1073.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.04e-03', job_status='DONE', photon_flux_upper_limit='9.46e-08', time_completed='2021-08-24 22:39:33.114358', job_id='317981', GAL2='0.82', fit_tolerance='1e-08', EG2='1.69', EG='1.69', time_epoch_completed='1629869973.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='1.46e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.91' WHERE bin_id='1073' AND source_name='4FGL J0622.3-2605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 22:39:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 317981: <4FGL_J0622.3-2605_daily_bin1073> in cluster <slac> Done

Job <4FGL_J0622.3-2605_daily_bin1073> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 24 22:25:25 2021
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 22:25:27 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:25:27 2021
Terminated at Tue Aug 24 22:39:34 2021
Results reported at Tue Aug 24 22:39:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0622.3-2605_daily_bin1073 95.5956 -26.0963 517449601 517708801 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 :                                   751.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             295.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   846 sec.
    Turnaround time :                            849 sec.

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

