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


Performing analysis on: 4FGL_J1625.7+4134_daily_bin1230
RA = 246.447, Dec = 41.5709
tmin = 558144001, tmax = 558403201
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='332909', job_status='RUN', time_executed='2021-09-14 02:15:49.929637', time_epoch_executed='1631610949.93' WHERE source_name='4FGL J1625.7+4134' and cadence='daily' and bin_id='1230'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/332909

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/332909/ft1_4FGL_J1625.7+4134_daily_bin1230.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/332909/ft2_4FGL_J1625.7+4134_daily_bin1230.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/332909/ft1_4FGL_J1625.7+4134_daily_bin1230.fits outfile=/scratch/kocevski/332909/ft1_filteredMKT_4FGL_J1625.7+4134_daily_bin1230.fits ra=246.447 dec=41.5709 rad=12.0 tmin=558144001.0 tmax=558403201.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.44
user 3.16
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/332909/ft2_4FGL_J1625.7+4134_daily_bin1230.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/332909/ft2_4FGL_J1625.7+4134_daily_bin1230.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/332909/ft1_filteredMKT_4FGL_J1625.7+4134_daily_bin1230.fits evtable="EVENTS" outfile="/scratch/kocevski/332909/ft1_filtered_4FGL_J1625.7+4134_daily_bin1230.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.46
user 0.26
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/332909/ft1_filtered_4FGL_J1625.7+4134_daily_bin1230.fits" evtable="EVENTS" scfile=/scratch/kocevski/332909/ft2_4FGL_J1625.7+4134_daily_bin1230.fits sctable="SC_DATA" outfile=/scratch/kocevski/332909/ltcube_558144001_558403201_4FGL_J1625.7+4134_daily_bin1230.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/332909/ft2_4FGL_J1625.7+4134_daily_bin1230.fits
.....................!
real 9.76
user 9.38
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/332909/ft1_filtered_4FGL_J1625.7+4134_daily_bin1230.fits evtable="EVENTS" scfile=/scratch/kocevski/332909/ft2_4FGL_J1625.7+4134_daily_bin1230.fits sctable="SC_DATA" expcube=/scratch/kocevski/332909/ltcube_558144001_558403201_4FGL_J1625.7+4134_daily_bin1230.fits outfile=/scratch/kocevski/332909/expmap_558144001_558403201_4FGL_J1625.7+4134_daily_bin1230.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/332909/ltcube_558144001_558403201_4FGL_J1625.7+4134_daily_bin1230.fits
.....................!
real 151.01
user 145.59
sys 5.10

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 211 point sources and 0 extended sources

Setting source of interest to:
4FGL J1625.7+4134 @ 246.447 41.5709

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/332909/ft1_filtered_4FGL_J1625.7+4134_daily_bin1230.fits scfile=/scratch/kocevski/332909/ft2_4FGL_J1625.7+4134_daily_bin1230.fits outfile=/scratch/kocevski/332909/cmap_558144001_558403201_4FGL_J1625.7+4134_daily_bin1230.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=246.447 yref=41.5709 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.46
user 0.31
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/332909/ft1_filtered_4FGL_J1625.7+4134_daily_bin1230.fits scfile=/scratch/kocevski/332909/ft2_4FGL_J1625.7+4134_daily_bin1230.fits outfile=/scratch/kocevski/332909/cmap_HighResolution_558144001_558403201_4FGL_J1625.7+4134_daily_bin1230.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=246.447 yref=41.5709 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.48
user 0.31
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/332909/ft1_filtered_4FGL_J1625.7+4134_daily_bin1230.fits evtable="EVENTS" scfile=/scratch/kocevski/332909/ft2_4FGL_J1625.7+4134_daily_bin1230.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/332909/Model_4FGL_J1625.7+4134_daily_bin1230.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/332909/ft1_filtered_4FGL_J1625.7+4134_daily_bin1230.fits.....................!
real 25.69
user 24.46
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/332909/ft1_filtered_4FGL_J1625.7+4134_daily_bin1230.fits', '/scratch/kocevski/332909/ft2_4FGL_J1625.7+4134_daily_bin1230.fits', expMap='/scratch/kocevski/332909/expmap_558144001_558403201_4FGL_J1625.7+4134_daily_bin1230.fits', expCube='/scratch/kocevski/332909/ltcube_558144001_558403201_4FGL_J1625.7+4134_daily_bin1230.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/332909/Model_4FGL_J1625.7+4134_daily_bin1230.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1625.7+4134'

4FGL J1625.7+4134
   Spectrum: PowerLaw
288    Prefactor:  1.253e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.540e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
290        Scale:  7.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/332909/ft1_filtered_4FGL_J1625.7+4134_daily_bin1230.fits
Spacecraft file(s): /scratch/kocevski/332909/ft2_4FGL_J1625.7+4134_daily_bin1230.fits
Exposure map: /scratch/kocevski/332909/expmap_558144001_558403201_4FGL_J1625.7+4134_daily_bin1230.fits
Exposure cube: /scratch/kocevski/332909/ltcube_558144001_558403201_4FGL_J1625.7+4134_daily_bin1230.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/332909/Model_4FGL_J1625.7+4134_daily_bin1230.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) = 2653.74416684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    57.507       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .49651E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    20.327       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .68032E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .59969       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10470E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16238       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11599       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10342E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .23681       1.0000         .10000E-03   10000.    
    12 'norm      '    5.5052       1.0000         .10000E-03   10000.    
    13 'norm      '    .30482       1.0000         .10000E-03   10000.    
    14 'Prefactor '    71.957       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .48186E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .71866E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.4924       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11251E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .83042E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.0683       1.0000         .10000E-03   10000.    
    22 'norm      '    .11486E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.4319       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .62502E-01   1.0000         .10000E-03   10000.    
    25 'norm      '    1.9305       1.0000         .10000E-03   10000.    
    26 'norm      '    13.384       1.0000         .10000E-03   10000.    
    27 'norm      '    .11109E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .20781       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.3501       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+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=   2653.047     FROM MIGRAD    STATUS=CONVERGED   1382 CALLS     3918 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     64.256        113.10        .52902E-04    .28689E-04
   2  Prefactor     .10000E-03    80.699        .19212E-02** at limit **
   3  norm          20.034        28.667        .88838E-04    .76207E-04
   4  Prefactor     .10000E-03    45.909        .18715E-02** at limit **
   5  Prefactor     .10000E-03    688.22        .23343E-02** at limit **
   6  Prefactor     .10000E-03    4.4565        .10558E-02** at limit **
   7  Prefactor     .10000E-03    102.37        .18142E-02** at limit **
   8  Prefactor     .10000E-03    774.67        .19609E-02** at limit **
   9  Prefactor     .10000E-03    195.92        .19174E-02** at limit **
  10  Prefactor     .10000E-03    14.014        .18142E-02** at limit **
  11  norm          .10000E-03    300.07        .20289E-02** at limit **
  12  norm          5.5012        .87588        .14892E-04   -.18191E-02
  13  norm          .10000E-03    472.28        .79342E-02** at limit **
  14  Prefactor     72.730        67.895        .23663E-03    .42903E-04
  15  Prefactor     .10000E-03    11.950        .17387E-02** at limit **
  16  norm          .10000E-03    206.45        .18752E-02** at limit **
  17  Prefactor     .10000E-03    7.4026        .19131E-02** at limit **
  18  Prefactor     4.5250        5.9214        .11969E-03    .58936E-04
  19  Prefactor     .10000E-03    23.176        .18142E-02** at limit **
  20  Prefactor     .10006E-03    87.661        .33197E-02** at limit **
  21  Prefactor     .10001E-03    750.66        .23540E-02** at limit **
  22  norm          .10000E-03    4.9430        .22050E-03** at limit **
  23  norm          3.4235        7.5371        .10004E-02    .35489E-03
  24  Prefactor     .10000E-03    102.84        .18662E-02** at limit **
  25  norm          1.9546        3.2927        .11288E-03    .31443E-03
  26  norm          12.518        31.332        .10949E-03    .38783E-04
  27  norm          .10000E-03    8.1837        .14372E-02** at limit **
  28  Normalizat    .20190        .53332        .80699E-03    .97276E-05
  29  Prefactor     1.3542        .43041        .25807E-03    .55882E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 64.2564
  Prefactor  = 0.000100001
  norm       = 20.0336
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 5.50117
  norm       = 0.000100003
  Prefactor  = 72.7305
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 4.52496
  Prefactor  = 0.0001
  Prefactor  = 0.000100062
  Prefactor  = 0.000100011
  norm       = 0.0001
  norm       = 3.42347
  Prefactor  = 0.0001
  norm       = 1.95462
  norm       = 12.5177
  norm       = 0.0001
  Normalizat = 0.201903
  Prefactor  = 1.35423
 **********
 **   18 **HESSE 
 **********

 FCN=   2653.047     FROM HESSE     STATUS=OK           523 CALLS     4441 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     64.256        113.09        .10580E-04   -1.4103    
   2  Prefactor     .10000E-03    80.699        .38424E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          20.034        28.662        .17768E-04   -1.4812    
   4  Prefactor     .10000E-03    45.909        .37431E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    688.22        .46685E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.4570        .21116E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    102.39        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    774.79        .39218E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    195.93        .38349E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.019        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    300.07        .40578E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.5012        .87575        .29784E-05   -1.5239    
  13  norm          .10000E-03    487.29        .31737E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     72.730        67.885        .94653E-05   -1.4000    
  15  Prefactor     .10000E-03    11.950        .34774E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    206.45        .37505E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.4119        .38261E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.5250        5.9056        .47877E-05   -1.5282    
  19  Prefactor     .10000E-03    23.176        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10006E-03    88.313        .66394E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10001E-03    750.68        .47080E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    4.9430        .44099E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.4235        7.5348        .40017E-04   -1.5338    
  24  Prefactor     .10000E-03    102.87        .37324E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.9546        3.2916        .45152E-05   -1.5428    
  26  norm          12.518        31.327        .43795E-05   -1.5000    
  27  norm          .10000E-03    8.1840        .28743E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .20190        .53143        .32280E-04   -1.2927    
  29  Prefactor     1.3542        .42896        .51613E-04   -.81708    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25266e-09
Minuit parameter uncertainties:
  1  113.473
  2  0.000545387
  3  28.6819
  4  6.31612e-05
  5  0.00126923
  6  2.38863e-05
  7  0.000691481
  8  0.00226201
  9  0.0008131
  10  3.27242e-05
  11  0.00127889
  12  0.875751
  13  0.00226551
  14  67.9579
  15  7.68957e-06
  16  0.0011057
  17  0.000158352
  18  5.90636
  19  2.76103e-06
  20  0.0047032
  21  0.00592551
  22  2.66757e-05
  23  7.53688
  24  6.14876e-05
  25  3.29187
  26  31.3683
  27  3.49156e-06
  28  0.54572
  29  0.43009
Done.

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

Extracting fit parameters...

4FGL J1625.7+4134
   Spectrum: PowerLaw
288    Prefactor:  1.000e-04  3.272e-05  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.540e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
290        Scale:  7.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.354e+00  4.301e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  2.019e-01  5.457e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 246.447 41.571
Photon Flux Upper Limit: 3.72e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.90e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/332909/likelihoodResults_558144001_558403201_4FGL_J1625.7+4134_daily_bin1230.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) = 2653.04757384
delta logL = -0.000338633346928

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2653.04723553
delta logL = -3.17440026265e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5232       1.0000          .0000       10.000    
     3 'Normalizat'    .20150       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3546       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+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=   2653.047     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      241 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10134E-03    215.11        .18142E-02** at limit **
   2  Index         2.4588        8.6982        .50000        .78697E-05
   3  Normalizat    .20190        .38814E-01    .80697E-03   -.50886E-04
   4  Prefactor     1.3542        .30525E-01    .25806E-03   -.34560E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101343
  Index      = 2.45878
  Normalizat = 0.201896
  Prefactor  = 1.35424
 **********
 **   18 **HESSE 
 **********

 FCN=   2653.047     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10134E-03    868.63        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4588        5.3043        .50000       -.53314    
   3  Normalizat    .20190        .83471E-01    .32279E-04   -1.2927    
   4  Prefactor     1.3542        .65673E-01    .51613E-04   -.81708    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.8256e-08
Minuit parameter uncertainties:
  1  0.0693461
  2  1243.98
  3  0.0835231
  4  0.0656772
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/332909': 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) = 2653.04723508
delta logL = 1.28197370941e-07

Extracting fit parameters...

4FGL J1625.7+4134
   Spectrum: PowerLaw
288    Prefactor:  1.013e-04  6.935e-02  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.459e+00  1.244e+03  0.000e+00  1.000e+01 (-1.000e+00)
290        Scale:  7.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.354e+00  6.568e-02  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  2.019e-01  8.352e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 246.447 41.571

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/332909/cmap_HighResolution_558144001_558403201_4FGL_J1625.7+4134_daily_bin1230.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.90e-02', job_status='DONE', photon_flux_upper_limit='3.72e-07', time_completed='2021-09-14 02:24:37.601317', job_id='332909', GAL2='1.35', fit_tolerance='1e-08', EG2='0.20', EG='0.20', time_epoch_completed='1631611477.6', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.35', dlogl='1.28e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1230' AND source_name='4FGL J1625.7+4134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 14 02:24:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 332909: <4FGL_J1625.7+4134_daily_bin1230> in cluster <slac> Done

Job <4FGL_J1625.7+4134_daily_bin1230> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 14 02:10:22 2021
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 14 02:15:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 14 02:15:38 2021
Terminated at Tue Sep 14 02:24:38 2021
Results reported at Tue Sep 14 02:24:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1625.7+4134_daily_bin1230 246.447 41.5709 558144001 558403201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1625.7+4134 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   488.51 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   539 sec.
    Turnaround time :                            856 sec.

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

