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


Performing analysis on: 4FGL_J2203.4+1725_daily_bin1625
RA = 330.872, Dec = 17.4318
tmin = 660528001, tmax = 660787201
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='107318', job_status='RUN', time_executed='2021-12-10 00:40:58.474643', time_epoch_executed='1639125658.47' WHERE source_name='4FGL J2203.4+1725' and cadence='daily' and bin_id='1625'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107318

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/107318/ft1_4FGL_J2203.4+1725_daily_bin1625.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/107318/ft2_4FGL_J2203.4+1725_daily_bin1625.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107318/ft1_4FGL_J2203.4+1725_daily_bin1625.fits outfile=/scratch/kocevski/107318/ft1_filteredMKT_4FGL_J2203.4+1725_daily_bin1625.fits ra=330.872 dec=17.4318 rad=12.0 tmin=660528001.0 tmax=660787201.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.58
user 3.34
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/107318/ft2_4FGL_J2203.4+1725_daily_bin1625.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/107318/ft2_4FGL_J2203.4+1725_daily_bin1625.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/107318/ft1_filteredMKT_4FGL_J2203.4+1725_daily_bin1625.fits evtable="EVENTS" outfile="/scratch/kocevski/107318/ft1_filtered_4FGL_J2203.4+1725_daily_bin1625.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.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/107318/ft1_filtered_4FGL_J2203.4+1725_daily_bin1625.fits" evtable="EVENTS" scfile=/scratch/kocevski/107318/ft2_4FGL_J2203.4+1725_daily_bin1625.fits sctable="SC_DATA" outfile=/scratch/kocevski/107318/ltcube_660528001_660787201_4FGL_J2203.4+1725_daily_bin1625.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/107318/ft2_4FGL_J2203.4+1725_daily_bin1625.fits
.....................!
real 12.03
user 11.69
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107318/ft1_filtered_4FGL_J2203.4+1725_daily_bin1625.fits evtable="EVENTS" scfile=/scratch/kocevski/107318/ft2_4FGL_J2203.4+1725_daily_bin1625.fits sctable="SC_DATA" expcube=/scratch/kocevski/107318/ltcube_660528001_660787201_4FGL_J2203.4+1725_daily_bin1625.fits outfile=/scratch/kocevski/107318/expmap_660528001_660787201_4FGL_J2203.4+1725_daily_bin1625.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/107318/ltcube_660528001_660787201_4FGL_J2203.4+1725_daily_bin1625.fits
.....................!
real 191.02
user 185.92
sys 4.70

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
Extended source Cygnus Loop in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CygnusLoop.fits is the correct path to the extended template.
Added 162 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2203.4+1725 @ 330.872 17.4318

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/107318/ft1_filtered_4FGL_J2203.4+1725_daily_bin1625.fits scfile=/scratch/kocevski/107318/ft2_4FGL_J2203.4+1725_daily_bin1625.fits outfile=/scratch/kocevski/107318/cmap_660528001_660787201_4FGL_J2203.4+1725_daily_bin1625.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=330.872 yref=17.4318 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/107318/ft1_filtered_4FGL_J2203.4+1725_daily_bin1625.fits scfile=/scratch/kocevski/107318/ft2_4FGL_J2203.4+1725_daily_bin1625.fits outfile=/scratch/kocevski/107318/cmap_HighResolution_660528001_660787201_4FGL_J2203.4+1725_daily_bin1625.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=330.872 yref=17.4318 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/107318/ft1_filtered_4FGL_J2203.4+1725_daily_bin1625.fits evtable="EVENTS" scfile=/scratch/kocevski/107318/ft2_4FGL_J2203.4+1725_daily_bin1625.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/107318/Model_4FGL_J2203.4+1725_daily_bin1625.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 Cygnus Loop
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/107318/ft1_filtered_4FGL_J2203.4+1725_daily_bin1625.fits.....................!
real 125.54
user 124.06
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/107318/ft1_filtered_4FGL_J2203.4+1725_daily_bin1625.fits', '/scratch/kocevski/107318/ft2_4FGL_J2203.4+1725_daily_bin1625.fits', expMap='/scratch/kocevski/107318/expmap_660528001_660787201_4FGL_J2203.4+1725_daily_bin1625.fits', expCube='/scratch/kocevski/107318/ltcube_660528001_660787201_4FGL_J2203.4+1725_daily_bin1625.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/107318/Model_4FGL_J2203.4+1725_daily_bin1625.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2203.4+1725'

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  1.262e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.231e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.474e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  5.997e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/107318/ft1_filtered_4FGL_J2203.4+1725_daily_bin1625.fits
Spacecraft file(s): /scratch/kocevski/107318/ft2_4FGL_J2203.4+1725_daily_bin1625.fits
Exposure map: /scratch/kocevski/107318/expmap_660528001_660787201_4FGL_J2203.4+1725_daily_bin1625.fits
Exposure cube: /scratch/kocevski/107318/ltcube_660528001_660787201_4FGL_J2203.4+1725_daily_bin1625.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/107318/Model_4FGL_J2203.4+1725_daily_bin1625.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) = 8078.06489457

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.136       1.0000         .10000E-03   10000.    
     2 'norm      '    2.6227       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .47038       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10739E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    97.833       1.0000         .10000E-03   10000.    
     8 'norm      '    .10157E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .30680       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10275E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.447       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .18476       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.6624       1.0000         .10000E-03   10000.    
    21 'norm      '    .51833       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    19.880       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .83757       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0605       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8078.063     FROM MIGRAD    STATUS=CONVERGED    597 CALLS     2967 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.136        18.509       -.17691E-07    .58420E-05
   2  norm          2.6229        3.3216        .92866E-08    .29092E-03
   3  Prefactor     .47070        2.7493       -.81373E-06   -.16140E-03
   4  Prefactor     .10000E-03    4.7620       -.31420E-06** at limit **
   5  Prefactor     .10000E-03    38.905        .95591E-07** at limit **
   6  norm          .10000E-03    1.2601       -.67651E-06** at limit **
   7  Prefactor     97.951        76.778        .58072E-06   -.12094E-03
   8  norm          .10000E-03    3.8817        .41431E-05** at limit **
   9  norm          .10000E-03    10.368       -.13802E-06** at limit **
  10  Prefactor     .10000E-03    30.202       -.75683E-06** at limit **
  11  Prefactor     .10000E-03    11.902        .20027E-07** at limit **
  12  norm          .30677        .70173       -.18564E-06    .58945E-04
  13  Prefactor     .10000E-03    10.041       -.18974E-06** at limit **
  14  Prefactor     .10000E-03    13.692       -.55223E-06** at limit **
  15  norm          .10000E-03    7.0827       -.49116E-06** at limit **
  16  Prefactor     .10000E-03    3.7575       -.81113E-07** at limit **
  17  Prefactor     .10000E-03    33.997       -.11165E-06** at limit **
  18  Prefactor     14.445        10.766        .20537E-07    .14799E-03
  19  Prefactor     .18479        .15610       -.36049E-07   -.67323E-03
  20  Prefactor     6.6626        6.6138       -.46009E-08    .62668E-05
  21  norm          .51799        1.0134       -.80769E-06   -.29133E-02
  22  Prefactor     .10000E-03    4.4702        .33681E-08** at limit **
  23  Prefactor     19.881        12.232        .39349E-06    .40223E-03
  24  Normalizat    .83768        .22100        .92582E-06   -.47940E-03
  25  Prefactor     1.0605        .10802        .22805E-06   -.98454E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.1359
  norm       = 2.62292
  Prefactor  = 0.470698
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 97.9509
  norm       = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.306772
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.4447
  Prefactor  = 0.184788
  Prefactor  = 6.66259
  norm       = 0.517987
  Prefactor  = 0.0001
  Prefactor  = 19.8814
  Normalizat = 0.837676
  Prefactor  = 1.06047
 **********
 **   18 **HESSE 
 **********

 FCN=   8078.063     FROM HESSE     STATUS=OK           431 CALLS     3398 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.136        18.508        .99706E-04   -1.4904    
   2  norm          2.6229        3.3128        .17832E-03   -1.5384    
   3  Prefactor     .47070        10.728        .27934E-02   -1.5571    
   4  Prefactor     .10000E-03    4.8293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    38.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.7562        .19113E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     97.951        76.967        .20320E-03   -1.3725    
   8  norm          .10000E-03    3.8180        .16882E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    10.446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    30.580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .30677        .70821        .10795E-03   -1.5597    
  13  Prefactor     .10000E-03    10.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    7.4249        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.7636        .17014E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    34.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.445        10.804        .10538E-03   -1.4948    
  19  Prefactor     .18479        .14809        .31196E-03   -1.5622    
  20  Prefactor     6.6626        6.6072        .15546E-03   -1.5192    
  21  norm          .51799        .90763        .14053E-02   -1.5564    
  22  Prefactor     .10000E-03    4.4705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     19.881        12.203        .44915E-03   -1.4816    
  24  Normalizat    .83768        .25714        .37269E-03   -.98686    
  25  Prefactor     1.0605        .12831        .16926E-03   -.90740    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.75637e-08
Minuit parameter uncertainties:
  1  18.5142
  2  3.31306
  3  4.49472
  4  5.09094e-05
  5  0.000316075
  6  3.23305e-05
  7  77.0459
  8  0.000162927
  9  4.79707e-05
  10  0.000532423
  11  9.01209e-05
  12  0.708225
  13  9.13037e-05
  14  0.000166834
  15  7.99793e-05
  16  6.59463e-06
  17  3.02846e-05
  18  10.8059
  19  0.148094
  20  6.60792
  21  0.907657
  22  6.59303e-06
  23  12.2049
  24  0.257517
  25  0.128343
Done.

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

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  3.068e-01  7.082e-01  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.231e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.474e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  5.997e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.060e+00  1.283e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  8.377e-01  2.575e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.24
Ra Dec: 330.872 17.432
Photon Flux Upper Limit: 8.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.27e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/107318/likelihoodResults_660528001_660787201_4FGL_J2203.4+1725_daily_bin1625.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) = 8077.84818265
delta logL = 0.214705329417

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8077.84130236
delta logL = 0.2215856209

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27164       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1422       1.0000          .0000       5.0000    
     3 'Normalizat'    .81029       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0685       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8077.841     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      215 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27138        8.1897        .10300E-01    .23681E-02
   2  alpha         3.1433        3.7099        .43014        .53469E-04
   3  Normalizat    .81052        .43695E-01    .85456E-01    .30131E-04
   4  Prefactor     1.0684        .22285E-01    .38931E-01   -.17331E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.271377
  alpha      = 3.14326
  Normalizat = 0.810519
  Prefactor  = 1.06837
 **********
 **   18 **HESSE 
 **********

 FCN=   8077.841     FROM HESSE     STATUS=OK            35 CALLS      250 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27138        1.0581        .64726E-03   -1.5604    
   2  alpha         3.1433        3.7917        .29533E-01    .26023    
   3  Normalizat    .81052        .25463        .37842E-03   -.99680    
   4  Prefactor     1.0684        .12813        .16869E-03   -.90484    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.29936e-09
Minuit parameter uncertainties:
  1  1.05814
  2  2.77474
  3  0.255007
  4  0.128168
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107318': 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) = 8077.84130157
delta logL = 0.221586412652

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  2.714e-01  1.058e+00  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  3.143e+00  2.775e+00  0.000e+00  5.000e+00 ( 1.000e+00)
272         beta:  7.474e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  5.997e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.068e+00  1.282e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  8.105e-01  2.550e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.24
Ra Dec: 330.872 17.432

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/107318/cmap_HighResolution_660528001_660787201_4FGL_J2203.4+1725_daily_bin1625.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.27e-05', job_status='DONE', photon_flux_upper_limit='8.66e-08', time_completed='2021-12-10 00:55:04.545155', job_id='107318', GAL2='1.07', fit_tolerance='1e-08', EG2='0.81', EG='0.84', time_epoch_completed='1639126504.55', return_code2='0', ts='0.24', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='2.22e-01', ts2='0.72', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1625' AND source_name='4FGL J2203.4+1725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 10 00:55:04 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0293>
Subject: Job 107318: <4FGL_J2203.4+1725_daily_bin1625> in cluster <slac> Done

Job <4FGL_J2203.4+1725_daily_bin1625> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Dec 10 00:40:24 2021
Job was executed on host(s) <bullet0293>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 10 00:40:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 10 00:40:26 2021
Terminated at Fri Dec 10 00:55:05 2021
Results reported at Fri Dec 10 00:55:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.4+1725_daily_bin1625 330.872 17.4318 660528001 660787201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2203.4+1725 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   848.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             383.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            881 sec.

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

