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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1646
RA = 331.892, Dec = -53.7719
tmin = 665971201, tmax = 666230401
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='677558', job_status='RUN', time_executed='2022-02-11 00:38:03.941242', time_epoch_executed='1644568683.94' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1646'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677558

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677558/ft1_4FGL_J2207.5-5346_daily_bin1646.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677558/ft2_4FGL_J2207.5-5346_daily_bin1646.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677558/ft1_4FGL_J2207.5-5346_daily_bin1646.fits outfile=/scratch/kocevski/677558/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1646.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=665971201.0 tmax=666230401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.56
user 4.30
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/677558/ft2_4FGL_J2207.5-5346_daily_bin1646.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/677558/ft2_4FGL_J2207.5-5346_daily_bin1646.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/677558/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1646.fits evtable="EVENTS" outfile="/scratch/kocevski/677558/ft1_filtered_4FGL_J2207.5-5346_daily_bin1646.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/677558/ft1_filtered_4FGL_J2207.5-5346_daily_bin1646.fits" evtable="EVENTS" scfile=/scratch/kocevski/677558/ft2_4FGL_J2207.5-5346_daily_bin1646.fits sctable="SC_DATA" outfile=/scratch/kocevski/677558/ltcube_665971201_666230401_4FGL_J2207.5-5346_daily_bin1646.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/677558/ft2_4FGL_J2207.5-5346_daily_bin1646.fits
.....................!
real 11.71
user 11.33
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677558/ft1_filtered_4FGL_J2207.5-5346_daily_bin1646.fits evtable="EVENTS" scfile=/scratch/kocevski/677558/ft2_4FGL_J2207.5-5346_daily_bin1646.fits sctable="SC_DATA" expcube=/scratch/kocevski/677558/ltcube_665971201_666230401_4FGL_J2207.5-5346_daily_bin1646.fits outfile=/scratch/kocevski/677558/expmap_665971201_666230401_4FGL_J2207.5-5346_daily_bin1646.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/677558/ltcube_665971201_666230401_4FGL_J2207.5-5346_daily_bin1646.fits
.....................!
real 191.49
user 186.25
sys 4.90

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 J2207.5-5346 @ 331.892 -53.7719

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/677558/ft1_filtered_4FGL_J2207.5-5346_daily_bin1646.fits scfile=/scratch/kocevski/677558/ft2_4FGL_J2207.5-5346_daily_bin1646.fits outfile=/scratch/kocevski/677558/cmap_665971201_666230401_4FGL_J2207.5-5346_daily_bin1646.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=331.892 yref=-53.7719 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/677558/ft1_filtered_4FGL_J2207.5-5346_daily_bin1646.fits scfile=/scratch/kocevski/677558/ft2_4FGL_J2207.5-5346_daily_bin1646.fits outfile=/scratch/kocevski/677558/cmap_HighResolution_665971201_666230401_4FGL_J2207.5-5346_daily_bin1646.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=331.892 yref=-53.7719 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/677558/ft1_filtered_4FGL_J2207.5-5346_daily_bin1646.fits evtable="EVENTS" scfile=/scratch/kocevski/677558/ft2_4FGL_J2207.5-5346_daily_bin1646.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/677558/Model_4FGL_J2207.5-5346_daily_bin1646.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/677558/ft1_filtered_4FGL_J2207.5-5346_daily_bin1646.fits.....................!
real 52.24
user 50.94
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/677558/ft1_filtered_4FGL_J2207.5-5346_daily_bin1646.fits', '/scratch/kocevski/677558/ft2_4FGL_J2207.5-5346_daily_bin1646.fits', expMap='/scratch/kocevski/677558/expmap_665971201_666230401_4FGL_J2207.5-5346_daily_bin1646.fits', expCube='/scratch/kocevski/677558/ltcube_665971201_666230401_4FGL_J2207.5-5346_daily_bin1646.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/677558/Model_4FGL_J2207.5-5346_daily_bin1646.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2207.5-5346'

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.875e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.436e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/677558/ft1_filtered_4FGL_J2207.5-5346_daily_bin1646.fits
Spacecraft file(s): /scratch/kocevski/677558/ft2_4FGL_J2207.5-5346_daily_bin1646.fits
Exposure map: /scratch/kocevski/677558/expmap_665971201_666230401_4FGL_J2207.5-5346_daily_bin1646.fits
Exposure cube: /scratch/kocevski/677558/ltcube_665971201_666230401_4FGL_J2207.5-5346_daily_bin1646.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/677558/Model_4FGL_J2207.5-5346_daily_bin1646.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) = 6919.766118

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13867E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.718       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.334       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.4202       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.9722       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.6338       1.0000         .10000E-03   10000.    
     8 'norm      '    .19595       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.9591       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    92.372       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.1055       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.2955       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.085       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.3406       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .57037       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2855       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6919.716     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     2513 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.3493       -.23387E-06** at limit **
   2  Prefactor     22.713        22.790       -.76068E-06    .35160E-04
   3  Prefactor     10.349        50.544        .22675E-04    .15719E-04
   4  Prefactor     .10000E-03    136.39        .27058E-06** at limit **
   5  Prefactor     1.4197        1.3173        .20154E-06   -.14180E-02
   6  Prefactor     3.9694        31.784       -.53476E-05   -.28518E-04
   7  Prefactor     3.6337        3.3458       -.14217E-06   -.50684E-04
   8  norm          .19592        .59308       -.64327E-07   -.13950E-03
   9  Prefactor     .10000E-03    15.557       -.89092E-08** at limit **
  10  Prefactor     4.9602        8.8223        .35688E-05    .45791E-04
  11  Prefactor     .10000E-03    1.8220        .13328E-06** at limit **
  12  Prefactor     92.342        111.64       -.26741E-04   -.26991E-04
  13  norm          .10000E-03    2.8232       -.47031E-07** at limit **
  14  Prefactor     .10000E-03    1.1957       -.35307E-09** at limit **
  15  Prefactor     .10000E-03    3.8553       -.28340E-07** at limit **
  16  Prefactor     1.1081        18.191        .93407E-06   -.10252E-03
  17  Prefactor     5.2950        11.855        .10285E-05   -.80841E-04
  18  Prefactor     .10000E-03    68.703        .26957E-06** at limit **
  19  Prefactor     17.082        32.853       -.12160E-05   -.60071E-05
  20  Prefactor     1.3404        27.337       -.57534E-05   -.12502E-04
  21  Normalizat    .57043        .17646        .12549E-05   -.78345E-05
  22  Prefactor     1.2854        .14142       -.92125E-07    .93454E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 22.7135
  Prefactor  = 10.3485
  Prefactor  = 0.0001
  Prefactor  = 1.41967
  Prefactor  = 3.96937
  Prefactor  = 3.63372
  norm       = 0.195918
  Prefactor  = 0.0001
  Prefactor  = 4.96024
  Prefactor  = 0.0001
  Prefactor  = 92.3415
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.10806
  Prefactor  = 5.29504
  Prefactor  = 0.0001
  Prefactor  = 17.0824
  Prefactor  = 1.3404
  Normalizat = 0.570432
  Prefactor  = 1.2854
 **********
 **   18 **HESSE 
 **********

 FCN=   6919.716     FROM HESSE     STATUS=OK           350 CALLS     2863 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.719        .18257E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.713        22.462        .84037E-04   -1.4754    
   3  Prefactor     10.349        50.241        .12464E-03   -1.5064    
   4  Prefactor     .10000E-03    136.72        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.4197        5.5672        .18152E-02   -1.5470    
   6  Prefactor     3.9694        31.595        .20238E-03   -1.5309    
   7  Prefactor     3.6337        3.3369        .14014E-03   -1.5327    
   8  norm          .19592        .72149        .10541E-02   -1.5619    
   9  Prefactor     .10000E-03    15.577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.9602        8.7696        .18060E-03   -1.5262    
  11  Prefactor     .10000E-03    1.8963        .21913E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     92.342        111.42        .41813E-04   -1.3783    
  13  norm          .10000E-03    2.8310        .13649E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.2049        .88795E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.0040        .31817E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.1081        96.725        .57753E-02   -1.5497    
  17  Prefactor     5.2950        12.084        .17466E-03   -1.5248    
  18  Prefactor     .10000E-03    68.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     17.082        32.818        .96898E-04   -1.4881    
  20  Prefactor     1.3404        27.820        .37855E-03   -1.5476    
  21  Normalizat    .57043        .19598        .31889E-03   -1.0925    
  22  Prefactor     1.2854        .16051        .18287E-03   -.83742    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20697e-08
Minuit parameter uncertainties:
  1  9.10275e-05
  2  22.4704
  3  45.6653
  4  7.30882e-05
  5  5.5692
  6  22.4134
  7  3.33709
  8  0.721518
  9  2.37685e-05
  10  8.77189
  11  1.17131e-05
  12  111.669
  13  6.69032e-06
  14  2.54444e-07
  15  1.01003e-05
  16  20.739
  17  12.0899
  18  6.64262e-05
  19  32.8527
  20  12.2192
  21  0.196216
  22  0.160573
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  1.171e-05  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.436e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.285e+00  1.606e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  5.704e-01  1.962e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 331.892 -53.772
Photon Flux Upper Limit: 5.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/677558/likelihoodResults_665971201_666230401_4FGL_J2207.5-5346_daily_bin1646.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) = 6919.71882378
delta logL = -0.00251232776827

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6919.71631149
delta logL = -3.4741788113e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4457       1.0000          .0000       10.000    
     3 'Normalizat'    .57044       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2854       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6919.716     FROM MIGRAD    STATUS=FAILED        91 CALLS      246 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10156E-03    31.008        .21980E-02** at limit **
   2  Index         2.5352        5.2657        .50000       -.42606E-04
   3  Normalizat    .57043        .16242E-01    .31889E-03   -.65099E-04
   4  Prefactor     1.2854        .13591E-01    .18287E-03   -.40906E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6919.716     FROM SIMPLEX   STATUS=PROGRESS     129 CALLS      375 TOTAL
                     EDM=   .89E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10146E-03    31.008        .19614E-03** at limit **
   2  Index         2.5345        5.2657        .23598E-03   -.42606E-04
   3  Normalizat    .57043        .16242E-01    .24637E-05   -.65099E-04
   4  Prefactor     1.2854        .13591E-01    .12625E-05   -.40906E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6919.716     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      436 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .11660        .27774E-01** at limit **
   2  Index         3.0230        8.4420        .50000        .13121E-04
   3  Normalizat    .57043        .14818E-02    .12755E-04    .11569E-03
   4  Prefactor     1.2854        .12400E-02    .73148E-05    .11998E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.02297
  Normalizat = 0.570432
  Prefactor  = 1.2854
 **********
 **   18 **HESSE 
 **********

 FCN=   6919.716     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      465 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.436        .15063E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0230        6.0221        .50000       -.40651    
   3  Normalizat    .57043        .12717E-01    .25511E-05   -1.0925    
   4  Prefactor     1.2854        .10641E-01    .14630E-05   -.83742    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.40751e-07
Minuit parameter uncertainties:
  1  4.81473e-05
  2  175.559
  3  0.012717
  4  0.0106405
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677558': 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) = 6919.71630777
delta logL = 3.68739256373e-06

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  4.815e-05  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  3.023e+00  1.756e+02  0.000e+00  1.000e+01 (-1.000e+00)
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.285e+00  1.064e-02  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  5.704e-01  1.272e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 331.892 -53.772

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/677558/cmap_HighResolution_665971201_666230401_4FGL_J2207.5-5346_daily_bin1646.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.98e-03', job_status='DONE', photon_flux_upper_limit='5.14e-08', time_completed='2022-02-11 00:49:36.753782', job_id='677558', GAL2='1.29', fit_tolerance='1e-08', EG2='0.57', EG='0.57', time_epoch_completed='1644569376.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.29', dlogl='3.69e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1646' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 11 00:49:36 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0015>
Subject: Job 677558: <4FGL_J2207.5-5346_daily_bin1646> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1646> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb 11 00:35:35 2022
Job was executed on host(s) <bullet0015>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 11 00:35:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 11 00:35:37 2022
Terminated at Fri Feb 11 00:49:37 2022
Results reported at Fri Feb 11 00:49:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1646 331.892 -53.7719 665971201 666230401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2207.5-5346 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   695.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             266.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            842 sec.

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

