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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1388
RA = 181.432, Dec = -26.5946
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='319657', job_status='RUN', time_executed='2021-09-04 23:45:46.984815', time_epoch_executed='1630824346.98' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1388'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319657

Creating custom pfile directory:
/scratch/kocevski/319657/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/319657/ft1_4FGL_J1205.7-2635_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/319657/ft2_4FGL_J1205.7-2635_daily_bin1388.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319657/ft1_4FGL_J1205.7-2635_daily_bin1388.fits outfile=/scratch/kocevski/319657/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1388.fits ra=181.432 dec=-26.5946 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.20
user 1.99
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/319657/ft2_4FGL_J1205.7-2635_daily_bin1388.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/319657/ft2_4FGL_J1205.7-2635_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/319657/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1388.fits evtable="EVENTS" outfile="/scratch/kocevski/319657/ft1_filtered_4FGL_J1205.7-2635_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.42
user 0.26
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319657/ft1_filtered_4FGL_J1205.7-2635_daily_bin1388.fits" evtable="EVENTS" scfile=/scratch/kocevski/319657/ft2_4FGL_J1205.7-2635_daily_bin1388.fits sctable="SC_DATA" outfile=/scratch/kocevski/319657/ltcube_599097601_599356801_4FGL_J1205.7-2635_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/319657/ft2_4FGL_J1205.7-2635_daily_bin1388.fits
.....................!
real 9.51
user 9.19
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319657/ft1_filtered_4FGL_J1205.7-2635_daily_bin1388.fits evtable="EVENTS" scfile=/scratch/kocevski/319657/ft2_4FGL_J1205.7-2635_daily_bin1388.fits sctable="SC_DATA" expcube=/scratch/kocevski/319657/ltcube_599097601_599356801_4FGL_J1205.7-2635_daily_bin1388.fits outfile=/scratch/kocevski/319657/expmap_599097601_599356801_4FGL_J1205.7-2635_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/319657/ltcube_599097601_599356801_4FGL_J1205.7-2635_daily_bin1388.fits
.....................!
real 144.97
user 140.63
sys 4.09

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 177 point sources and 0 extended sources

Setting source of interest to:
4FGL J1205.7-2635 @ 181.432 -26.5946

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/319657/ft1_filtered_4FGL_J1205.7-2635_daily_bin1388.fits scfile=/scratch/kocevski/319657/ft2_4FGL_J1205.7-2635_daily_bin1388.fits outfile=/scratch/kocevski/319657/cmap_599097601_599356801_4FGL_J1205.7-2635_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=181.432 yref=-26.5946 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.56
user 0.29
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/319657/ft1_filtered_4FGL_J1205.7-2635_daily_bin1388.fits scfile=/scratch/kocevski/319657/ft2_4FGL_J1205.7-2635_daily_bin1388.fits outfile=/scratch/kocevski/319657/cmap_HighResolution_599097601_599356801_4FGL_J1205.7-2635_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=181.432 yref=-26.5946 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.54
user 0.30
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/319657/ft1_filtered_4FGL_J1205.7-2635_daily_bin1388.fits evtable="EVENTS" scfile=/scratch/kocevski/319657/ft2_4FGL_J1205.7-2635_daily_bin1388.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/319657/Model_4FGL_J1205.7-2635_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/319657/ft1_filtered_4FGL_J1205.7-2635_daily_bin1388.fits.....................!
real 69.51
user 68.05
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/319657/ft1_filtered_4FGL_J1205.7-2635_daily_bin1388.fits', '/scratch/kocevski/319657/ft2_4FGL_J1205.7-2635_daily_bin1388.fits', expMap='/scratch/kocevski/319657/expmap_599097601_599356801_4FGL_J1205.7-2635_daily_bin1388.fits', expCube='/scratch/kocevski/319657/ltcube_599097601_599356801_4FGL_J1205.7-2635_daily_bin1388.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/319657/Model_4FGL_J1205.7-2635_daily_bin1388.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1205.7-2635'

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  2.173e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.529e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.083e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/319657/ft1_filtered_4FGL_J1205.7-2635_daily_bin1388.fits
Spacecraft file(s): /scratch/kocevski/319657/ft2_4FGL_J1205.7-2635_daily_bin1388.fits
Exposure map: /scratch/kocevski/319657/expmap_599097601_599356801_4FGL_J1205.7-2635_daily_bin1388.fits
Exposure cube: /scratch/kocevski/319657/ltcube_599097601_599356801_4FGL_J1205.7-2635_daily_bin1388.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/319657/Model_4FGL_J1205.7-2635_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) = 10971.9359428

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .43287E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10306E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.7052       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.0001       1.0000         .10000E-03   10000.    
     9 'Prefactor '    47.895       1.0000         .10000E-03   10000.    
    10 'norm      '    .46382       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.1843       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.760       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    26.480       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10212E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .85725       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5954       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .84445       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+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=   10971.87     FROM MIGRAD    STATUS=CONVERGED    837 CALLS     2434 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.178        .18142E-02** at limit **
   2  Prefactor     .10000E-03    9.3039        .18142E-02** at limit **
   3  Prefactor     .10000E-03    22.480        .16311    ** at limit **
   4  norm          .10000E-03    1.2042        .13383E-02** at limit **
   5  Prefactor     .10000E-03    3.8760        .18142E-02** at limit **
   6  Prefactor     3.7052        4.1005        .20980E-03   -.12106E-03
   7  Prefactor     .10000E-03    8.1094        .18142E-02** at limit **
   8  norm          2.9994        22.271        .23435E-03   -.41526E-04
   9  Prefactor     47.884        16.912        .57940E-04    .27470E-05
  10  norm          .46566        5.7792        .41806E-03    .50581E-05
  11  Prefactor     .10000E-03    1.6039        .12888E-02** at limit **
  12  Prefactor     .10000E-03    20.952        .18142E-02** at limit **
  13  Prefactor     7.1814        14.113        .14965E-03   -.30083E-04
  14  Prefactor     .10000E-03    30.055        .18142E-02** at limit **
  15  Prefactor     20.758        14.529        .87907E-04   -.21442E-03
  16  Prefactor     .10000E-03    14.369        .18142E-02** at limit **
  17  Prefactor     26.478        17.909        .77849E-04   -.18073E-03
  18  Prefactor     .10000E-03    17.016        .36285E-03** at limit **
  19  norm          .85708        .85352        .94247E-04   -.86031E-03
  20  Prefactor     .10000E-03    41.948        .18142E-02** at limit **
  21  Normalizat    1.5954        .23316        .30950E-03    .15061E-03
  22  Prefactor     .84446        .10911        .19518E-03    .21028E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 3.70525
  Prefactor  = 0.0001
  norm       = 2.99938
  Prefactor  = 47.8845
  norm       = 0.465658
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.18141
  Prefactor  = 0.0001
  Prefactor  = 20.7577
  Prefactor  = 0.0001
  Prefactor  = 26.4782
  Prefactor  = 0.0001
  norm       = 0.857084
  Prefactor  = 0.0001
  Normalizat = 1.59542
  Prefactor  = 0.844463
 **********
 **   18 **HESSE 
 **********

 FCN=   10971.87     FROM HESSE     STATUS=OK           330 CALLS     2764 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.182        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.3095        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    22.378        .16375       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.2152        .26766E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.8766        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.7052        4.1002        .83920E-05   -1.5323    
   7  Prefactor     .10000E-03    8.1096        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.9994        22.268        .93739E-05   -1.5362    
   9  Prefactor     47.884        16.853        .23176E-05   -1.4323    
  10  norm          .46566        5.7353        .16722E-04   -1.5571    
  11  Prefactor     .10000E-03    1.6042        .25776E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    20.952        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.1814        14.113        .59861E-05   -1.5172    
  14  Prefactor     .10000E-03    30.071        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     20.758        14.529        .17581E-04   -1.4796    
  16  Prefactor     .10000E-03    14.369        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     26.478        17.909        .15570E-04   -1.4678    
  18  Prefactor     .10000E-03    17.017        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .85708        .85345        .37699E-05   -1.5523    
  20  Prefactor     .10000E-03    41.949        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5954        .23339        .12380E-04   -.75131    
  22  Prefactor     .84446        .10921        .78071E-05   -.98110    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40073e-09
Minuit parameter uncertainties:
  1  1.62828e-05
  2  1.42637e-05
  3  0.00016202
  4  8.05423e-05
  5  5.28666e-06
  6  4.10052
  7  1.22392e-06
  8  16.3532
  9  16.8542
  10  3.26848
  11  1.98263e-06
  12  5.25346e-05
  13  14.1196
  14  0.000145419
  15  14.5312
  16  0.000127385
  17  17.9123
  18  0.000143637
  19  0.853467
  20  0.000108655
  21  0.233544
  22  0.109243
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  1.983e-06  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.529e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.083e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  8.445e-01  1.092e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.595e+00  2.335e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 181.432 -26.595
Photon Flux Upper Limit: 6.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/319657/likelihoodResults_599097601_599356801_4FGL_J1205.7-2635_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): 0
logL (Free Index) = 10971.8774183
delta logL = -0.00297012927331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10971.8744482
delta logL = -1.15996954264e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5291       1.0000          .0000       10.000    
     3 'Normalizat'    1.5954       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84446       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10971.87     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      205 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.2836        .90712E-02** at limit **
   2  Index         2.5290        7.6081        .50000        .19509E-06
   3  Normalizat    1.5954        .81301E-02    .69959E-01   -.84662E-05
   4  Prefactor     .84446        .39054E-02    .44293E-01   -.54381E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.529
  Normalizat = 1.59542
  Prefactor  = 0.844463
 **********
 **   18 **HESSE 
 **********

 FCN=   10971.87     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      238 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    124.90        .12888E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5290        5.6061        .50000       -.51691    
   3  Normalizat    1.5954        .48218E-01    .30950E-03   -.75131    
   4  Prefactor     .84446        .23124E-01    .19518E-03   -.98110    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.26955e-09
Minuit parameter uncertainties:
  1  4.8066e-05
  2  1692.17
  3  0.0482197
  4  0.0231245
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319657': 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) = 10971.8744482
delta logL = 2.36468622461e-11

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  4.807e-05  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.529e+00  1.692e+03  0.000e+00  1.000e+01 (-1.000e+00)
293        Scale:  7.083e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  8.445e-01  2.312e-02  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.595e+00  4.822e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 181.432 -26.595

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/319657/cmap_HighResolution_599097601_599356801_4FGL_J1205.7-2635_daily_bin1388.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.85e-03', job_status='DONE', photon_flux_upper_limit='6.22e-08', time_completed='2021-09-04 23:57:10.915881', job_id='319657', GAL2='0.84', fit_tolerance='1e-08', EG2='1.60', EG='1.60', time_epoch_completed='1630825030.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='2.36e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1388' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:57:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 319657: <4FGL_J1205.7-2635_daily_bin1388> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1388> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:45:22 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:45:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 23:45:24 2021
Terminated at Sat Sep  4 23:57:11 2021
Results reported at Sat Sep  4 23:57:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1388 181.432 -26.5946 599097601 599356801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1205.7-2635 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   679.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            709 sec.

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

