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


Performing analysis on: 4FGL_J0622.3-2605_daily_bin1124
RA = 95.5956, Dec = -26.0963
tmin = 530668801, tmax = 530928001
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='318076', job_status='RUN', time_executed='2021-08-24 22:27:36.276466', time_epoch_executed='1629869256.28' WHERE source_name='4FGL J0622.3-2605' and cadence='daily' and bin_id='1124'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318076

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318076/ft1_4FGL_J0622.3-2605_daily_bin1124.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318076/ft2_4FGL_J0622.3-2605_daily_bin1124.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318076/ft1_4FGL_J0622.3-2605_daily_bin1124.fits outfile=/scratch/kocevski/318076/ft1_filteredMKT_4FGL_J0622.3-2605_daily_bin1124.fits ra=95.5956 dec=-26.0963 rad=12.0 tmin=530668801.0 tmax=530928001.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 8.53
user 3.37
sys 5.10

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/318076/ft2_4FGL_J0622.3-2605_daily_bin1124.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/318076/ft1_filteredMKT_4FGL_J0622.3-2605_daily_bin1124.fits evtable="EVENTS" outfile="/scratch/kocevski/318076/ft1_filtered_4FGL_J0622.3-2605_daily_bin1124.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 5.49
user 0.33
sys 5.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318076/ft1_filtered_4FGL_J0622.3-2605_daily_bin1124.fits" evtable="EVENTS" scfile=/scratch/kocevski/318076/ft2_4FGL_J0622.3-2605_daily_bin1124.fits sctable="SC_DATA" outfile=/scratch/kocevski/318076/ltcube_530668801_530928001_4FGL_J0622.3-2605_daily_bin1124.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/318076/ft2_4FGL_J0622.3-2605_daily_bin1124.fits
.....................!
real 17.04
user 11.15
sys 5.85

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318076/ft1_filtered_4FGL_J0622.3-2605_daily_bin1124.fits evtable="EVENTS" scfile=/scratch/kocevski/318076/ft2_4FGL_J0622.3-2605_daily_bin1124.fits sctable="SC_DATA" expcube=/scratch/kocevski/318076/ltcube_530668801_530928001_4FGL_J0622.3-2605_daily_bin1124.fits outfile=/scratch/kocevski/318076/expmap_530668801_530928001_4FGL_J0622.3-2605_daily_bin1124.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/318076/ltcube_530668801_530928001_4FGL_J0622.3-2605_daily_bin1124.fits
.....................!
real 196.42
user 185.68
sys 10.28

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/318076/ft1_filtered_4FGL_J0622.3-2605_daily_bin1124.fits scfile=/scratch/kocevski/318076/ft2_4FGL_J0622.3-2605_daily_bin1124.fits outfile=/scratch/kocevski/318076/cmap_530668801_530928001_4FGL_J0622.3-2605_daily_bin1124.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 5.92
user 0.36
sys 5.01

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318076/ft1_filtered_4FGL_J0622.3-2605_daily_bin1124.fits scfile=/scratch/kocevski/318076/ft2_4FGL_J0622.3-2605_daily_bin1124.fits outfile=/scratch/kocevski/318076/cmap_HighResolution_530668801_530928001_4FGL_J0622.3-2605_daily_bin1124.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 5.45
user 0.38
sys 5.00

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/318076/ft1_filtered_4FGL_J0622.3-2605_daily_bin1124.fits evtable="EVENTS" scfile=/scratch/kocevski/318076/ft2_4FGL_J0622.3-2605_daily_bin1124.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/318076/Model_4FGL_J0622.3-2605_daily_bin1124.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/318076/ft1_filtered_4FGL_J0622.3-2605_daily_bin1124.fits.....................!
real 122.84
user 111.17
sys 7.71

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .81095       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.4810       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.338       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .18290E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.1616       1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.022       1.0000         .10000E-03   10000.    
    14 'norm      '    12.978       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.8709       1.0000         .10000E-03   10000.    
    16 'norm      '    13.841       1.0000         .10000E-03   10000.    
    17 'norm      '    2.0388       1.0000         .10000E-03   10000.    
    18 'norm      '    .10149E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10392E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    17.634       1.0000         .10000E-03   10000.    
    21 'norm      '    2.4594       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.2999       1.0000         .10000E-03   10000.    
    24 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10136E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    2.1640       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2258       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .91231       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=   7601.067     FROM MIGRAD    STATUS=CONVERGED    679 CALLS     3488 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .81243        2.4004        .10642E-05   -.68443E-04
   2  norm          .10000E-03    4.0002        .22511E-07** at limit **
   3  Prefactor     .10000E-03    3.3321        .24760E-07** at limit **
   4  Prefactor     .10000E-03    3.1568        .14221E-07** at limit **
   5  Prefactor     .10000E-03    23.866        .21542E-06** at limit **
   6  Prefactor     8.4820        12.756        .18838E-05   -.54675E-04
   7  Prefactor     .10000E-03    27.110       -.87227E-07** at limit **
   8  Prefactor     25.307        38.820        .10998E-06   -.71844E-04
   9  Prefactor     .10000E-03    46.303       -.10728E-05** at limit **
  10  norm          .10000E-03    3.2284        .60972E-07** at limit **
  11  Prefactor     .10000E-03    5.2945        .18064E-07** at limit **
  12  Prefactor     9.1632        6.4602        .18337E-08   -.82387E-07
  13  Prefactor     18.041        28.827        .27640E-06    .27995E-04
  14  norm          12.976        23.857        .97293E-07   -.35906E-05
  15  Prefactor     4.8722        6.2239        .14932E-06   -.11550E-04
  16  norm          13.840        7.9414        .51087E-07   -.38161E-04
  17  norm          2.0383        1.6760        .44711E-07   -.45899E-04
  18  norm          .10000E-03    13.010        .58318E-07** at limit **
  19  Prefactor     .10000E-03    7.7234        .20184E-06** at limit **
  20  norm          17.634        13.833        .97122E-07   -.60822E-05
  21  norm          2.4415        15.068        .14267E-05   -.18391E-04
  22  Prefactor     .10000E-03    3.8776        .87228E-09** at limit **
  23  Prefactor     4.3047        5.3368       -.58752E-07   -.11691E-03
  24  norm          .10000E-03    29.421       -.16695E-06** at limit **
  25  norm          .10000E-03    74.848       -.18597E-08** at limit **
  26  norm          2.1626        3.1859        .35601E-06   -.43155E-04
  27  Normalizat    1.2253        .22964       -.32132E-06   -.74102E-04
  28  Prefactor     .91250        .84611E-01   -.46703E-06   -.43809E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.81243
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.48202
  Prefactor  = 0.0001
  Prefactor  = 25.3067
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.16315
  Prefactor  = 18.041
  norm       = 12.9761
  Prefactor  = 4.87219
  norm       = 13.84
  norm       = 2.03826
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 17.6337
  norm       = 2.44147
  Prefactor  = 0.0001
  Prefactor  = 4.30467
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.1626
  Normalizat = 1.2253
  Prefactor  = 0.912501
 **********
 **   18 **HESSE 
 **********

 FCN=   7601.067     FROM HESSE     STATUS=OK           519 CALLS     4007 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .81243        2.4213        .21532E-03   -1.5528    
   2  norm          .10000E-03    4.0067        .17030E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.3623        .15536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.1735        .15127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    23.843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.4820        12.734        .68826E-03   -1.5125    
   7  Prefactor     .10000E-03    27.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     25.307        38.825        .79580E-04   -1.4701    
   9  Prefactor     .10000E-03    46.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.2438        .15290E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.2990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.1632        6.4588        .13241E-03   -1.5102    
  13  Prefactor     18.041        28.795        .94344E-04   -1.4858    
  14  norm          12.976        23.840        .11119E-03   -1.4987    
  15  Prefactor     4.8722        6.2173        .18226E-03   -1.5266    
  16  norm          13.840        7.9409        .10766E-03   -1.4964    
  17  norm          2.0383        1.6620        .99119E-04   -1.5422    
  18  norm          .10000E-03    13.210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.0335        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          17.634        13.834        .95376E-04   -1.4868    
  21  norm          2.4415        13.705        .26079E-03   -1.5395    
  22  Prefactor     .10000E-03    3.8783        .16765E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.3047        5.0559        .16455E-03   -1.5293    
  24  norm          .10000E-03    29.395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    75.099        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          2.1626        3.1811        .17966E-03   -1.5414    
  27  Normalizat    1.2253        .25214        .37857E-03   -.85825    
  28  Prefactor     .91250        .93209E-01    .16320E-03   -.95706    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.66745e-11
Minuit parameter uncertainties:
  1  2.4216
  2  1.54312e-06
  3  2.38509e-06
  4  3.06732e-07
  5  9.21604e-05
  6  12.7381
  7  5.77677e-05
  8  38.8636
  9  0.000228805
  10  1.67308e-07
  11  4.78802e-07
  12  6.45927
  13  28.8173
  14  23.8578
  15  6.21812
  16  7.94148
  17  1.66202
  18  2.41661e-06
  19  3.7533e-06
  20  13.8365
  21  11.5729
  22  9.52472e-07
  23  5.05645
  24  0.000108248
  25  6.37434e-05
  26  3.18137
  27  0.252389
  28  0.0932249
Done.

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

Extracting fit parameters...

4FGL J0622.3-2605
   Spectrum: PowerLaw
278    Prefactor:  9.163e+00  6.459e+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

GAL_V02
   Spectrum: PowerLaw
515    Prefactor:  9.125e-01  9.322e-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.225e+00  2.524e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.16
Ra Dec: 95.596 -26.096
Photon Index (Fixed Index): 1.91 +/- 0.00
Photon Flux (Fixed Index): 4.04e-08 +/- 2.85e-08
Energy Flux (Fixed Index): 3.54e-05 +/- 2.49e-05

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) = 7600.65435253
delta logL = 0.412845687218

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7600.64231533
delta logL = 0.424882887532

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.577       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4679       1.0000          .0000       10.000    
     3 'Normalizat'    1.2422       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91047       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=   7600.642     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      267 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.578        7.8435        .12320E-03   -.18788E-03
   2  Index         1.4682        .47635        .97075E-02   -.52267E-04
   3  Normalizat    1.2421        .22444        .37642E-03   -.59295E-03
   4  Prefactor     .91049        .85255E-01    .16337E-03   -.99274E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.5783
  Index      = 1.46824
  Normalizat = 1.24214
  Prefactor  = 0.910492
 **********
 **   18 **HESSE 
 **********

 FCN=   7600.642     FROM HESSE     STATUS=OK            23 CALLS      290 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.578        7.8860        .49280E-05   -1.5057    
   2  Index         1.4682        .47897        .38830E-03   -.78433    
   3  Normalizat    1.2421        .22449        .75283E-04   -.85310    
   4  Prefactor     .91049        .85282E-01    .32673E-04   -.95775    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.28947e-10
Minuit parameter uncertainties:
  1  7.88679
  2  0.480449
  3  0.224669
  4  0.0852943
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318076': 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): 0
logL (Free Index) = 7600.64231505
delta logL = 0.424883165876

Extracting fit parameters...

4FGL J0622.3-2605
   Spectrum: PowerLaw
278    Prefactor:  1.058e+01  7.887e+00  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  1.468e+00  4.804e-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:  9.105e-01  8.529e-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.242e+00  2.247e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.99
Ra Dec: 95.596 -26.096
Photon Index (Free Index): 1.47 +/- 0.48
Photon Flux (Free Index): 2.18e-08 +/- 2.30e-08
Energy Flux (Free Index): 7.68e-05 +/- 8.61e-05

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/318076/cmap_HighResolution_530668801_530928001_4FGL_J0622.3-2605_daily_bin1124.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.04e-08', energy_flux2='7.68e-05', photon_flux_error='2.85e-08', dlogl='4.25e-01', energy_flux='3.54e-05', photon_flux2='2.18e-08', job_status='DONE', time_completed='2021-08-24 22:41:18.897889', photon_index_error2='0.48', photon_index2='1.47', ts='6.16', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='8.61e-05', EG='1.23', time_epoch_completed='1629870078.9', return_code='0', job_id='318076', GAL2='0.91', EG2='1.24', return_code2='0', energy_flux_error='2.49e-05', photon_flux_error2='2.30e-08', ts2='6.99', photon_index='1.91' WHERE bin_id='1124' AND source_name='4FGL J0622.3-2605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 22:41:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 318076: <4FGL_J0622.3-2605_daily_bin1124> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0622.3-2605_daily_bin1124 95.5956 -26.0963 530668801 530928001 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 :                                   895.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   948 sec.
    Turnaround time :                            950 sec.

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

