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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1207
RA = 181.432, Dec = -26.5946
tmin = 552182401, tmax = 552441601
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='318498', job_status='RUN', time_executed='2021-09-04 23:41:52.180066', time_epoch_executed='1630824112.18' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1207'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318498

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318498/ft1_4FGL_J1205.7-2635_daily_bin1207.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318498/ft2_4FGL_J1205.7-2635_daily_bin1207.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318498/ft1_4FGL_J1205.7-2635_daily_bin1207.fits outfile=/scratch/kocevski/318498/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1207.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=552182401.0 tmax=552441601.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 3.73
user 3.47
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318498/ft1_filtered_4FGL_J1205.7-2635_daily_bin1207.fits" evtable="EVENTS" scfile=/scratch/kocevski/318498/ft2_4FGL_J1205.7-2635_daily_bin1207.fits sctable="SC_DATA" outfile=/scratch/kocevski/318498/ltcube_552182401_552441601_4FGL_J1205.7-2635_daily_bin1207.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/318498/ft2_4FGL_J1205.7-2635_daily_bin1207.fits
.....................!
real 13.44
user 13.07
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318498/ft1_filtered_4FGL_J1205.7-2635_daily_bin1207.fits evtable="EVENTS" scfile=/scratch/kocevski/318498/ft2_4FGL_J1205.7-2635_daily_bin1207.fits sctable="SC_DATA" expcube=/scratch/kocevski/318498/ltcube_552182401_552441601_4FGL_J1205.7-2635_daily_bin1207.fits outfile=/scratch/kocevski/318498/expmap_552182401_552441601_4FGL_J1205.7-2635_daily_bin1207.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/318498/ltcube_552182401_552441601_4FGL_J1205.7-2635_daily_bin1207.fits
.....................!
real 192.57
user 187.40
sys 4.80

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/318498/ft1_filtered_4FGL_J1205.7-2635_daily_bin1207.fits scfile=/scratch/kocevski/318498/ft2_4FGL_J1205.7-2635_daily_bin1207.fits outfile=/scratch/kocevski/318498/cmap_552182401_552441601_4FGL_J1205.7-2635_daily_bin1207.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318498/ft1_filtered_4FGL_J1205.7-2635_daily_bin1207.fits scfile=/scratch/kocevski/318498/ft2_4FGL_J1205.7-2635_daily_bin1207.fits outfile=/scratch/kocevski/318498/cmap_HighResolution_552182401_552441601_4FGL_J1205.7-2635_daily_bin1207.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.53
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/318498/ft1_filtered_4FGL_J1205.7-2635_daily_bin1207.fits evtable="EVENTS" scfile=/scratch/kocevski/318498/ft2_4FGL_J1205.7-2635_daily_bin1207.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/318498/Model_4FGL_J1205.7-2635_daily_bin1207.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/318498/ft1_filtered_4FGL_J1205.7-2635_daily_bin1207.fits.....................!
real 57.91
user 56.55
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.1008       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .73401       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .79150E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.360       1.0000         .10000E-03   10000.    
    10 'norm      '    1.1483       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    127.37       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10285E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.749       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.7743       1.0000         .10000E-03   10000.    
    19 'norm      '    1.5329       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .18602E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5827       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81730       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=   6508.676     FROM MIGRAD    STATUS=CONVERGED    507 CALLS     2377 TOTAL
                     EDM=   .33E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10006E-03    26.492         .0000    ** at limit **
   2  Prefactor     1.0997        29.835         .0000        .94257E-02
   3  Prefactor     .10064E-03    37.892         .0000    ** at limit **
   4  norm          .73305        1.4713         .0000        .62714E-03
   5  Prefactor     .10000E-03    8.3592         .0000    ** at limit **
   6  Prefactor     .10000E-03    5.1961         .0000    ** at limit **
   7  Prefactor     .10003E-03    21.867         .0000    ** at limit **
   8  norm          .10000E-03    5.7147         .0000    ** at limit **
   9  Prefactor     12.403        25.767         .0000        .74368E-03
  10  norm          1.1368        19.886         .0000        .26441E-01
  11  Prefactor     .10000E-03    2.2325         .0000    ** at limit **
  12  Prefactor     127.38        86.680         .0000       -.26915E-03
  13  Prefactor     .10000E-03    3.0756         .0000    ** at limit **
  14  Prefactor     .10001E-03    17.754         .0000    ** at limit **
  15  Prefactor     .10000E-03    15.922         .0000    ** at limit **
  16  Prefactor     .10049E-03    40.700         .0000    ** at limit **
  17  Prefactor     17.742        24.693         .0000       -.28930E-03
  18  Prefactor     6.7758        16.014         .0000       -.55693E-04
  19  norm          1.5330        1.1056         .0000        .16453E-02
  20  Prefactor     .10008E-03    431.49         .0000    ** at limit **
  21  Normalizat    1.5832        .25882         .0000       -.43606E-04
  22  Prefactor     .81723        .11401         .0000       -.72933E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100058
  Prefactor  = 1.09966
  Prefactor  = 0.000100642
  norm       = 0.733046
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100029
  norm       = 0.0001
  Prefactor  = 12.4035
  norm       = 1.13679
  Prefactor  = 0.0001
  Prefactor  = 127.376
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.000100001
  Prefactor  = 0.000100486
  Prefactor  = 17.7424
  Prefactor  = 6.77584
  norm       = 1.53297
  Prefactor  = 0.000100082
  Normalizat = 1.58321
  Prefactor  = 0.817229
 **********
 **   18 **HESSE 
 **********

 FCN=   6508.676     FROM HESSE     STATUS=OK           338 CALLS     2715 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10006E-03    26.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.0997        30.654        .22643E-02   -1.5498    
   3  Prefactor     .10064E-03    37.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .73305        1.1518        .13467E-02   -1.5537    
   5  Prefactor     .10000E-03    8.4042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    16.499        .34991E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10003E-03    21.893        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    5.7173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.403        23.437        .11394E-03   -1.5003    
  10  norm          1.1368        16.224        .21615E-02   -1.5495    
  11  Prefactor     .10000E-03    2.2431        .11769E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     127.38        85.636        .35670E-04   -1.3446    
  13  Prefactor     .10000E-03    3.0783        .13818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    17.794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10049E-03    40.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     17.742        24.688        .95067E-04   -1.4865    
  18  Prefactor     6.7758        16.006        .15416E-03   -1.5187    
  19  norm          1.5330        1.1059        .17232E-03   -1.5460    
  20  Prefactor     .10008E-03    432.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5832        .30449        .31990E-03   -.75466    
  22  Prefactor     .81723        .13608        .19314E-03   -.99096    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.93511e-08
Minuit parameter uncertainties:
  1  0.0024761
  2  11.618
  3  0.00987635
  4  1.15182
  5  8.58909e-06
  6  4.63481e-05
  7  0.00158116
  8  1.54824e-06
  9  23.4546
  10  8.5915
  11  1.11349e-07
  12  85.7197
  13  4.52689e-07
  14  0.000611774
  15  0.000219715
  16  0.00890092
  17  24.702
  18  16.0165
  19  1.10593
  20  0.0120231
  21  0.30485
  22  0.136133
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  1.113e-07  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.172e-01  1.361e-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.583e+00  3.048e-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: 9.32e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.26e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/318498/likelihoodResults_552182401_552441601_4FGL_J1205.7-2635_daily_bin1207.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) = 6508.67842431
delta logL = -0.00211694714108

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6508.67630733
delta logL = 2.75922502624e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5154       1.0000          .0000       10.000    
     3 'Normalizat'    1.5832       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81724       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=   6508.676     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      252 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.460        .11861E-01** at limit **
   2  Index         2.0858        6.0074        .50000        .64756E-07
   3  Normalizat    1.5832        .16798E-01    .31990E-03    .84937E-04
   4  Prefactor     .81723        .76393E-02    .19314E-03    .16046E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.08577
  Normalizat = 1.58321
  Prefactor  = 0.817229
 **********
 **   18 **HESSE 
 **********

 FCN=   6508.676     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      281 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    191.84        .12633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0858        5.3618        .50000       -.62223    
   3  Normalizat    1.5832        .62477E-01    .12796E-04   -.75466    
   4  Prefactor     .81723        .28414E-01    .77256E-05   -.99096    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.44748e-10
Minuit parameter uncertainties:
  1  0.000127141
  2  799.763
  3  0.0624801
  4  0.0284149
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318498': 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) = 6508.6763044
delta logL = 2.95903191727e-06

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  1.271e-04  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.086e+00  7.998e+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:  8.172e-01  2.841e-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.583e+00  6.248e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/318498/cmap_HighResolution_552182401_552441601_4FGL_J1205.7-2635_daily_bin1207.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.26e-03', job_status='DONE', photon_flux_upper_limit='9.32e-08', time_completed='2021-09-04 23:52:51.115476', job_id='318498', GAL2='0.82', fit_tolerance='1e-08', EG2='1.58', EG='1.58', time_epoch_completed='1630824771.12', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='2.96e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1207' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:52:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 318498: <4FGL_J1205.7-2635_daily_bin1207> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1207> 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) <bullet0272>, 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:52:51 2021
Results reported at Sat Sep  4 23:52:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1207 181.432 -26.5946 552182401 552441601 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 :                                   653.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             355.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            703 sec.

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

