/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 0 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 = 7473
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1625.7+4134_daily_bin269
RA = 246.447, Dec = 41.5709
tmin = 309052801, tmax = 309312001
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='326372', job_status='RUN', time_executed='2021-09-14 01:51:05.565785', time_epoch_executed='1631609465.57' WHERE source_name='4FGL J1625.7+4134' and cadence='daily' and bin_id='269'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/326372

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/326372/ft1_4FGL_J1625.7+4134_daily_bin269.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/326372/ft2_4FGL_J1625.7+4134_daily_bin269.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/326372/ft1_4FGL_J1625.7+4134_daily_bin269.fits outfile=/scratch/kocevski/326372/ft1_filteredMKT_4FGL_J1625.7+4134_daily_bin269.fits ra=246.447 dec=41.5709 rad=12.0 tmin=309052801.0 tmax=309312001.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.40
user 3.17
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/326372/ft2_4FGL_J1625.7+4134_daily_bin269.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/326372/ft1_filteredMKT_4FGL_J1625.7+4134_daily_bin269.fits evtable="EVENTS" outfile="/scratch/kocevski/326372/ft1_filtered_4FGL_J1625.7+4134_daily_bin269.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/326372/ft1_filtered_4FGL_J1625.7+4134_daily_bin269.fits" evtable="EVENTS" scfile=/scratch/kocevski/326372/ft2_4FGL_J1625.7+4134_daily_bin269.fits sctable="SC_DATA" outfile=/scratch/kocevski/326372/ltcube_309052801_309312001_4FGL_J1625.7+4134_daily_bin269.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/326372/ft2_4FGL_J1625.7+4134_daily_bin269.fits
.....................!
real 14.40
user 14.02
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/326372/ft1_filtered_4FGL_J1625.7+4134_daily_bin269.fits evtable="EVENTS" scfile=/scratch/kocevski/326372/ft2_4FGL_J1625.7+4134_daily_bin269.fits sctable="SC_DATA" expcube=/scratch/kocevski/326372/ltcube_309052801_309312001_4FGL_J1625.7+4134_daily_bin269.fits outfile=/scratch/kocevski/326372/expmap_309052801_309312001_4FGL_J1625.7+4134_daily_bin269.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/326372/ltcube_309052801_309312001_4FGL_J1625.7+4134_daily_bin269.fits
.....................!
real 192.02
user 186.82
sys 4.47

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/326372/ft1_filtered_4FGL_J1625.7+4134_daily_bin269.fits scfile=/scratch/kocevski/326372/ft2_4FGL_J1625.7+4134_daily_bin269.fits outfile=/scratch/kocevski/326372/cmap_309052801_309312001_4FGL_J1625.7+4134_daily_bin269.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.53
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/326372/ft1_filtered_4FGL_J1625.7+4134_daily_bin269.fits scfile=/scratch/kocevski/326372/ft2_4FGL_J1625.7+4134_daily_bin269.fits outfile=/scratch/kocevski/326372/cmap_HighResolution_309052801_309312001_4FGL_J1625.7+4134_daily_bin269.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.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/326372/ft1_filtered_4FGL_J1625.7+4134_daily_bin269.fits evtable="EVENTS" scfile=/scratch/kocevski/326372/ft2_4FGL_J1625.7+4134_daily_bin269.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/326372/Model_4FGL_J1625.7+4134_daily_bin269.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/326372/ft1_filtered_4FGL_J1625.7+4134_daily_bin269.fits.....................!
real 56.57
user 55.25
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/326372/ft1_filtered_4FGL_J1625.7+4134_daily_bin269.fits', '/scratch/kocevski/326372/ft2_4FGL_J1625.7+4134_daily_bin269.fits', expMap='/scratch/kocevski/326372/expmap_309052801_309312001_4FGL_J1625.7+4134_daily_bin269.fits', expCube='/scratch/kocevski/326372/ltcube_309052801_309312001_4FGL_J1625.7+4134_daily_bin269.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/326372/Model_4FGL_J1625.7+4134_daily_bin269.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/326372/ft1_filtered_4FGL_J1625.7+4134_daily_bin269.fits
Spacecraft file(s): /scratch/kocevski/326372/ft2_4FGL_J1625.7+4134_daily_bin269.fits
Exposure map: /scratch/kocevski/326372/expmap_309052801_309312001_4FGL_J1625.7+4134_daily_bin269.fits
Exposure cube: /scratch/kocevski/326372/ltcube_309052801_309312001_4FGL_J1625.7+4134_daily_bin269.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/326372/Model_4FGL_J1625.7+4134_daily_bin269.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) = 7178.09653863

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.440       1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.840       1.0000         .10000E-03   10000.    
     3 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.5056       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.255       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.4005       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.4567       1.0000         .10000E-03   10000.    
    11 'norm      '    48.044       1.0000         .10000E-03   10000.    
    12 'norm      '    .78893       1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10192E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.2147       1.0000         .10000E-03   10000.    
    16 'norm      '    56.610       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.2902       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .64495E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .49463E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.303       1.0000         .10000E-03   10000.    
    22 'norm      '    3.4872       1.0000         .10000E-03   10000.    
    23 'norm      '    .76158       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    5.4109       1.0000         .10000E-03   10000.    
    26 'norm      '    2.0486       1.0000         .10000E-03   10000.    
    27 'norm      '    4.9322       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0182       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .67870       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.

 FCN=   7177.967     FROM MIGRAD    STATUS=CONVERGED    743 CALLS     3784 TOTAL
                     EDM=   .70E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.431        15.846       -.11280E-05   -.64207E-06
   2  Prefactor     22.851        19.129        .34678E-05    .95664E-05
   3  norm          .10000E-03    10.160       -.34266E-06** at limit **
   4  Prefactor     .10000E-03    18.174        .27162E-06** at limit **
   5  Prefactor     .10000E-03    30.105        .26190E-05** at limit **
   6  Prefactor     4.5047        3.2604        .48399E-09   -.45636E-05
   7  Prefactor     .10000E-03    4.1670        .11184E-06** at limit **
   8  Prefactor     25.253        20.267       -.58648E-06    .74931E-05
   9  Prefactor     2.3974        4.8499       -.40418E-06   -.16549E-04
  10  Prefactor     3.4561        2.7244       -.64687E-07    .59148E-04
  11  norm          48.044        25.502       -.86639E-07    .19702E-04
  12  norm          .78880        .18568        .15208E-08    .64621E-03
  13  norm          .10000E-03    3.8397       -.30990E-07** at limit **
  14  Prefactor     .10000E-03    37.456        .48908E-06** at limit **
  15  Prefactor     8.2140        4.3128        .34114E-07   -.13436E-04
  16  norm          56.615        45.325        .50716E-05    .54010E-04
  17  Prefactor     3.2910        1.3662       -.12146E-06    .62501E-03
  18  Prefactor     .10000E-03    .47702       -.77149E-07** at limit **
  19  Prefactor     .10003E-03    1.4641       -.13655E-06** at limit **
  20  Prefactor     .51890E-01    1.2017       -.25945E-06    .58740E-04
  21  Prefactor     10.303        10.695        .38397E-07    .29159E-04
  22  norm          3.4875        1.8143       -.39138E-08    .15978E-03
  23  norm          .76194        .87785        .25390E-07    .25934E-03
  24  Prefactor     .10000E-03    3.6451        .22731E-07** at limit **
  25  norm          5.4110        1.1376        .48985E-08    .31521E-03
  26  norm          2.0490        .60133        .21845E-07   -.65914E-03
  27  norm          4.9324        2.2116        .52668E-08    .35879E-04
  28  Normalizat    1.0187        .18816        .14799E-06    .10002E-03
  29  Prefactor     .67834        .15524       -.30370E-06    .92795E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.4313
  Prefactor  = 22.8505
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.50468
  Prefactor  = 0.0001
  Prefactor  = 25.253
  Prefactor  = 2.39744
  Prefactor  = 3.45608
  norm       = 48.0437
  norm       = 0.788796
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.21398
  norm       = 56.6152
  Prefactor  = 3.29099
  Prefactor  = 0.0001
  Prefactor  = 0.000100029
  Prefactor  = 0.0518898
  Prefactor  = 10.3027
  norm       = 3.48755
  norm       = 0.761945
  Prefactor  = 0.0001
  norm       = 5.411
  norm       = 2.04904
  norm       = 4.93236
  Normalizat = 1.01867
  Prefactor  = 0.678337
 **********
 **   18 **HESSE 
 **********

 FCN=   7177.967     FROM HESSE     STATUS=OK           569 CALLS     4353 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.431        15.910        .10193E-03   -1.4922    
   2  Prefactor     22.851        19.076        .83813E-04   -1.4752    
   3  norm          .10000E-03    10.234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    18.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    30.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.5047        3.2611        .12420E-03   -1.5283    
   7  Prefactor     .10000E-03    4.1792        .16789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     25.253        20.213        .79711E-04   -1.4702    
   9  Prefactor     2.3974        4.8278        .24802E-03   -1.5398    
  10  Prefactor     3.4561        2.7240        .11852E-03   -1.5336    
  11  norm          48.044        25.400        .57851E-04   -1.4321    
  12  norm          .78880        .18582        .16131E-04   -1.5530    
  13  norm          .10000E-03    3.8399        .16214E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    37.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.2140        4.3052        .59951E-03   -1.5135    
  16  norm          56.615        45.905        .53317E-04   -1.4202    
  17  Prefactor     3.2910        1.2971        .53588E-04   -1.5345    
  18  Prefactor     .10000E-03    .68235        .10465E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10003E-03    28.839        .18483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .51890E-01    22.459        .17291E-02   -1.5662    
  21  Prefactor     10.303        10.617        .12483E-03   -1.5066    
  22  norm          3.4875        1.8088        .78754E-04   -1.5334    
  23  norm          .76194        .81403        .76783E-03   -1.5533    
  24  Prefactor     .10000E-03    3.6737        .15777E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          5.4110        1.1366        .39429E-04   -1.5243    
  26  norm          2.0490        5.7329        .14442E-02   -1.5422    
  27  norm          4.9324        2.2100        .81323E-04   -1.5264    
  28  Normalizat    1.0187        .22243        .26077E-03   -.92408    
  29  Prefactor     .67834        .18367        .27518E-03   -1.0438    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79879e-09
Minuit parameter uncertainties:
  1  15.9143
  2  19.0807
  3  0.000106769
  4  3.08021e-06
  5  8.94457e-06
  6  3.26127
  7  1.5155e-05
  8  20.2183
  9  4.82858
  10  2.72412
  11  25.4062
  12  0.18582
  13  1.55968e-06
  14  1.8675e-05
  15  4.30533
  16  45.9341
  17  1.29709
  18  6.62099e-06
  19  0.00184147
  20  2.15778
  21  10.6186
  22  1.80884
  23  0.81404
  24  6.42739e-07
  25  1.13664
  26  5.73443
  27  2.21007
  28  0.222628
  29  0.183835
Done.

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

Extracting fit parameters...

4FGL J1625.7+4134
   Spectrum: PowerLaw
288    Prefactor:  3.456e+00  2.724e+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

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  6.783e-01  1.838e-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:  1.019e+00  2.226e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.37
Ra Dec: 246.447 41.571
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 3.90e-08 +/- 3.07e-08
Energy Flux (Fixed Index): 1.09e-05 +/- 8.56e-06

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) = 7177.21488423
delta logL = 0.751817369928

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7177.2140299
delta logL = 0.752671700997

Fit tolerance = 1e-08

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

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

 FCN=   7177.214     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6129        3.4491        .53138E-02    .16355E-03
   2  Index         1.7238        .45290        .26308       -.61900E-04
   3  Normalizat    1.0496        .17152        .58261E-01    .18722E-04
   4  Prefactor     .66062        .15059        .62965E-01    .38944E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.61288
  Index      = 1.72383
  Normalizat = 1.04964
  Prefactor  = 0.660622
 **********
 **   18 **HESSE 
 **********

 FCN=   7177.214     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6129        3.7672        .13860E-03   -1.5328    
   2  Index         1.7238        .62507        .91595E-02   -.71449    
   3  Normalizat    1.0496        .20498        .25764E-03   -.91386    
   4  Prefactor     .66062        .17964        .27855E-03   -1.0509    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3796e-11
Minuit parameter uncertainties:
  1  3.7674
  2  0.627961
  3  0.205137
  4  0.179793
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/326372': 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) = 7177.21402978
delta logL = 0.752671815926

Extracting fit parameters...

4FGL J1625.7+4134
   Spectrum: PowerLaw
288    Prefactor:  3.613e+00  3.767e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  1.724e+00  6.280e-01  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:  6.606e-01  1.798e-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:  1.050e+00  2.051e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.87
Ra Dec: 246.447 41.571
Photon Index (Free Index): 1.72 +/- 0.63
Photon Flux (Free Index): 1.64e-08 +/- 2.18e-08
Energy Flux (Free Index): 2.49e-05 +/- 3.31e-05

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/326372/cmap_HighResolution_309052801_309312001_4FGL_J1625.7+4134_daily_bin269.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.90e-08', energy_flux2='2.49e-05', photon_flux_error='3.07e-08', dlogl='7.53e-01', energy_flux='1.09e-05', photon_flux2='1.64e-08', job_status='DONE', time_completed='2021-09-14 02:06:13.752950', photon_index_error2='0.63', photon_index2='1.72', ts='4.37', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', energy_flux_error2='3.31e-05', EG='1.02', time_epoch_completed='1631610373.75', return_code='0', job_id='326372', GAL2='0.66', EG2='1.05', return_code2='0', energy_flux_error='8.56e-06', photon_flux_error2='2.18e-08', ts2='5.87', photon_index='2.54' WHERE bin_id='269' AND source_name='4FGL J1625.7+4134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 14 02:06:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 326372: <4FGL_J1625.7+4134_daily_bin269> in cluster <slac> Done

Job <4FGL_J1625.7+4134_daily_bin269> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 14 01:50:21 2021
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 14 01:50:58 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 14 01:50:58 2021
Terminated at Tue Sep 14 02:06:14 2021
Results reported at Tue Sep 14 02:06:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1625.7+4134_daily_bin269 246.447 41.5709 309052801 309312001 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 :                                   902.38 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             346.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            953 sec.

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

