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


Performing analysis on: 4FGL_J0622.3-2605_daily_bin932
RA = 95.5956, Dec = -26.0963
tmin = 480902401, tmax = 481161601
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='316810', job_status='RUN', time_executed='2021-08-24 22:21:43.489524', time_epoch_executed='1629868903.49' WHERE source_name='4FGL J0622.3-2605' and cadence='daily' and bin_id='932'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/316810

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/316810/ft1_4FGL_J0622.3-2605_daily_bin932.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/316810/ft2_4FGL_J0622.3-2605_daily_bin932.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/316810/ft1_4FGL_J0622.3-2605_daily_bin932.fits outfile=/scratch/kocevski/316810/ft1_filteredMKT_4FGL_J0622.3-2605_daily_bin932.fits ra=95.5956 dec=-26.0963 rad=12.0 tmin=480902401.0 tmax=481161601.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.74
user 3.47
sys 1.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/316810/ft1_filtered_4FGL_J0622.3-2605_daily_bin932.fits" evtable="EVENTS" scfile=/scratch/kocevski/316810/ft2_4FGL_J0622.3-2605_daily_bin932.fits sctable="SC_DATA" outfile=/scratch/kocevski/316810/ltcube_480902401_481161601_4FGL_J0622.3-2605_daily_bin932.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/316810/ft2_4FGL_J0622.3-2605_daily_bin932.fits
.....................!
real 12.95
user 11.49
sys 1.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/316810/ft1_filtered_4FGL_J0622.3-2605_daily_bin932.fits evtable="EVENTS" scfile=/scratch/kocevski/316810/ft2_4FGL_J0622.3-2605_daily_bin932.fits sctable="SC_DATA" expcube=/scratch/kocevski/316810/ltcube_480902401_481161601_4FGL_J0622.3-2605_daily_bin932.fits outfile=/scratch/kocevski/316810/expmap_480902401_481161601_4FGL_J0622.3-2605_daily_bin932.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/316810/ltcube_480902401_481161601_4FGL_J0622.3-2605_daily_bin932.fits
.....................!
real 191.54
user 185.55
sys 5.58

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/316810/ft1_filtered_4FGL_J0622.3-2605_daily_bin932.fits scfile=/scratch/kocevski/316810/ft2_4FGL_J0622.3-2605_daily_bin932.fits outfile=/scratch/kocevski/316810/cmap_480902401_481161601_4FGL_J0622.3-2605_daily_bin932.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.53
user 0.37
sys 1.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/316810/ft1_filtered_4FGL_J0622.3-2605_daily_bin932.fits scfile=/scratch/kocevski/316810/ft2_4FGL_J0622.3-2605_daily_bin932.fits outfile=/scratch/kocevski/316810/cmap_HighResolution_480902401_481161601_4FGL_J0622.3-2605_daily_bin932.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.53
user 0.38
sys 1.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/316810/ft1_filtered_4FGL_J0622.3-2605_daily_bin932.fits evtable="EVENTS" scfile=/scratch/kocevski/316810/ft2_4FGL_J0622.3-2605_daily_bin932.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/316810/Model_4FGL_J0622.3-2605_daily_bin932.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/316810/ft1_filtered_4FGL_J0622.3-2605_daily_bin932.fits.....................!
real 105.25
user 102.46
sys 2.48

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3052       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.8172       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.746       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10579E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.158       1.0000         .10000E-03   10000.    
    10 'norm      '    6.9661       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.973       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.4020       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.877       1.0000         .10000E-03   10000.    
    20 'norm      '    .10382E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    18.831       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.1701       1.0000         .10000E-03   10000.    
    24 'norm      '    62.965       1.0000         .10000E-03   10000.    
    25 'norm      '    52.653       1.0000         .10000E-03   10000.    
    26 'norm      '    1.7161       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2443       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .92629       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=   7499.224     FROM MIGRAD    STATUS=CONVERGED    670 CALLS     3458 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3068        3.3468        .12473E-05   -.83651E-04
   2  norm          .10000E-03    5.9810        .25265E-07** at limit **
   3  Prefactor     1.8202        9.4219        .20451E-05   -.38366E-04
   4  Prefactor     .10000E-03    4.1993        .10593E-06** at limit **
   5  Prefactor     .10000E-03    70.736        .53673E-06** at limit **
   6  Prefactor     19.741        22.015       -.43351E-06   -.39844E-04
   7  Prefactor     .10000E-03    15.371       -.60261E-07** at limit **
   8  Prefactor     .10000E-03    80.079       -.76796E-05** at limit **
   9  Prefactor     20.098        55.723       -.13837E-05   -.48783E-04
  10  norm          6.9662        6.3968        .11055E-05   -.15947E-03
  11  Prefactor     .10000E-03    16.331        .11559E-06** at limit **
  12  Prefactor     .10000E-03    2.6297       -.84088E-07** at limit **
  13  Prefactor     19.973        19.595       -.59780E-08    .22212E-04
  14  norm          .10000E-03    20.345       -.11120E-06** at limit **
  15  Prefactor     .10000E-03    7.4661        .28671E-06** at limit **
  16  norm          .10000E-03    2.4236        .99398E-07** at limit **
  17  norm          2.4018        2.1333        .21516E-07   -.30902E-04
  18  norm          .10000E-03    10.266        .14331E-06** at limit **
  19  Prefactor     15.878        8.4025       -.76395E-07   -.62448E-04
  20  norm          .10000E-03    14.394       -.95206E-07** at limit **
  21  norm          18.834        12.006       -.14018E-05   -.28991E-03
  22  Prefactor     .10000E-03    5.9881        .32022E-07** at limit **
  23  Prefactor     1.1674        5.0881        .36275E-05   -.32492E-04
  24  norm          62.951        75.037        .21100E-06   -.26625E-04
  25  norm          52.598        73.260       -.42000E-06   -.72277E-04
  26  norm          1.7158        2.0627        .58761E-07   -.41849E-04
  27  Normalizat    1.2439        .24724       -.21320E-05   -.45068E-04
  28  Prefactor     .92643        .86775E-01    .59533E-07   -.30198E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.30681
  norm       = 0.0001
  Prefactor  = 1.82021
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.7412
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 20.0977
  norm       = 6.96616
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.9726
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.40179
  norm       = 0.0001
  Prefactor  = 15.8777
  norm       = 0.0001
  norm       = 18.8341
  Prefactor  = 0.0001
  Prefactor  = 1.16738
  norm       = 62.951
  norm       = 52.598
  norm       = 1.71578
  Normalizat = 1.24391
  Prefactor  = 0.926426
 **********
 **   18 **HESSE 
 **********

 FCN=   7499.224     FROM HESSE     STATUS=OK           513 CALLS     3971 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3068        3.3481        .22917E-03   -1.5479    
   2  norm          .10000E-03    5.9888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.8202        9.2672        .30982E-03   -1.5438    
   4  Prefactor     .10000E-03    4.2151        .17330E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    70.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     19.741        21.877        .90134E-04   -1.4819    
   7  Prefactor     .10000E-03    15.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    78.932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.098        55.879        .89210E-04   -1.4811    
  10  norm          6.9662        6.3670        .76000E-03   -1.5180    
  11  Prefactor     .10000E-03    16.414        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.6335        .13710E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     19.973        19.614        .89621E-04   -1.4814    
  14  norm          .10000E-03    20.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.8019        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.4319        .13164E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.4018        2.1243        .10963E-03   -1.5398    
  18  norm          .10000E-03    10.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.878        8.3863        .10052E-03   -1.4911    
  20  norm          .10000E-03    14.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          18.834        11.887        .92296E-04   -1.4840    
  22  Prefactor     .10000E-03    5.9979        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.1674        5.0879        .32644E-03   -1.5492    
  24  norm          62.951        75.083        .50570E-04   -1.4119    
  25  norm          52.598        73.713        .55273E-04   -1.4256    
  26  norm          1.7158        2.0487        .13224E-03   -1.5446    
  27  Normalizat    1.2439        .26817        .39934E-03   -.85256    
  28  Prefactor     .92643        .95840E-01    .16823E-03   -.95224    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1745e-10
Minuit parameter uncertainties:
  1  3.34858
  2  4.68775e-06
  3  8.21599
  4  8.10926e-08
  5  0.0002926
  6  21.8859
  7  7.7511e-06
  8  0.000465078
  9  56.025
  10  6.36763
  11  2.35395e-05
  12  5.3478e-06
  13  19.62
  14  7.38617e-06
  15  8.79033e-06
  16  2.51417e-07
  17  2.12436
  18  2.73835e-06
  19  8.38696
  20  5.276e-05
  21  11.8881
  22  3.42013e-06
  23  4.87469
  24  75.196
  25  73.8409
  26  2.04878
  27  0.268465
  28  0.0958572
Done.

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

Extracting fit parameters...

4FGL J0622.3-2605
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  5.348e-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.264e-01  9.586e-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.244e+00  2.685e-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.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/316810/likelihoodResults_480902401_481161601_4FGL_J0622.3-2605_daily_bin932.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) = 7499.22535519
delta logL = -0.0017923635105

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7499.22356276
delta logL = 5.89861883782e-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.9001       1.0000          .0000       10.000    
     3 'Normalizat'    1.2439       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92643       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=   7499.224     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      242 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10025E-03    31.990        .13753E-02** at limit **
   2  Index         1.8752        8.6395        .50000        .23298E-04
   3  Normalizat    1.2439        .24287E-01    .39934E-03   -.61777E-05
   4  Prefactor     .92643        .90428E-02    .16822E-03   -.61498E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100252
  Index      = 1.87519
  Normalizat = 1.24391
  Prefactor  = 0.926427
 **********
 **   18 **HESSE 
 **********

 FCN=   7499.224     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10025E-03    141.84        .27506E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8752        6.0775        .50000       -.67508    
   3  Normalizat    1.2439        .53783E-01    .15973E-04   -.85256    
   4  Prefactor     .92643        .20019E-01    .67290E-05   -.95224    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.81177e-08
Minuit parameter uncertainties:
  1  0.011994
  2  390.527
  3  0.0537857
  4  0.0200194
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/316810': 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) = 7499.22356265
delta logL = 1.67971847986e-07

Extracting fit parameters...

4FGL J0622.3-2605
   Spectrum: PowerLaw
278    Prefactor:  1.003e-04  1.199e-02  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  1.875e+00  3.905e+02  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.264e-01  2.002e-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.244e+00  5.379e-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/316810/cmap_HighResolution_480902401_481161601_4FGL_J0622.3-2605_daily_bin932.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.39e-03', job_status='DONE', photon_flux_upper_limit='5.90e-08', time_completed='2021-08-24 22:35:35.306608', job_id='316810', GAL2='0.93', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1629869735.31', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.68e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.91' WHERE bin_id='932' AND source_name='4FGL J0622.3-2605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 22:35:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 316810: <4FGL_J0622.3-2605_daily_bin932> in cluster <slac> Done

Job <4FGL_J0622.3-2605_daily_bin932> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 24 22:21:14 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 22:21:16 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:21:16 2021
Terminated at Tue Aug 24 22:35:36 2021
Results reported at Tue Aug 24 22:35:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0622.3-2605_daily_bin932 95.5956 -26.0963 480902401 481161601 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 :                                   844.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             390.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            862 sec.

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

