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


Performing analysis on: 4FGL_J0622.3-2605_daily_bin825
RA = 95.5956, Dec = -26.0963
tmin = 453168001, tmax = 453427201
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='316604', job_status='RUN', time_executed='2021-08-24 22:21:47.309005', time_epoch_executed='1629868907.31' WHERE source_name='4FGL J0622.3-2605' and cadence='daily' and bin_id='825'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/316604

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/316604/ft1_4FGL_J0622.3-2605_daily_bin825.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/316604/ft2_4FGL_J0622.3-2605_daily_bin825.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/316604/ft1_4FGL_J0622.3-2605_daily_bin825.fits outfile=/scratch/kocevski/316604/ft1_filteredMKT_4FGL_J0622.3-2605_daily_bin825.fits ra=95.5956 dec=-26.0963 rad=12.0 tmin=453168001.0 tmax=453427201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.31
user 3.41
sys 1.87

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/316604/ft1_filtered_4FGL_J0622.3-2605_daily_bin825.fits" evtable="EVENTS" scfile=/scratch/kocevski/316604/ft2_4FGL_J0622.3-2605_daily_bin825.fits sctable="SC_DATA" outfile=/scratch/kocevski/316604/ltcube_453168001_453427201_4FGL_J0622.3-2605_daily_bin825.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/316604/ft2_4FGL_J0622.3-2605_daily_bin825.fits
.....................!
real 13.77
user 11.50
sys 2.23

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/316604/ft1_filtered_4FGL_J0622.3-2605_daily_bin825.fits evtable="EVENTS" scfile=/scratch/kocevski/316604/ft2_4FGL_J0622.3-2605_daily_bin825.fits sctable="SC_DATA" expcube=/scratch/kocevski/316604/ltcube_453168001_453427201_4FGL_J0622.3-2605_daily_bin825.fits outfile=/scratch/kocevski/316604/expmap_453168001_453427201_4FGL_J0622.3-2605_daily_bin825.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/316604/ltcube_453168001_453427201_4FGL_J0622.3-2605_daily_bin825.fits
.....................!
real 192.44
user 185.33
sys 6.79

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/316604/ft1_filtered_4FGL_J0622.3-2605_daily_bin825.fits scfile=/scratch/kocevski/316604/ft2_4FGL_J0622.3-2605_daily_bin825.fits outfile=/scratch/kocevski/316604/cmap_453168001_453427201_4FGL_J0622.3-2605_daily_bin825.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.23
user 0.38
sys 1.80

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/316604/ft1_filtered_4FGL_J0622.3-2605_daily_bin825.fits scfile=/scratch/kocevski/316604/ft2_4FGL_J0622.3-2605_daily_bin825.fits outfile=/scratch/kocevski/316604/cmap_HighResolution_453168001_453427201_4FGL_J0622.3-2605_daily_bin825.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.15
user 0.38
sys 1.75

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/316604/ft1_filtered_4FGL_J0622.3-2605_daily_bin825.fits evtable="EVENTS" scfile=/scratch/kocevski/316604/ft2_4FGL_J0622.3-2605_daily_bin825.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/316604/Model_4FGL_J0622.3-2605_daily_bin825.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/316604/ft1_filtered_4FGL_J0622.3-2605_daily_bin825.fits.....................!
real 87.49
user 83.98
sys 3.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4366       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .15966E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    73.113       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.765       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.8584       1.0000         .10000E-03   10000.    
    10 'norm      '    .22877E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.1770       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    40.496       1.0000         .10000E-03   10000.    
    14 'norm      '    32.225       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .85685E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.4163       1.0000         .10000E-03   10000.    
    18 'norm      '    2.9944       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    18.916       1.0000         .10000E-03   10000.    
    21 'norm      '    34.004       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    112.84       1.0000         .10000E-03   10000.    
    25 'norm      '    103.31       1.0000         .10000E-03   10000.    
    26 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .98187       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .93931       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6312.301     FROM MIGRAD    STATUS=CONVERGED   1233 CALLS     4183 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4353        4.3246        .13091E-03    .82415E-04
   2  norm          .10000E-03    5.0852        .17491E-02** at limit **
   3  Prefactor     .10007E-03    32.125        .35673E-02** at limit **
   4  Prefactor     .10000E-03    11.047        .18142E-02** at limit **
   5  Prefactor     73.052        109.60        .23477E-03    .87021E-04
   6  Prefactor     14.746        25.201        .10424E-03   -.15051E-04
   7  Prefactor     .10000E-03    58.536        .18142E-02** at limit **
   8  Prefactor     .10000E-03    29.217        .18142E-02** at limit **
   9  Prefactor     6.8611        62.354        .15320E-03   -.96469E-06
  10  norm          .69622E-03    12.544        .56289E-01** at limit **
  11  Prefactor     9.1778        24.177        .13230E-03    .28263E-03
  12  Prefactor     .10000E-03    4.3165        .16071E-02** at limit **
  13  Prefactor     40.486        41.652        .62990E-04    .15356E-03
  14  norm          32.224        28.813        .70585E-04    .18780E-04
  15  Prefactor     .10000E-03    3.5061        .14499E-02** at limit **
  16  norm          .10001E-03    20.884        .31717E-02** at limit **
  17  norm          1.4166        1.4800        .95251E-04    .60370E-03
  18  norm          2.9928        10.056        .23458E-03    .20786E-03
  19  Prefactor     .10000E-03    4.5933        .16510E-02** at limit **
  20  norm          18.918        20.232        .92089E-04    .57652E-04
  21  norm          34.003        13.596        .68720E-04   -.30208E-03
  22  Prefactor     .10000E-03    7.2550        .18142E-02** at limit **
  23  Prefactor     .10000E-03    9.5046        .22823E-02** at limit **
  24  norm          112.81        107.41        .18935E-03    .44670E-04
  25  norm          103.34        83.272        .19780E-03   -.41728E-04
  26  norm          .10000E-03    1.5327        .95522E-03** at limit **
  27  Normalizat    .98204        .29280        .42721E-03    .31601E-03
  28  Prefactor     .93922        .10018        .16314E-03    .45585E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.43534
  norm       = 0.0001
  Prefactor  = 0.000100065
  Prefactor  = 0.000100001
  Prefactor  = 73.0519
  Prefactor  = 14.7464
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.86105
  norm       = 0.000696216
  Prefactor  = 9.17778
  Prefactor  = 0.0001
  Prefactor  = 40.4864
  norm       = 32.2241
  Prefactor  = 0.0001
  norm       = 0.000100008
  norm       = 1.41655
  norm       = 2.99283
  Prefactor  = 0.0001
  norm       = 18.9183
  norm       = 34.0033
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 112.812
  norm       = 103.34
  norm       = 0.0001
  Normalizat = 0.982045
  Prefactor  = 0.939222
 **********
 **   18 **HESSE 
 **********

 FCN=   6312.301     FROM HESSE     STATUS=OK           501 CALLS     4684 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4353        4.3240        .52364E-05   -1.5242    
   2  norm          .10000E-03    5.0853        .34982E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10007E-03    32.398        .71345E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.051        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     73.052        109.57        .93906E-05   -1.3996    
   6  Prefactor     14.746        25.185        .41694E-05   -1.4940    
   7  Prefactor     .10000E-03    58.543        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    29.219        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.8611        62.346        .61281E-05   -1.5184    
  10  norm          .69622E-03    9.6110        .66413E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.1778        24.154        .52920E-05   -1.5102    
  12  Prefactor     .10000E-03    4.3168        .32143E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     40.486        41.648        .12598E-04   -1.4435    
  14  norm          32.224        28.813        .14117E-04   -1.4572    
  15  Prefactor     .10000E-03    3.5064        .28999E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10001E-03    21.366        .63433E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.4166        1.4798        .38100E-05   -1.5470    
  18  norm          2.9928        10.052        .93834E-05   -1.5362    
  19  Prefactor     .10000E-03    4.5945        .33019E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          18.918        20.227        .36836E-05   -1.4838    
  21  norm          34.003        13.591        .13744E-04   -1.4541    
  22  Prefactor     .10000E-03    7.2551        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    9.5696        .45647E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          112.81        107.39        .75740E-05   -1.3580    
  25  norm          103.34        83.262        .79119E-05   -1.3671    
  26  norm          .10000E-03    1.5329        .19104E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .98204        .29263        .17088E-04   -.93634    
  28  Prefactor     .93922        .10019        .32627E-04   -.94784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.46169e-09
Minuit parameter uncertainties:
  1  4.3242
  2  3.61688e-06
  3  0.00291031
  4  0.000152557
  5  109.877
  6  25.2029
  7  0.000276159
  8  2.86309e-05
  9  41.4217
  10  0.151421
  11  24.1802
  12  5.97036e-06
  13  41.6783
  14  28.8252
  15  1.5681e-06
  16  0.00080869
  17  1.47986
  18  10.0581
  19  2.81009e-05
  20  20.2343
  21  13.592
  22  1.49434e-05
  23  0.000144716
  24  107.576
  25  83.3566
  26  8.45722e-06
  27  0.29311
  28  0.100208
Done.

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

Extracting fit parameters...

4FGL J0622.3-2605
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  5.970e-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:  9.392e-01  1.002e-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:  9.820e-01  2.931e-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: 7.76e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/316604/likelihoodResults_453168001_453427201_4FGL_J0622.3-2605_daily_bin825.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) = 6312.30162022
delta logL = -0.00110348280668

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6312.30051674
delta logL = -5.4360498325e-09

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.9099       1.0000          .0000       10.000    
     3 'Normalizat'    .98204       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93922       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=   6312.301     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      201 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.6057        .90712E-02** at limit **
   2  Index         1.9108        6.1481        .50000       -.17726E-05
   3  Normalizat    .98204        .44554E-02    .96422E-01    .15732E-04
   4  Prefactor     .93922        .16765E-02    .45503E-01   -.73256E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.91082
  Normalizat = 0.982041
  Prefactor  = 0.939223
 **********
 **   18 **HESSE 
 **********

 FCN=   6312.301     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      232 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1013.3        .16081E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9108        5.3112        .20000       -.66599    
   3  Normalizat    .98204        .22282        .42718E-03   -.93635    
   4  Prefactor     .93922        .84126E-01    .16314E-03   -.94784    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.25759e-06
Minuit parameter uncertainties:
  1  7.11733e-05
  2  4699.93
  3  0.223035
  4  0.084138
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/316604': 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) = 6312.30051674
delta logL = 1.01044861367e-09

Extracting fit parameters...

4FGL J0622.3-2605
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  7.117e-05  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  1.911e+00  4.700e+03  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:  9.392e-01  8.414e-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:  9.820e-01  2.230e-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/316604/cmap_HighResolution_453168001_453427201_4FGL_J0622.3-2605_daily_bin825.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.77e-03', job_status='DONE', photon_flux_upper_limit='7.76e-08', time_completed='2021-08-24 22:35:12.295499', job_id='316604', GAL2='0.94', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1629869712.3', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.01e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.91' WHERE bin_id='825' AND source_name='4FGL J0622.3-2605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 22:35:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 316604: <4FGL_J0622.3-2605_daily_bin825> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0622.3-2605_daily_bin825 95.5956 -26.0963 453168001 453427201 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 :                                   829.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   855 sec.
    Turnaround time :                            857 sec.

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

