aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 65 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0407.5+0741_daily_bin1711
RA = 61.8921, Dec = 7.6998
tmin = 682819201, tmax = 683078401
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='18905', job_status='RUN', time_executed='2022-09-16 11:08:58.043997', time_epoch_executed='1663351738.04' WHERE source_name='4FGL J0407.5+0741' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/18905

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/18905/ft1_4FGL_J0407.5+0741_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/18905/ft2_4FGL_J0407.5+0741_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/18905/ft1_4FGL_J0407.5+0741_daily_bin1711.fits outfile=/scratch/kocevski/18905/ft1_filteredMKT_4FGL_J0407.5+0741_daily_bin1711.fits ra=61.8921 dec=7.6998 rad=12.0 tmin=682819201.0 tmax=683078401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.57
user 4.32
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/18905/ft2_4FGL_J0407.5+0741_daily_bin1711.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/18905/ft2_4FGL_J0407.5+0741_daily_bin1711.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/18905/ft1_filteredMKT_4FGL_J0407.5+0741_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/18905/ft1_filtered_4FGL_J0407.5+0741_daily_bin1711.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.53
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 1209

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/18905/ft1_filtered_4FGL_J0407.5+0741_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/18905/ft2_4FGL_J0407.5+0741_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/18905/ltcube_682819201_683078401_4FGL_J0407.5+0741_daily_bin1711.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/18905/ft2_4FGL_J0407.5+0741_daily_bin1711.fits
.....................!
real 13.41
user 13.02
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/18905/ft1_filtered_4FGL_J0407.5+0741_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/18905/ft2_4FGL_J0407.5+0741_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/18905/ltcube_682819201_683078401_4FGL_J0407.5+0741_daily_bin1711.fits outfile=/scratch/kocevski/18905/expmap_682819201_683078401_4FGL_J0407.5+0741_daily_bin1711.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/18905/ltcube_682819201_683078401_4FGL_J0407.5+0741_daily_bin1711.fits
.....................!
real 192.02
user 186.00
sys 5.48

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

Setting source of interest to:
4FGL J0407.5+0741 @ 61.8921 7.6998

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/18905/ft1_filtered_4FGL_J0407.5+0741_daily_bin1711.fits scfile=/scratch/kocevski/18905/ft2_4FGL_J0407.5+0741_daily_bin1711.fits outfile=/scratch/kocevski/18905/cmap_682819201_683078401_4FGL_J0407.5+0741_daily_bin1711.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=61.8921 yref=7.6998 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.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/18905/ft1_filtered_4FGL_J0407.5+0741_daily_bin1711.fits scfile=/scratch/kocevski/18905/ft2_4FGL_J0407.5+0741_daily_bin1711.fits outfile=/scratch/kocevski/18905/cmap_HighResolution_682819201_683078401_4FGL_J0407.5+0741_daily_bin1711.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=61.8921 yref=7.6998 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.56
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/18905/ft1_filtered_4FGL_J0407.5+0741_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/18905/ft2_4FGL_J0407.5+0741_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/18905/Model_4FGL_J0407.5+0741_daily_bin1711.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/18905/ft1_filtered_4FGL_J0407.5+0741_daily_bin1711.fits.....................!
real 174.74
user 173.13
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/18905/ft1_filtered_4FGL_J0407.5+0741_daily_bin1711.fits', '/scratch/kocevski/18905/ft2_4FGL_J0407.5+0741_daily_bin1711.fits', expMap='/scratch/kocevski/18905/expmap_682819201_683078401_4FGL_J0407.5+0741_daily_bin1711.fits', expCube='/scratch/kocevski/18905/ltcube_682819201_683078401_4FGL_J0407.5+0741_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/18905/Model_4FGL_J0407.5+0741_daily_bin1711.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0407.5+0741'

4FGL J0407.5+0741
   Spectrum: PowerLaw
217    Prefactor:  5.499e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
218        Index:  2.311e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
219        Scale:  1.332e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/18905/ft1_filtered_4FGL_J0407.5+0741_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/18905/ft2_4FGL_J0407.5+0741_daily_bin1711.fits
Exposure map: /scratch/kocevski/18905/expmap_682819201_683078401_4FGL_J0407.5+0741_daily_bin1711.fits
Exposure cube: /scratch/kocevski/18905/ltcube_682819201_683078401_4FGL_J0407.5+0741_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/18905/Model_4FGL_J0407.5+0741_daily_bin1711.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) = 12658.0553506

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30787E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .17145E-04   1.0000          .0000       .10000E+07
     3 'norm      '    4.8404       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15005E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8726       1.0000          .0000       .10000E+07
     6 'norm      '    .10271E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11217E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .13818E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .21615E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .14821E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.8369       1.0000          .0000       .10000E+07
    12 'Prefactor '    21.949       1.0000          .0000       .10000E+07
    13 'Prefactor '    .72027       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.160       1.0000          .0000       .10000E+07
    15 'norm      '    2.2670       1.0000          .0000       .10000E+07
    16 'Prefactor '    .12667       1.0000          .0000       .10000E+07
    17 'norm      '    2.5859       1.0000          .0000       .10000E+07
    18 'norm      '    7.0947       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.4952       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .90273       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12657.99     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     1289 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.6108       -.53670E-07** at limit **
   2  norm           .0000        7.8657       -.50756E-06** at limit **
   3  norm          4.8413        2.1586       -.86068E-08    .65011E-03
   4  Prefactor     .55511E-10    31.996        .60521E-06** at limit **
   5  Prefactor     4.9202        8.3812       -.18666E-06    .14224E-03
   6  norm           .0000        5.3484       -.57760E-08** at limit **
   7  Prefactor      .0000        10.858        .77688E-07** at limit **
   8  norm           .0000        1.6586        .33564E-08** at limit **
   9  Prefactor      .0000        28.608       -.13620E-06** at limit **
  10  norm           .0000        1.8236        .11676E-06** at limit **
  11  Prefactor     2.8497        1.7073       -.21968E-06   -.12356E-01
  12  Prefactor     22.654        26.203        .72565E-06   -.90369E-03
  13  Prefactor     .68834E-08    1462.7        .26128E-04** at limit **
  14  Prefactor     13.189        11.039       -.25190E-06   -.34299E-03
  15  norm          2.2297        2.8559       -.74547E-07   -.31555E-03
  16  Prefactor     .22204E-09    61.493       -.30006E-06** at limit **
  17  norm          2.5964        3.1187       -.11376E-06   -.32864E-02
  18  norm          7.0988        2.6491       -.19570E-07    .14416E-02
  19  Normalizat    1.4944        .26273       -.50556E-05   -.10866E-03
  20  Prefactor     .90280        .68856E-01    .92951E-06   -.62805E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  norm       = 4.84134
  Prefactor  = 5.55112e-11
  Prefactor  = 4.92021
  norm       = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 2.84967
  Prefactor  = 22.6541
  Prefactor  = 6.88338e-09
  Prefactor  = 13.1887
  norm       = 2.22969
  Prefactor  = 2.22045e-10
  norm       = 2.59645
  norm       = 7.09878
  Normalizat = 1.49436
  Prefactor  = 0.902799
 **********
 **   18 **HESSE 
 **********

 FCN=   12657.99     FROM HESSE     STATUS=OK           347 CALLS     1636 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.6054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        7.8170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.8413        2.1524        .45700E-03   -1.5664    
   4  Prefactor     .55511E-10    32.003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.9202        8.3976        .45546E-03   -1.5664    
   6  norm           .0000        5.3527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        10.864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        1.6602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        27.830        .16933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .54129        .29144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.8497        1.9557        .60348E-03   -1.5674    
  12  Prefactor     22.654        26.614        .21351E-03   -1.5613    
  13  Prefactor     .68834E-08    70.247        .13340E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.189        11.033        .27586E-03   -1.5635    
  15  norm          2.2297        2.9311        .68187E-03   -1.5678    
  16  Prefactor     .22204E-09    61.042        .13262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.5964        3.1771        .63433E-03   -1.5676    
  18  norm          7.0988        2.6523        .37638E-03   -1.5655    
  19  Normalizat    1.4944        .23754        .99048E-01   -.77937    
  20  Prefactor     .90280        .61590E-01    .34085E-01   -.96043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.53726e-09
Minuit parameter uncertainties:
  1  3.86391e-06
  2  6.1276e-06
  3  2.15242
  4  6.40407e-05
  5  8.3976
  6  1.0163e-05
  7  4.58885e-06
  8  2.37853e-06
  9  4.14425e-05
  10  5.55876e-06
  11  1.95568
  12  26.6142
  13  0.00139247
  14  11.033
  15  2.93112
  16  0.000220112
  17  3.17708
  18  2.65226
  19  0.237719
  20  0.0615943
Done.

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

Extracting fit parameters...

4FGL J0407.5+0741
   Spectrum: PowerLaw
217    Prefactor:  4.920e+00  8.398e+00  0.000e+00  1.000e+06 ( 1.000e-13)
218        Index:  2.311e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
219        Scale:  1.332e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
457    Prefactor:  9.028e-01  6.159e-02  0.000e+00  1.000e+01 ( 1.000e+00)
458        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
459        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
456   Normalization:  1.494e+00  2.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.53
Ra Dec: 61.892 7.700
Photon Flux Upper Limit: 9.13e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/18905/likelihoodResults_682819201_683078401_4FGL_J0407.5+0741_daily_bin1711.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) = 12657.9070979
delta logL = 0.0833791963196

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12657.8977632
delta logL = 0.0927138677325

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1553       1.0000          .0000       .10000E+07
     2 'Index     '    1.8070       1.0000          .0000       10.000    
     3 'Normalizat'    1.5018       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90187       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12657.90     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      214 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1624        9.7216        .40441E-03    .84994E-02
   2  Index         1.8101        1.0413        .27033E-01   -.14534E-03
   3  Normalizat    1.5014        .21848        .98854E-01   -.81848E-05
   4  Prefactor     .90195        .60452E-01    .34098E-01   -.57449E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.16241
  Index      = 1.81007
  Normalizat = 1.50138
  Prefactor  = 0.901954
 **********
 **   18 **HESSE 
 **********

 FCN=   12657.90     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .47E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1624        9.7416        .80882E-04   -1.5658    
   2  Index         1.8101        1.0461        .54067E-02   -.69188    
   3  Normalizat    1.5014        .24179        .43792E-03   -.77740    
   4  Prefactor     .90195        .67078E-01    .15067E-03   -.96073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.6822e-12
Minuit parameter uncertainties:
  1  9.74159
  2  1.05938
  3  0.241978
  4  0.0670841
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/18905': 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) = 12657.8977574
delta logL = 0.0927196703342

Extracting fit parameters...

4FGL J0407.5+0741
   Spectrum: PowerLaw
217    Prefactor:  6.162e+00  9.742e+00  0.000e+00  1.000e+06 ( 1.000e-13)
218        Index:  1.810e+00  1.059e+00  0.000e+00  1.000e+01 (-1.000e+00)
219        Scale:  1.332e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
457    Prefactor:  9.020e-01  6.708e-02  0.000e+00  1.000e+01 ( 1.000e+00)
458        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
459        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
456   Normalization:  1.501e+00  2.420e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.53
Ra Dec: 61.892 7.700

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/18905/cmap_HighResolution_682819201_683078401_4FGL_J0407.5+0741_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.01e-03', job_status='DONE', photon_flux_upper_limit='9.13e-08', time_completed='2022-09-16 11:21:41.767699', job_id='18905', GAL2='0.90', fit_tolerance='1e-08', EG2='1.50', EG='1.49', time_epoch_completed='1663352501.77', return_code2='0', ts='0.53', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='9.27e-02', ts2='0.72', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='1711' AND source_name='4FGL J0407.5+0741' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 11:21:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 18905: <4FGL_J0407.5+0741_daily_bin1711> in cluster <slac> Done

Job <4FGL_J0407.5+0741_daily_bin1711> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 11:05:25 2022
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 11:07:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 11:07:44 2022
Terminated at Fri Sep 16 11:21:43 2022
Results reported at Fri Sep 16 11:21:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0407.5+0741_daily_bin1711 61.8921 7.6998 682819201 683078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0407.5+0741 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   765.27 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             384.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            978 sec.

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

