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


Performing analysis on: 4FGL_J0622.3-2605_daily_bin1388
RA = 95.5956, Dec = -26.0963
tmin = 599097601, tmax = 599356801
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='319462', job_status='RUN', time_executed='2021-08-24 22:31:52.918536', time_epoch_executed='1629869512.92' WHERE source_name='4FGL J0622.3-2605' and cadence='daily' and bin_id='1388'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319462

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319462/ft1_4FGL_J0622.3-2605_daily_bin1388.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319462/ft2_4FGL_J0622.3-2605_daily_bin1388.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319462/ft1_4FGL_J0622.3-2605_daily_bin1388.fits outfile=/scratch/kocevski/319462/ft1_filteredMKT_4FGL_J0622.3-2605_daily_bin1388.fits ra=95.5956 dec=-26.0963 rad=12.0 tmin=599097601.0 tmax=599356801.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 2.93
user 2.62
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/319462/ft2_4FGL_J0622.3-2605_daily_bin1388.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/319462/ft1_filteredMKT_4FGL_J0622.3-2605_daily_bin1388.fits evtable="EVENTS" outfile="/scratch/kocevski/319462/ft1_filtered_4FGL_J0622.3-2605_daily_bin1388.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 0.64
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319462/ft1_filtered_4FGL_J0622.3-2605_daily_bin1388.fits" evtable="EVENTS" scfile=/scratch/kocevski/319462/ft2_4FGL_J0622.3-2605_daily_bin1388.fits sctable="SC_DATA" outfile=/scratch/kocevski/319462/ltcube_599097601_599356801_4FGL_J0622.3-2605_daily_bin1388.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/319462/ft2_4FGL_J0622.3-2605_daily_bin1388.fits
.....................!
real 12.76
user 12.21
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319462/ft1_filtered_4FGL_J0622.3-2605_daily_bin1388.fits evtable="EVENTS" scfile=/scratch/kocevski/319462/ft2_4FGL_J0622.3-2605_daily_bin1388.fits sctable="SC_DATA" expcube=/scratch/kocevski/319462/ltcube_599097601_599356801_4FGL_J0622.3-2605_daily_bin1388.fits outfile=/scratch/kocevski/319462/expmap_599097601_599356801_4FGL_J0622.3-2605_daily_bin1388.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/319462/ltcube_599097601_599356801_4FGL_J0622.3-2605_daily_bin1388.fits
.....................!
real 191.38
user 185.50
sys 4.20

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/319462/ft1_filtered_4FGL_J0622.3-2605_daily_bin1388.fits scfile=/scratch/kocevski/319462/ft2_4FGL_J0622.3-2605_daily_bin1388.fits outfile=/scratch/kocevski/319462/cmap_599097601_599356801_4FGL_J0622.3-2605_daily_bin1388.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 0.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/319462/ft1_filtered_4FGL_J0622.3-2605_daily_bin1388.fits scfile=/scratch/kocevski/319462/ft2_4FGL_J0622.3-2605_daily_bin1388.fits outfile=/scratch/kocevski/319462/cmap_HighResolution_599097601_599356801_4FGL_J0622.3-2605_daily_bin1388.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 0.57
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/319462/ft1_filtered_4FGL_J0622.3-2605_daily_bin1388.fits evtable="EVENTS" scfile=/scratch/kocevski/319462/ft2_4FGL_J0622.3-2605_daily_bin1388.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/319462/Model_4FGL_J0622.3-2605_daily_bin1388.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/319462/ft1_filtered_4FGL_J0622.3-2605_daily_bin1388.fits....................!
real 89.18
user 87.73
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0727       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.5780       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    87.226       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.753       1.0000         .10000E-03   10000.    
     7 'Prefactor '    107.88       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.3176       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.5783       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    25.255       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.6947       1.0000         .10000E-03   10000.    
    18 'norm      '    6.7716       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.2762       1.0000         .10000E-03   10000.    
    20 'norm      '    .50284E-01   1.0000         .10000E-03   10000.    
    21 'norm      '    .25886       1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.290       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    32.507       1.0000         .10000E-03   10000.    
    25 'norm      '    73.336       1.0000         .10000E-03   10000.    
    26 'norm      '    1.8379       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .94613       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .99905       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=   6687.847     FROM MIGRAD    STATUS=CONVERGED    708 CALLS     3570 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0707        2.9575       -.26470E-07    .11821E-04
   2  norm          .10000E-03    5.7291        .16443E-06** at limit **
   3  Prefactor     5.5704        15.089       -.13500E-05   -.69170E-05
   4  Prefactor     .10000E-03    13.383        .58712E-06** at limit **
   5  Prefactor     87.397        145.51        .41422E-05   -.41699E-04
   6  Prefactor     12.758        35.310        .72592E-06    .13348E-04
   7  Prefactor     107.87        56.320        .87817E-06    .32351E-04
   8  Prefactor     4.3028        54.070        .51121E-06    .51167E-06
   9  Prefactor     .10000E-03    23.812        .42878E-06** at limit **
  10  norm          5.5757        8.8693       -.37787E-05   -.41837E-04
  11  Prefactor     .10000E-03    13.980       -.87998E-06** at limit **
  12  Prefactor     .10000E-03    3.1967        .11697E-06** at limit **
  13  Prefactor     25.255        25.943       -.40638E-07   -.20721E-04
  14  norm          .10000E-03    10.563        .49822E-06** at limit **
  15  Prefactor     .10000E-03    3.6365        .10066E-05** at limit **
  16  norm          .10000E-03    2.5309        .16943E-06** at limit **
  17  norm          2.6948        1.9727        .10357E-06    .15431E-03
  18  norm          6.7722        12.170        .12920E-07    .26578E-04
  19  Prefactor     9.2758        7.9187        .20926E-06    .78253E-04
  20  norm          .10004E-03    92.477        .27563E-04** at limit **
  21  norm          .38111        42.071        .17568E-04    .85175E-04
  22  Prefactor     13.316        12.020       -.19034E-06   -.10563E-03
  23  Prefactor     .10000E-03    7.7291        .11423E-05** at limit **
  24  norm          32.696        79.226        .61913E-06   -.14348E-03
  25  norm          73.311        72.938       -.13664E-06   -.66903E-05
  26  norm          1.8396        4.8687       -.67365E-06   -.28430E-05
  27  Normalizat    .94677        .25729       -.23724E-06   -.56101E-04
  28  Prefactor     .99877        .98289E-01   -.89032E-06   -.31551E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.07072
  norm       = 0.0001
  Prefactor  = 5.57043
  Prefactor  = 0.0001
  Prefactor  = 87.3974
  Prefactor  = 12.7576
  Prefactor  = 107.874
  Prefactor  = 4.30279
  Prefactor  = 0.0001
  norm       = 5.57573
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.255
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.69483
  norm       = 6.77224
  Prefactor  = 9.27578
  norm       = 0.000100039
  norm       = 0.381111
  Prefactor  = 13.3161
  Prefactor  = 0.0001
  norm       = 32.6961
  norm       = 73.3111
  norm       = 1.83963
  Normalizat = 0.946769
  Prefactor  = 0.998766
 **********
 **   18 **HESSE 
 **********

 FCN=   6687.847     FROM HESSE     STATUS=OK           533 CALLS     4103 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0707        2.9761        .15213E-03   -1.5420    
   2  norm          .10000E-03    5.7320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.5704        14.865        .17010E-03   -1.5236    
   4  Prefactor     .10000E-03    13.514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     87.397        145.25        .21509E-03   -1.3835    
   6  Prefactor     12.758        34.889        .11217E-03   -1.4993    
   7  Prefactor     107.87        56.450        .38721E-04   -1.3627    
   8  Prefactor     4.3028        54.396        .19387E-03   -1.5293    
   9  Prefactor     .10000E-03    23.820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.5757        8.8824        .85049E-03   -1.5236    
  11  Prefactor     .10000E-03    13.979        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.2013        .14270E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.255        25.947        .79712E-04   -1.4702    
  14  norm          .10000E-03    10.571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.6780        .15235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.5355        .12707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.6948        1.9738        .93230E-04   -1.5380    
  18  norm          6.7722        12.136        .15419E-03   -1.5187    
  19  Prefactor     9.2758        7.8911        .13159E-03   -1.5099    
  20  norm          .10004E-03    18.614        .77878E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .38111        87.194        .44491E-02   -1.5585    
  22  Prefactor     13.316        12.438        .10987E-03   -1.4978    
  23  Prefactor     .10000E-03    7.9882        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          32.696        81.245        .35140E-03   -1.4564    
  25  norm          73.311        73.153        .46882E-04   -1.3993    
  26  norm          1.8396        4.8989        .27628E-03   -1.5437    
  27  Normalizat    .94677        .28216        .41593E-03   -.94836    
  28  Prefactor     .99877        .10962        .16775E-03   -.92771    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21584e-09
Minuit parameter uncertainties:
  1  2.97635
  2  8.81533e-06
  3  14.8751
  4  1.80605e-05
  5  145.85
  6  34.9448
  7  56.4784
  8  30.6316
  9  1.3261e-05
  10  8.88451
  11  0.000139815
  12  7.17781e-05
  13  25.9587
  14  8.56855e-06
  15  5.23455e-06
  16  4.57317e-06
  17  1.97384
  18  12.1399
  19  7.89201
  20  0.00169871
  21  11.5447
  22  12.4407
  23  2.23196e-06
  24  81.5218
  25  73.2427
  26  4.89995
  27  0.2826
  28  0.109644
Done.

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

Extracting fit parameters...

4FGL J0622.3-2605
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  7.178e-05  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  1.909e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  2.311e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
515    Prefactor:  9.988e-01  1.096e-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.468e-01  2.826e-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: 6.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/319462/likelihoodResults_599097601_599356801_4FGL_J0622.3-2605_daily_bin1388.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) = 6687.84802745
delta logL = -0.00148306857045

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6687.84654436
delta logL = 1.62654032465e-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.9140       1.0000          .0000       10.000    
     3 'Normalizat'    .94676       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99877       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=   6687.847     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      208 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    55.780        .90712E-02** at limit **
   2  Index         1.9192        9.0181        .50000       -.12981E-04
   3  Normalizat    .94677        .28825E-01    .93893E-01    .99645E-05
   4  Prefactor     .99877        .11983E-01    .46252E-01   -.24238E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.91919
  Normalizat = 0.946768
  Prefactor  = 0.998767
 **********
 **   18 **HESSE 
 **********

 FCN=   6687.847     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.2609        .14285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9192        5.3734        .50000       -.66386    
   3  Normalizat    .94677        .22829        .41593E-03   -.94836    
   4  Prefactor     .99877        .95246E-01    .16775E-03   -.92771    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.92173e-10
Minuit parameter uncertainties:
  1  1.07292e-05
  2  6.32414
  3  0.228521
  4  0.0952623
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319462': 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) = 6687.84654435
delta logL = 3.31747287419e-08

Extracting fit parameters...

4FGL J0622.3-2605
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  1.073e-05  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  1.919e+00  6.324e+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.988e-01  9.526e-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.468e-01  2.285e-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/319462/cmap_HighResolution_599097601_599356801_4FGL_J0622.3-2605_daily_bin1388.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.99e-03', job_status='DONE', photon_flux_upper_limit='6.70e-08', time_completed='2021-08-24 22:44:37.166718', job_id='319462', GAL2='1.00', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1629870277.17', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='3.32e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.91' WHERE bin_id='1388' AND source_name='4FGL J0622.3-2605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 22:44:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 319462: <4FGL_J0622.3-2605_daily_bin1388> in cluster <slac> Done

Job <4FGL_J0622.3-2605_daily_bin1388> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 24 22:30:48 2021
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 22:30:49 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:30:49 2021
Terminated at Tue Aug 24 22:44:38 2021
Results reported at Tue Aug 24 22:44:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0622.3-2605_daily_bin1388 95.5956 -26.0963 599097601 599356801 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 :                                   761.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   828 sec.
    Turnaround time :                            830 sec.

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

