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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1335
RA = 331.892, Dec = -53.7719
tmin = 585360001, tmax = 585619201
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='195531', job_status='RUN', time_executed='2021-09-28 05:41:51.557618', time_epoch_executed='1632832911.56' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1335'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/195531

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/195531/ft1_4FGL_J2207.5-5346_daily_bin1335.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/195531/ft2_4FGL_J2207.5-5346_daily_bin1335.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/195531/ft1_4FGL_J2207.5-5346_daily_bin1335.fits outfile=/scratch/kocevski/195531/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1335.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=585360001.0 tmax=585619201.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.85
user 2.64
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/195531/ft2_4FGL_J2207.5-5346_daily_bin1335.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/195531/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1335.fits evtable="EVENTS" outfile="/scratch/kocevski/195531/ft1_filtered_4FGL_J2207.5-5346_daily_bin1335.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/195531/ft1_filtered_4FGL_J2207.5-5346_daily_bin1335.fits" evtable="EVENTS" scfile=/scratch/kocevski/195531/ft2_4FGL_J2207.5-5346_daily_bin1335.fits sctable="SC_DATA" outfile=/scratch/kocevski/195531/ltcube_585360001_585619201_4FGL_J2207.5-5346_daily_bin1335.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/195531/ft2_4FGL_J2207.5-5346_daily_bin1335.fits
.....................!
real 12.38
user 12.03
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/195531/ft1_filtered_4FGL_J2207.5-5346_daily_bin1335.fits evtable="EVENTS" scfile=/scratch/kocevski/195531/ft2_4FGL_J2207.5-5346_daily_bin1335.fits sctable="SC_DATA" expcube=/scratch/kocevski/195531/ltcube_585360001_585619201_4FGL_J2207.5-5346_daily_bin1335.fits outfile=/scratch/kocevski/195531/expmap_585360001_585619201_4FGL_J2207.5-5346_daily_bin1335.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/195531/ltcube_585360001_585619201_4FGL_J2207.5-5346_daily_bin1335.fits
.....................!
real 189.61
user 184.47
sys 4.83

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/195531/ft1_filtered_4FGL_J2207.5-5346_daily_bin1335.fits scfile=/scratch/kocevski/195531/ft2_4FGL_J2207.5-5346_daily_bin1335.fits outfile=/scratch/kocevski/195531/cmap_585360001_585619201_4FGL_J2207.5-5346_daily_bin1335.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.53
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/195531/ft1_filtered_4FGL_J2207.5-5346_daily_bin1335.fits scfile=/scratch/kocevski/195531/ft2_4FGL_J2207.5-5346_daily_bin1335.fits outfile=/scratch/kocevski/195531/cmap_HighResolution_585360001_585619201_4FGL_J2207.5-5346_daily_bin1335.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/195531/ft1_filtered_4FGL_J2207.5-5346_daily_bin1335.fits evtable="EVENTS" scfile=/scratch/kocevski/195531/ft2_4FGL_J2207.5-5346_daily_bin1335.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195531/Model_4FGL_J2207.5-5346_daily_bin1335.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/195531/ft1_filtered_4FGL_J2207.5-5346_daily_bin1335.fits.....................!
real 35.41
user 34.15
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/195531/ft1_filtered_4FGL_J2207.5-5346_daily_bin1335.fits', '/scratch/kocevski/195531/ft2_4FGL_J2207.5-5346_daily_bin1335.fits', expMap='/scratch/kocevski/195531/expmap_585360001_585619201_4FGL_J2207.5-5346_daily_bin1335.fits', expCube='/scratch/kocevski/195531/ltcube_585360001_585619201_4FGL_J2207.5-5346_daily_bin1335.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/195531/Model_4FGL_J2207.5-5346_daily_bin1335.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/195531/ft1_filtered_4FGL_J2207.5-5346_daily_bin1335.fits
Spacecraft file(s): /scratch/kocevski/195531/ft2_4FGL_J2207.5-5346_daily_bin1335.fits
Exposure map: /scratch/kocevski/195531/expmap_585360001_585619201_4FGL_J2207.5-5346_daily_bin1335.fits
Exposure cube: /scratch/kocevski/195531/ltcube_585360001_585619201_4FGL_J2207.5-5346_daily_bin1335.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/195531/Model_4FGL_J2207.5-5346_daily_bin1335.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) = 3825.42371747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3944       1.0000         .10000E-03   10000.    
     2 'Prefactor '    102.72       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    142.72       1.0000         .10000E-03   10000.    
     5 'Prefactor '    29.538       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .67692E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.9878       1.0000         .10000E-03   10000.    
     8 'norm      '    .13903       1.0000         .10000E-03   10000.    
     9 'Prefactor '    28.860       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.4558       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10670E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.9836       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.6259       1.0000         .10000E-03   10000.    
    16 'Prefactor '    129.02       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .49559E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .92196       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.3103       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.

 FCN=   3825.294     FROM MIGRAD    STATUS=CONVERGED    856 CALLS     2869 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3956        10.104        .17302E-03   -.35383E-04
   2  Prefactor     102.77        116.23        .19836E-03   -.30061E-04
   3  Prefactor     .10000E-03    160.86        .18142E-02** at limit **
   4  Prefactor     142.93        162.32        .16862E-03   -.34170E-04
   5  Prefactor     29.538        29.712        .73718E-04    .97158E-05
   6  Prefactor     .10300E-03    74.920        .13699    ** at limit **
   7  Prefactor     7.9953        13.377        .14187E-03   -.97526E-04
   8  norm          .14043        1.0995        .10151E-02    .34699E-03
   9  Prefactor     28.854        62.910        .74577E-04   -.16769E-05
  10  Prefactor     8.4407        23.263        .13786E-03   -.31337E-04
  11  Prefactor     .10000E-03    6.8174        .15636E-02** at limit **
  12  Prefactor     .10000E-03    273.88        .18142E-02** at limit **
  13  norm          1.9836        7.5283        .29426E-03   -.95970E-04
  14  Prefactor     .10000E-03    7.4966        .32493E-03** at limit **
  15  Prefactor     5.6224        14.181        .16937E-03   -.21849E-04
  16  Prefactor     128.99        66.102        .35445E-04   -.14158E-03
  17  Prefactor     .10000E-03    17.425        .18142E-02** at limit **
  18  Prefactor     .10000E-03    629.55        .21162E-02** at limit **
  19  Prefactor     .10000E-03    76.034        .18142E-02** at limit **
  20  Prefactor     .10000E-03    9.9856        .18142E-02** at limit **
  21  Normalizat    .92235        .34607        .32662E-03    .38758E-04
  22  Prefactor     1.3100        .27335        .22849E-03    .12100E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.39558
  Prefactor  = 102.772
  Prefactor  = 0.000100002
  Prefactor  = 142.929
  Prefactor  = 29.5381
  Prefactor  = 0.000103003
  Prefactor  = 7.99525
  norm       = 0.14043
  Prefactor  = 28.8538
  Prefactor  = 8.44075
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 1.98356
  Prefactor  = 0.0001
  Prefactor  = 5.62238
  Prefactor  = 128.991
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.922349
  Prefactor  = 1.31002
 **********
 **   18 **HESSE 
 **********

 FCN=   3825.294     FROM HESSE     STATUS=OK           332 CALLS     3201 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3956        10.103        .69209E-05   -1.5243    
   2  Prefactor     102.77        116.22        .79343E-05   -1.3677    
   3  Prefactor     .10000E-03    160.87        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     142.93        162.30        .33724E-04   -1.3311    
   5  Prefactor     29.538        29.711        .29487E-05   -1.4620    
   6  Prefactor     .10300E-03    76.643        .13503       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.9953        13.375        .56746E-05   -1.5142    
   8  norm          .14043        1.0957        .40605E-04   -1.5633    
   9  Prefactor     28.854        62.898        .29831E-05   -1.4633    
  10  Prefactor     8.4407        23.252        .55143E-05   -1.5127    
  11  Prefactor     .10000E-03    6.8200        .31272E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    273.88        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.9836        7.5280        .11770E-04   -1.5426    
  14  Prefactor     .10000E-03    7.4969        .64987E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.6224        14.175        .67746E-05   -1.5234    
  16  Prefactor     128.99        66.084        .70890E-05   -1.3432    
  17  Prefactor     .10000E-03    17.427        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    629.94        .42324E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    76.039        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.9861        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .92235        .34635        .13065E-04   -.95679    
  22  Prefactor     1.3100        .27345        .45698E-04   -.83010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9417e-10
Minuit parameter uncertainties:
  1  10.1062
  2  116.482
  3  0.00114788
  4  162.809
  5  29.7261
  6  0.0303825
  7  13.3799
  8  0.784256
  9  63.0432
  10  23.2765
  11  7.48029e-05
  12  0.00178903
  13  7.5316
  14  5.43071e-05
  15  14.1832
  16  66.1216
  17  4.11543e-05
  18  4.29473e-05
  19  5.01848e-05
  20  2.85445e-05
  21  0.347187
  22  0.273753
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  7.480e-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.310e+00  2.738e-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:  9.223e-01  3.472e-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: 1.51e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.17e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/195531/likelihoodResults_585360001_585619201_4FGL_J2207.5-5346_daily_bin1335.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) = 3825.29464752
delta logL = -0.000698711472523

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3825.29394833
delta logL = 4.77510184282e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4753       1.0000          .0000       10.000    
     3 'Normalizat'    .92237       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3100       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.

 FCN=   3825.294     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      253 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    981.69        .16824E-02** at limit **
   2  Index         2.5195        7.9094        .50000       -.57495E-04
   3  Normalizat    .92235        .95323E-01    .32662E-03    .10466E-03
   4  Prefactor     1.3100        .78290E-01    .22849E-03    .11386E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100027
  Index      = 2.51954
  Normalizat = 0.922351
  Prefactor  = 1.31002
 **********
 **   18 **HESSE 
 **********

 FCN=   3825.294     FROM HESSE     STATUS=OK            29 CALLS      282 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    12.600        .33647E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5195        6.2057        .50000       -.51909    
   3  Normalizat    .92235        .30992        .13065E-04   -.95679    
   4  Prefactor     1.3100        .25500        .45698E-04   -.83010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19727e-09
Minuit parameter uncertainties:
  1  0.00116895
  2  5.47075
  3  0.310526
  4  0.255246
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/195531': 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) = 3825.29394776
delta logL = 1.04909304355e-06

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  1.169e-03  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.520e+00  5.471e+00  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.310e+00  2.552e-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:  9.224e-01  3.105e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/195531/cmap_HighResolution_585360001_585619201_4FGL_J2207.5-5346_daily_bin1335.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.17e-02', job_status='DONE', photon_flux_upper_limit='1.51e-07', time_completed='2021-09-28 05:50:44.098758', job_id='195531', GAL2='1.31', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1632833444.1', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='1.05e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1335' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:50:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 195531: <4FGL_J2207.5-5346_daily_bin1335> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1335> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 05:40:48 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:40:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 05:40:50 2021
Terminated at Tue Sep 28 05:50:45 2021
Results reported at Tue Sep 28 05:50:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1335 331.892 -53.7719 585360001 585619201 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 :                                   526.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   594 sec.
    Turnaround time :                            597 sec.

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

