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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1210
RA = 181.432, Dec = -26.5946
tmin = 552960001, tmax = 553219201
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='318503', job_status='RUN', time_executed='2021-09-04 23:41:33.910198', time_epoch_executed='1630824093.91' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1210'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318503

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318503/ft1_4FGL_J1205.7-2635_daily_bin1210.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318503/ft2_4FGL_J1205.7-2635_daily_bin1210.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318503/ft1_4FGL_J1205.7-2635_daily_bin1210.fits outfile=/scratch/kocevski/318503/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1210.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=552960001.0 tmax=553219201.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.87
user 2.62
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/318503/ft2_4FGL_J1205.7-2635_daily_bin1210.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/318503/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1210.fits evtable="EVENTS" outfile="/scratch/kocevski/318503/ft1_filtered_4FGL_J1205.7-2635_daily_bin1210.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.49
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318503/ft1_filtered_4FGL_J1205.7-2635_daily_bin1210.fits" evtable="EVENTS" scfile=/scratch/kocevski/318503/ft2_4FGL_J1205.7-2635_daily_bin1210.fits sctable="SC_DATA" outfile=/scratch/kocevski/318503/ltcube_552960001_553219201_4FGL_J1205.7-2635_daily_bin1210.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/318503/ft2_4FGL_J1205.7-2635_daily_bin1210.fits
.....................!
real 12.48
user 12.12
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318503/ft1_filtered_4FGL_J1205.7-2635_daily_bin1210.fits evtable="EVENTS" scfile=/scratch/kocevski/318503/ft2_4FGL_J1205.7-2635_daily_bin1210.fits sctable="SC_DATA" expcube=/scratch/kocevski/318503/ltcube_552960001_553219201_4FGL_J1205.7-2635_daily_bin1210.fits outfile=/scratch/kocevski/318503/expmap_552960001_553219201_4FGL_J1205.7-2635_daily_bin1210.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/318503/ltcube_552960001_553219201_4FGL_J1205.7-2635_daily_bin1210.fits
.....................!
real 192.70
user 187.05
sys 5.14

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/318503/ft1_filtered_4FGL_J1205.7-2635_daily_bin1210.fits scfile=/scratch/kocevski/318503/ft2_4FGL_J1205.7-2635_daily_bin1210.fits outfile=/scratch/kocevski/318503/cmap_552960001_553219201_4FGL_J1205.7-2635_daily_bin1210.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318503/ft1_filtered_4FGL_J1205.7-2635_daily_bin1210.fits scfile=/scratch/kocevski/318503/ft2_4FGL_J1205.7-2635_daily_bin1210.fits outfile=/scratch/kocevski/318503/cmap_HighResolution_552960001_553219201_4FGL_J1205.7-2635_daily_bin1210.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/318503/ft1_filtered_4FGL_J1205.7-2635_daily_bin1210.fits evtable="EVENTS" scfile=/scratch/kocevski/318503/ft2_4FGL_J1205.7-2635_daily_bin1210.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/318503/Model_4FGL_J1205.7-2635_daily_bin1210.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/318503/ft1_filtered_4FGL_J1205.7-2635_daily_bin1210.fits.....................!
real 72.67
user 71.26
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/318503/ft1_filtered_4FGL_J1205.7-2635_daily_bin1210.fits', '/scratch/kocevski/318503/ft2_4FGL_J1205.7-2635_daily_bin1210.fits', expMap='/scratch/kocevski/318503/expmap_552960001_553219201_4FGL_J1205.7-2635_daily_bin1210.fits', expCube='/scratch/kocevski/318503/ltcube_552960001_553219201_4FGL_J1205.7-2635_daily_bin1210.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/318503/Model_4FGL_J1205.7-2635_daily_bin1210.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/318503/ft1_filtered_4FGL_J1205.7-2635_daily_bin1210.fits
Spacecraft file(s): /scratch/kocevski/318503/ft2_4FGL_J1205.7-2635_daily_bin1210.fits
Exposure map: /scratch/kocevski/318503/expmap_552960001_553219201_4FGL_J1205.7-2635_daily_bin1210.fits
Exposure cube: /scratch/kocevski/318503/ltcube_552960001_553219201_4FGL_J1205.7-2635_daily_bin1210.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/318503/Model_4FGL_J1205.7-2635_daily_bin1210.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) = 8531.74262643

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    6.4337       1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.481       1.0000         .10000E-03   10000.    
     4 'norm      '    1.0516       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .21895       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    43.674       1.0000         .10000E-03   10000.    
    10 'norm      '    1.6605       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.8828       1.0000         .10000E-03   10000.    
    14 'Prefactor '    63.443       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10280E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.9904       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.3208       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.448       1.0000         .10000E-03   10000.    
    19 'norm      '    .30023       1.0000         .10000E-03   10000.    
    20 'Prefactor '    137.63       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0171       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0096       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8531.733     FROM MIGRAD    STATUS=CONVERGED    479 CALLS     2398 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10014E-03    12.942         .0000    ** at limit **
   2  Prefactor     6.4333        9.5349         .0000        .24814E-02
   3  Prefactor     18.482        19.885         .0000        .30984E-03
   4  norm          1.0514        .93485         .0000        .11119E-03
   5  Prefactor     .10000E-03    7.8387         .0000    ** at limit **
   6  Prefactor     .22553        2.4086         .0000        .37268E-03
   7  Prefactor     .10007E-03    11.195         .0000    ** at limit **
   8  norm          .10000E-03    9.3854         .0000    ** at limit **
   9  Prefactor     43.647        27.192         .0000        .40434E-02
  10  norm          1.6663        8.5020         .0000        .32688E-01
  11  Prefactor     .10000E-03    2.1002         .0000    ** at limit **
  12  Prefactor     .10010E-03    16.954         .0000    ** at limit **
  13  Prefactor     1.8825        7.0135         .0000        .44738E-03
  14  Prefactor     63.450        28.999         .0000       -.91416E-02
  15  Prefactor     .10002E-03    20.308         .0000    ** at limit **
  16  Prefactor     4.9872        88.671         .0000        .28659E-03
  17  Prefactor     9.2434        21.810         .0000       -.96720E-03
  18  Prefactor     10.447        9.9126         .0000        .10696E-03
  19  norm          .30065        .70103         .0000        .29204E-02
  20  Prefactor     137.63        92.456         .0000        .15931E-02
  21  Normalizat    1.0172        .21959         .0000        .24034E-04
  22  Prefactor     1.0096        .10384         .0000       -.12231E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100137
  Prefactor  = 6.43327
  Prefactor  = 18.4815
  norm       = 1.05144
  Prefactor  = 0.0001
  Prefactor  = 0.225529
  Prefactor  = 0.000100071
  norm       = 0.000100005
  Prefactor  = 43.6467
  norm       = 1.66628
  Prefactor  = 0.0001
  Prefactor  = 0.000100098
  Prefactor  = 1.88247
  Prefactor  = 63.4497
  Prefactor  = 0.000100024
  Prefactor  = 4.98722
  Prefactor  = 9.24342
  Prefactor  = 10.4473
  norm       = 0.300653
  Prefactor  = 137.633
  Normalizat = 1.01718
  Prefactor  = 1.00957
 **********
 **   18 **HESSE 
 **********

 FCN=   8531.733     FROM HESSE     STATUS=OK           338 CALLS     2736 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10014E-03    12.952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.4333        9.5391        .79116E-03   -1.5201    
   3  Prefactor     18.482        19.886        .93166E-04   -1.4848    
   4  norm          1.0514        .92487        .81792E-04   -1.5503    
   5  Prefactor     .10000E-03    7.9076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .22553        24.174        .26945E-02   -1.5613    
   7  Prefactor     .10007E-03    11.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    9.3967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     43.647        24.815        .60663E-04   -1.4386    
  10  norm          1.6663        7.0199        .15894E-02   -1.5450    
  11  Prefactor     .10000E-03    2.1144        .13057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10010E-03    16.958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.8825        6.9843        .30336E-03   -1.5434    
  14  Prefactor     63.450        28.980        .50381E-04   -1.4113    
  15  Prefactor     .10002E-03    20.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.9872        87.900        .18002E-03   -1.5261    
  17  Prefactor     9.2434        21.810        .13127E-03   -1.5100    
  18  Prefactor     10.447        9.9163        .12396E-03   -1.5061    
  19  norm          .30065        .69581        .11290E-03   -1.5598    
  20  Prefactor     137.63        92.386        .17166E-03   -1.3356    
  21  Normalizat    1.0172        .26263        .35319E-03   -.92457    
  22  Prefactor     1.0096        .12460        .17475E-03   -.92411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02902e-07
Minuit parameter uncertainties:
  1  0.00266094
  2  9.54134
  3  19.8928
  4  0.92488
  5  3.98278e-05
  6  4.67079
  7  0.00177753
  8  0.0004182
  9  24.8206
  10  6.84136
  11  5.01028e-06
  12  0.0025743
  13  6.98727
  14  28.9859
  15  0.00140104
  16  41.9466
  17  21.8283
  18  9.91783
  19  0.695828
  20  92.4828
  21  0.262964
  22  0.124632
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  5.010e-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:  1.010e+00  1.246e-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.017e+00  2.630e-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: 7.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/318503/likelihoodResults_552960001_553219201_4FGL_J1205.7-2635_daily_bin1210.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) = 8531.73559631
delta logL = -0.00225265500922

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8531.73334365
delta logL = 5.20230969414e-10

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     '    2.5308       1.0000          .0000       10.000    
     3 'Normalizat'    1.0172       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0096       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=   8531.733     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      195 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    260.04        .90712E-02** at limit **
   2  Index         2.5324        8.1236        .50000       -.69863E-05
   3  Normalizat    1.0172        .71376E-01    .79793E-01   -.14524E-04
   4  Prefactor     1.0096        .35207E-01    .43391E-01   -.53409E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.53242
  Normalizat = 1.01718
  Prefactor  = 1.00957
 **********
 **   18 **HESSE 
 **********

 FCN=   8531.733     FROM HESSE     STATUS=OK            29 CALLS      224 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.1923        .13057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5324        8.0215        .20000       -.51613    
   3  Normalizat    1.0172        .24763        .35319E-03   -.92457    
   4  Prefactor     1.0096        .12304        .17475E-03   -.92411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06108e-07
Minuit parameter uncertainties:
  1  5.61246e-06
  2  288.118
  3  0.247913
  4  0.123077
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318503': 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) = 8531.73334365
delta logL = 5.14774001203e-09

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  5.612e-06  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.532e+00  2.881e+02  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:  1.010e+00  1.231e-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.017e+00  2.479e-01  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/318503/cmap_HighResolution_552960001_553219201_4FGL_J1205.7-2635_daily_bin1210.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.09e-03', job_status='DONE', photon_flux_upper_limit='7.82e-08', time_completed='2021-09-04 23:54:28.216543', job_id='318503', GAL2='1.01', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1630824868.22', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='5.15e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1210' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:54:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 318503: <4FGL_J1205.7-2635_daily_bin1210> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1210> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:41:08 2021
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:41:10 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:41:10 2021
Terminated at Sat Sep  4 23:54:29 2021
Results reported at Sat Sep  4 23:54:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1210 181.432 -26.5946 552960001 553219201 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 :                                   767.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             368.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            801 sec.

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

