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


Performing analysis on: 4FGL_J1546.1-1003_daily_bin1765
RA = 236.541, Dec = -10.051
tmin = 696816001, tmax = 697075201
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='638358', job_status='RUN', time_executed='2023-02-03 01:12:57.396751', time_epoch_executed='1675415577.4' WHERE source_name='4FGL J1546.1-1003' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/638358

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/638358/ft1_4FGL_J1546.1-1003_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/638358/ft2_4FGL_J1546.1-1003_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/638358/ft1_4FGL_J1546.1-1003_daily_bin1765.fits outfile=/scratch/kocevski/638358/ft1_filteredMKT_4FGL_J1546.1-1003_daily_bin1765.fits ra=236.541 dec=-10.051 rad=12.0 tmin=696816001.0 tmax=697075201.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.69
user 3.44
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/638358/ft2_4FGL_J1546.1-1003_daily_bin1765.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/638358/ft2_4FGL_J1546.1-1003_daily_bin1765.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/638358/ft1_filteredMKT_4FGL_J1546.1-1003_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/638358/ft1_filtered_4FGL_J1546.1-1003_daily_bin1765.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.59
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 1141

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/638358/ft1_filtered_4FGL_J1546.1-1003_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/638358/ft2_4FGL_J1546.1-1003_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/638358/ltcube_696816001_697075201_4FGL_J1546.1-1003_daily_bin1765.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/638358/ft2_4FGL_J1546.1-1003_daily_bin1765.fits
.....................!
real 14.63
user 14.20
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/638358/ft1_filtered_4FGL_J1546.1-1003_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/638358/ft2_4FGL_J1546.1-1003_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/638358/ltcube_696816001_697075201_4FGL_J1546.1-1003_daily_bin1765.fits outfile=/scratch/kocevski/638358/expmap_696816001_697075201_4FGL_J1546.1-1003_daily_bin1765.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/638358/ltcube_696816001_697075201_4FGL_J1546.1-1003_daily_bin1765.fits
.....................!
real 192.06
user 186.13
sys 5.40

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 FHES J1626.9-2431 in ROI with RadialGaussian spatial model.
Added 170 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 J1546.1-1003 @ 236.541 -10.051

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/638358/ft1_filtered_4FGL_J1546.1-1003_daily_bin1765.fits scfile=/scratch/kocevski/638358/ft2_4FGL_J1546.1-1003_daily_bin1765.fits outfile=/scratch/kocevski/638358/cmap_696816001_697075201_4FGL_J1546.1-1003_daily_bin1765.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=236.541 yref=-10.051 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.58
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/638358/ft1_filtered_4FGL_J1546.1-1003_daily_bin1765.fits scfile=/scratch/kocevski/638358/ft2_4FGL_J1546.1-1003_daily_bin1765.fits outfile=/scratch/kocevski/638358/cmap_HighResolution_696816001_697075201_4FGL_J1546.1-1003_daily_bin1765.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=236.541 yref=-10.051 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/638358/ft1_filtered_4FGL_J1546.1-1003_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/638358/ft2_4FGL_J1546.1-1003_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/638358/Model_4FGL_J1546.1-1003_daily_bin1765.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 FHES J1626.9-2431
adding source GAL_V02
Working on...
/scratch/kocevski/638358/ft1_filtered_4FGL_J1546.1-1003_daily_bin1765.fits.....................!
real 119.57
user 117.97
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/638358/ft1_filtered_4FGL_J1546.1-1003_daily_bin1765.fits', '/scratch/kocevski/638358/ft2_4FGL_J1546.1-1003_daily_bin1765.fits', expMap='/scratch/kocevski/638358/expmap_696816001_697075201_4FGL_J1546.1-1003_daily_bin1765.fits', expCube='/scratch/kocevski/638358/ltcube_696816001_697075201_4FGL_J1546.1-1003_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/638358/Model_4FGL_J1546.1-1003_daily_bin1765.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1546.1-1003'

4FGL J1546.1-1003
   Spectrum: PowerLaw
279    Prefactor:  3.205e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
280        Index:  1.947e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  3.617e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/638358/ft1_filtered_4FGL_J1546.1-1003_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/638358/ft2_4FGL_J1546.1-1003_daily_bin1765.fits
Exposure map: /scratch/kocevski/638358/expmap_696816001_697075201_4FGL_J1546.1-1003_daily_bin1765.fits
Exposure cube: /scratch/kocevski/638358/ltcube_696816001_697075201_4FGL_J1546.1-1003_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/638358/Model_4FGL_J1546.1-1003_daily_bin1765.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) = 12350.6703365

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50070E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .20349       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.9351       1.0000          .0000       .10000E+07
     4 'norm      '    .12174E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.4890       1.0000          .0000       .10000E+07
     6 'Prefactor '    .48290E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .88999E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.5394       1.0000          .0000       .10000E+07
     9 'Prefactor '    11.905       1.0000          .0000       .10000E+07
    10 'Normalizat'    1.3531       1.0000         .10000E-01   10.000    
    11 'Prefactor '    1.0249       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12350.64     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      557 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .81601E-08    32.046       -.86917E-06** at limit **
   2  norm          .20383        .12533       -.58706E-08** at limit **
   3  Prefactor     5.8836        9.0238        .46035E-07   -.40119E-01
   4  norm          .16653E-09    2.1771        .63249E-07** at limit **
   5  Prefactor     5.4806        4.8821       -.16083E-07    .11236E-03
   6  Prefactor     .17153E-07    13.165       -.15704E-06** at limit **
   7  Prefactor     .14655E-06    81.219        .74415E-06** at limit **
   8  Prefactor     3.4238        4.4976       -.14488E-06   -.11349E-02
   9  Prefactor     11.906        3.7086       -.34955E-08    .15403    
  10  Normalizat    1.3531        .30442        .35638E-06    .23724E-03
  11  Prefactor     1.0249        .78494E-01    .59909E-06    .94508E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.16014e-09
  norm       = 0.203832
  Prefactor  = 5.88364
  norm       = 1.66533e-10
  Prefactor  = 5.48056
  Prefactor  = 1.71529e-08
  Prefactor  = 1.46549e-07
  Prefactor  = 3.42382
  Prefactor  = 11.9065
  Normalizat = 1.35306
  Prefactor  = 1.02493
 **********
 **   18 **HESSE 
 **********

 FCN=   12350.64     FROM HESSE     STATUS=OK           140 CALLS      697 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .81601E-08    31.757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .20383        .12682        .50787E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.8836        9.1966        .41195E-03   -1.5659    
   4  norm          .16653E-09    2.1776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.4806        4.8748        .42863E-03   -1.5661    
   6  Prefactor     .17153E-07    13.339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .14655E-06    16.461        .14235E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.4238        38.416        .53704E-03   -1.5671    
   9  Prefactor     11.906        10.086        .29008E-03   -1.5639    
  10  Normalizat    1.3531        .26746        .11468       -.81996    
  11  Prefactor     1.0249        .68464E-01    .41684E-01   -.91903    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26425e-07
Minuit parameter uncertainties:
  1  0.0010195
  2  0.126821
  3  9.19661
  4  3.74676e-05
  5  4.87479
  6  0.000957144
  7  0.0031064
  8  22.9374
  9  10.0859
  10  0.267735
  11  0.0684695
Done.

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

Extracting fit parameters...

4FGL J1546.1-1003
   Spectrum: PowerLaw
279    Prefactor:  1.465e-07  3.106e-03  0.000e+00  1.000e+06 ( 1.000e-14)
280        Index:  1.947e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  3.617e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  1.025e+00  6.847e-02  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  1.353e+00  2.677e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 236.541 -10.051
Photon Flux Upper Limit: 7.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/638358/likelihoodResults_696816001_697075201_4FGL_J1546.1-1003_daily_bin1765.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) = 12350.6419118
delta logL = -0.0065928201002

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12350.4680534
delta logL = 0.167265568698

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12350.47     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      250 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40133        14.768        .89001E-03    .38309E-01
   2  Index         3.5379        2.7937        .75288E-01    .47734E-03
   3  Normalizat    1.3032        .56005E-01    .11652        .34212E-04
   4  Prefactor     1.0301        .14633E-01    .41250E-01   -.14210E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.401332
  Index      = 3.53788
  Normalizat = 1.30323
  Prefactor  = 1.03012
 **********
 **   18 **HESSE 
 **********

 FCN=   12350.47     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      283 TOTAL
                     EDM=   .88E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40133        53.686        .11387E-04   -1.5695    
   2  Index         3.5379        6.6675        .92431E-02   -.29676    
   3  Normalizat    1.3032        .22307        .51674E-03   -.83470    
   4  Prefactor     1.0301        .54794E-01    .14951E-03   -.91732    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.76484e-06
Minuit parameter uncertainties:
  1  9.2836
  2  7.45877
  3  0.223233
  4  0.0547966
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/638358': 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) = 12350.4680524
delta logL = 0.167266580082

Extracting fit parameters...

4FGL J1546.1-1003
   Spectrum: PowerLaw
279    Prefactor:  4.013e-01  9.284e+00  0.000e+00  1.000e+06 ( 1.000e-14)
280        Index:  3.538e+00  7.459e+00  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  3.617e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  1.030e+00  5.480e-02  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  1.303e+00  2.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 236.541 -10.051

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/638358/cmap_HighResolution_696816001_697075201_4FGL_J1546.1-1003_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-03', job_status='DONE', photon_flux_upper_limit='7.63e-08', time_completed='2023-02-03 01:23:04.906499', job_id='638358', GAL2='1.03', fit_tolerance='1e-08', EG2='1.30', EG='1.35', time_epoch_completed='1675416184.91', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.67e-01', ts2='0.36', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1765' AND source_name='4FGL J1546.1-1003' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:23:04 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0137>
Subject: Job 638358: <4FGL_J1546.1-1003_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1546.1-1003_daily_bin1765> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Feb  3 01:10:22 2023
Job was executed on host(s) <bullet0137>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:11:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:11:24 2023
Terminated at Fri Feb  3 01:23:05 2023
Results reported at Fri Feb  3 01:23:05 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1546.1-1003_daily_bin1765 236.541 -10.051 696816001 697075201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1546.1-1003 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   609.54 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             302.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            763 sec.

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

