/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 7 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 = 7543
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0622.3-2605_daily_bin242
RA = 95.5956, Dec = -26.0963
tmin = 302054401, tmax = 302313601
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='312115', job_status='RUN', time_executed='2021-08-24 22:06:16.817436', time_epoch_executed='1629867976.82' WHERE source_name='4FGL J0622.3-2605' and cadence='daily' and bin_id='242'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/312115

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/312115/ft1_4FGL_J0622.3-2605_daily_bin242.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/312115/ft2_4FGL_J0622.3-2605_daily_bin242.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/312115/ft1_4FGL_J0622.3-2605_daily_bin242.fits outfile=/scratch/kocevski/312115/ft1_filteredMKT_4FGL_J0622.3-2605_daily_bin242.fits ra=95.5956 dec=-26.0963 rad=12.0 tmin=302054401.0 tmax=302313601.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.55
user 3.46
sys 1.01

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/312115/ft2_4FGL_J0622.3-2605_daily_bin242.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/312115/ft1_filteredMKT_4FGL_J0622.3-2605_daily_bin242.fits evtable="EVENTS" outfile="/scratch/kocevski/312115/ft1_filtered_4FGL_J0622.3-2605_daily_bin242.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.39
user 0.37
sys 0.97

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/312115/ft1_filtered_4FGL_J0622.3-2605_daily_bin242.fits" evtable="EVENTS" scfile=/scratch/kocevski/312115/ft2_4FGL_J0622.3-2605_daily_bin242.fits sctable="SC_DATA" outfile=/scratch/kocevski/312115/ltcube_302054401_302313601_4FGL_J0622.3-2605_daily_bin242.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/312115/ft2_4FGL_J0622.3-2605_daily_bin242.fits
.....................!
real 18.54
user 17.25
sys 1.23

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/312115/ft1_filtered_4FGL_J0622.3-2605_daily_bin242.fits evtable="EVENTS" scfile=/scratch/kocevski/312115/ft2_4FGL_J0622.3-2605_daily_bin242.fits sctable="SC_DATA" expcube=/scratch/kocevski/312115/ltcube_302054401_302313601_4FGL_J0622.3-2605_daily_bin242.fits outfile=/scratch/kocevski/312115/expmap_302054401_302313601_4FGL_J0622.3-2605_daily_bin242.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/312115/ltcube_302054401_302313601_4FGL_J0622.3-2605_daily_bin242.fits
.....................!
real 197.23
user 189.13
sys 7.60

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/312115/ft1_filtered_4FGL_J0622.3-2605_daily_bin242.fits scfile=/scratch/kocevski/312115/ft2_4FGL_J0622.3-2605_daily_bin242.fits outfile=/scratch/kocevski/312115/cmap_302054401_302313601_4FGL_J0622.3-2605_daily_bin242.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.38
user 0.41
sys 0.94

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/312115/ft1_filtered_4FGL_J0622.3-2605_daily_bin242.fits scfile=/scratch/kocevski/312115/ft2_4FGL_J0622.3-2605_daily_bin242.fits outfile=/scratch/kocevski/312115/cmap_HighResolution_302054401_302313601_4FGL_J0622.3-2605_daily_bin242.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.38
user 0.43
sys 0.94

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/312115/ft1_filtered_4FGL_J0622.3-2605_daily_bin242.fits evtable="EVENTS" scfile=/scratch/kocevski/312115/ft2_4FGL_J0622.3-2605_daily_bin242.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/312115/Model_4FGL_J0622.3-2605_daily_bin242.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/312115/ft1_filtered_4FGL_J0622.3-2605_daily_bin242.fits.....................!
real 117.64
user 114.27
sys 2.92

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10123E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.1117       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.5852       1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.441       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.972       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.4668       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10531E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10246E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10751E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.0191       1.0000         .10000E-03   10000.    
    11 'Prefactor '    28.573       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.5372       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10091E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.9866       1.0000         .10000E-03   10000.    
    16 'norm      '    4.2180       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10070E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .62073       1.0000         .10000E-03   10000.    
    20 'norm      '    .10471E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .30606E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.8374       1.0000         .10000E-03   10000.    
    24 'norm      '    53.631       1.0000         .10000E-03   10000.    
    25 'norm      '    67.033       1.0000         .10000E-03   10000.    
    26 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1096       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .94816       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=   8500.471     FROM MIGRAD    STATUS=CONVERGED    682 CALLS     3523 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.4855        .32023E-07** at limit **
   2  norm          1.1056        28.056        .28004E-04    .71831E-04
   3  Prefactor     6.5906        10.592       -.42509E-05   -.24794E-03
   4  Prefactor     21.442        12.915        .40769E-06    .29428E-04
   5  Prefactor     11.740        224.30        .62170E-04   -.34155E-04
   6  Prefactor     4.4655        27.706       -.23276E-06   -.42659E-04
   7  Prefactor     .10000E-03    10.732        .76319E-07** at limit **
   8  Prefactor     .10000E-03    15.172       -.11777E-06** at limit **
   9  Prefactor     .10000E-03    46.621       -.15645E-05** at limit **
  10  norm          1.0203        6.5851       -.56292E-06   -.17305E-03
  11  Prefactor     28.585        21.010       -.19841E-05   -.50251E-04
  12  Prefactor     2.5356        3.8805        .19199E-06    .40632E-04
  13  Prefactor     .10000E-03    16.789        .44384E-06** at limit **
  14  norm          .10000E-03    17.534        .44603E-06** at limit **
  15  Prefactor     2.9857        5.9116        .26446E-06    .51879E-05
  16  norm          4.2177        5.0598        .13959E-06    .39475E-04
  17  norm          .10000E-03    .56516       -.30636E-07** at limit **
  18  norm          .10000E-03    4.2970        .79115E-07** at limit **
  19  Prefactor     .62014        4.6741        .88002E-06   -.16340E-04
  20  norm          .10000E-03    14.022        .19070E-07** at limit **
  21  norm          .10058E-03    5.1861       -.18242E-05** at limit **
  22  Prefactor     .10000E-03    5.4985        .77678E-07** at limit **
  23  Prefactor     3.8363        3.5674        .34367E-06    .65658E-03
  24  norm          53.655        56.075       -.24164E-05    .12293E-04
  25  norm          67.058        45.762       -.19568E-05    .11450E-04
  26  norm          .10000E-03    1.2282       -.44231E-07** at limit **
  27  Normalizat    1.1097        .20354        .37984E-06    .13525E-03
  28  Prefactor     .94812        .76377E-01   -.60224E-06    .31727E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 1.10565
  Prefactor  = 6.59058
  Prefactor  = 21.4421
  Prefactor  = 11.7396
  Prefactor  = 4.46555
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.02025
  Prefactor  = 28.5849
  Prefactor  = 2.53558
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.9857
  norm       = 4.21765
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.620135
  norm       = 0.0001
  norm       = 0.000100582
  Prefactor  = 0.0001
  Prefactor  = 3.8363
  norm       = 53.6554
  norm       = 67.0577
  norm       = 0.0001
  Normalizat = 1.10971
  Prefactor  = 0.948123
 **********
 **   18 **HESSE 
 **********

 FCN=   8500.471     FROM HESSE     STATUS=OK           531 CALLS     4054 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.5507        .21906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1056        28.102        .22382E-02   -1.5498    
   3  Prefactor     6.5906        10.481        .15638E-03   -1.5194    
   4  Prefactor     21.442        12.902        .43251E-03   -1.4782    
   5  Prefactor     11.740        224.26        .11577E-03   -1.5023    
   6  Prefactor     4.4655        26.851        .19052E-03   -1.5285    
   7  Prefactor     .10000E-03    10.738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    46.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.0203        6.4454        .43230E-03   -1.5506    
  11  Prefactor     28.585        20.848        .74950E-04   -1.4638    
  12  Prefactor     2.5356        3.8255        .21144E-03   -1.5389    
  13  Prefactor     .10000E-03    16.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    17.559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.9857        5.8999        .23491E-03   -1.5362    
  16  norm          4.2177        5.0498        .19621E-03   -1.5297    
  17  norm          .10000E-03    .83749        .13142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.3431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .62014        4.4771        .36782E-03   -1.5550    
  20  norm          .10000E-03    14.200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10058E-03    6.1016        .62119E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    5.5070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.8363        3.5610        .15459E-03   -1.5316    
  24  norm          53.655        56.088        .54770E-04   -1.4242    
  25  norm          67.058        45.808        .24511E-03   -1.4068    
  26  norm          .10000E-03    1.2443        .99736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1097        .21950        .39322E-03   -.89441    
  28  Prefactor     .94812        .83382E-01    .16059E-03   -.94479    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19485e-09
Minuit parameter uncertainties:
  1  1.21556e-06
  2  11.1536
  3  10.4839
  4  12.9038
  5  103.069
  6  21.9146
  7  1.37913e-05
  8  2.06642e-06
  9  1.99623e-05
  10  5.12929
  11  20.8533
  12  3.82586
  13  3.84214e-06
  14  3.85647e-07
  15  5.90102
  16  5.05032
  17  4.34415e-06
  18  2.68744e-06
  19  3.33259
  20  9.26372e-05
  21  0.00376991
  22  6.46753e-06
  23  3.56118
  24  56.1437
  25  45.832
  26  3.97965e-07
  27  0.219681
  28  0.0833933
Done.

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

Extracting fit parameters...

4FGL J0622.3-2605
   Spectrum: PowerLaw
278    Prefactor:  2.536e+00  3.826e+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.481e-01  8.339e-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.110e+00  2.197e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.87
Ra Dec: 95.596 -26.096
Photon Flux Upper Limit: 6.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/312115/likelihoodResults_302054401_302313601_4FGL_J0622.3-2605_daily_bin242.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) = 8500.4701587
delta logL = 0.00099458281511

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8500.46990235
delta logL = 0.00125093243332

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6237       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8576       1.0000          .0000       10.000    
     3 'Normalizat'    1.1104       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94798       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=   8500.470     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      205 TOTAL
                     EDM=   .47E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6248        128.09        .62945E-02    .17974E-03
   2  Index         1.8552        5.5392        .26679        .28739E-04
   3  Normalizat    1.1105        .92967E-01    .88759E-01    .22934E-04
   4  Prefactor     .94799        .26110E-01    .45614E-01   -.60142E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.62482
  Index      = 1.85525
  Normalizat = 1.11053
  Prefactor  = 0.947994
 **********
 **   18 **HESSE 
 **********

 FCN=   8500.470     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .26E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6248        4.3313        .21548E-03   -1.5384    
   2  Index         1.8552        1.0768        .13787E-01   -.68020    
   3  Normalizat    1.1105        .20785        .39309E-03   -.89414    
   4  Prefactor     .94799        .79432E-01    .16060E-03   -.94484    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62706e-12
Minuit parameter uncertainties:
  1  4.33178
  2  1.09105
  3  0.208006
  4  0.0794418
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/312115': 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) = 8500.46989913
delta logL = 0.00125414633112

Extracting fit parameters...

4FGL J0622.3-2605
   Spectrum: PowerLaw
278    Prefactor:  2.625e+00  4.332e+00  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  1.855e+00  1.091e+00  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.480e-01  7.944e-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.111e+00  2.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.87
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/312115/cmap_HighResolution_302054401_302313601_4FGL_J0622.3-2605_daily_bin242.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.99e-03', job_status='DONE', photon_flux_upper_limit='6.71e-08', time_completed='2021-08-24 22:22:06.635446', job_id='312115', GAL2='0.95', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1629868926.64', return_code2='0', ts='0.87', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.25e-03', ts2='0.87', photon_index_error='0.00', photon_index='1.91' WHERE bin_id='242' AND source_name='4FGL J0622.3-2605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 22:22:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 312115: <4FGL_J0622.3-2605_daily_bin242> in cluster <slac> Done

Job <4FGL_J0622.3-2605_daily_bin242> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 24 22:05:45 2021
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 22:05:46 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:05:46 2021
Terminated at Tue Aug 24 22:22:07 2021
Results reported at Tue Aug 24 22:22:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0622.3-2605_daily_bin242 95.5956 -26.0963 302054401 302313601 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 :                                   955.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             349.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            982 sec.

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

