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


Performing analysis on: 4FGL_J0941.9+2724_daily_bin1600
RA = 145.494, Dec = 27.4136
tmin = 654048001, tmax = 654307201
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='257772', job_status='RUN', time_executed='2021-09-26 00:17:41.557420', time_epoch_executed='1632640661.56' WHERE source_name='4FGL J0941.9+2724' and cadence='daily' and bin_id='1600'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/257772

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/257772/ft1_4FGL_J0941.9+2724_daily_bin1600.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/257772/ft2_4FGL_J0941.9+2724_daily_bin1600.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/257772/ft1_4FGL_J0941.9+2724_daily_bin1600.fits outfile=/scratch/kocevski/257772/ft1_filteredMKT_4FGL_J0941.9+2724_daily_bin1600.fits ra=145.494 dec=27.4136 rad=12.0 tmin=654048001.0 tmax=654307201.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.60
user 3.36
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/257772/ft2_4FGL_J0941.9+2724_daily_bin1600.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/257772/ft2_4FGL_J0941.9+2724_daily_bin1600.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/257772/ft1_filteredMKT_4FGL_J0941.9+2724_daily_bin1600.fits evtable="EVENTS" outfile="/scratch/kocevski/257772/ft1_filtered_4FGL_J0941.9+2724_daily_bin1600.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/257772/ft1_filtered_4FGL_J0941.9+2724_daily_bin1600.fits" evtable="EVENTS" scfile=/scratch/kocevski/257772/ft2_4FGL_J0941.9+2724_daily_bin1600.fits sctable="SC_DATA" outfile=/scratch/kocevski/257772/ltcube_654048001_654307201_4FGL_J0941.9+2724_daily_bin1600.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/257772/ft2_4FGL_J0941.9+2724_daily_bin1600.fits
.....................!
real 13.63
user 13.27
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/257772/ft1_filtered_4FGL_J0941.9+2724_daily_bin1600.fits evtable="EVENTS" scfile=/scratch/kocevski/257772/ft2_4FGL_J0941.9+2724_daily_bin1600.fits sctable="SC_DATA" expcube=/scratch/kocevski/257772/ltcube_654048001_654307201_4FGL_J0941.9+2724_daily_bin1600.fits outfile=/scratch/kocevski/257772/expmap_654048001_654307201_4FGL_J0941.9+2724_daily_bin1600.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/257772/ltcube_654048001_654307201_4FGL_J0941.9+2724_daily_bin1600.fits
.....................!
real 193.68
user 187.92
sys 5.21

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

Setting source of interest to:
4FGL J0941.9+2724 @ 145.494 27.4136

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/257772/ft1_filtered_4FGL_J0941.9+2724_daily_bin1600.fits scfile=/scratch/kocevski/257772/ft2_4FGL_J0941.9+2724_daily_bin1600.fits outfile=/scratch/kocevski/257772/cmap_654048001_654307201_4FGL_J0941.9+2724_daily_bin1600.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=145.494 yref=27.4136 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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/257772/ft1_filtered_4FGL_J0941.9+2724_daily_bin1600.fits scfile=/scratch/kocevski/257772/ft2_4FGL_J0941.9+2724_daily_bin1600.fits outfile=/scratch/kocevski/257772/cmap_HighResolution_654048001_654307201_4FGL_J0941.9+2724_daily_bin1600.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=145.494 yref=27.4136 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.57
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/257772/ft1_filtered_4FGL_J0941.9+2724_daily_bin1600.fits evtable="EVENTS" scfile=/scratch/kocevski/257772/ft2_4FGL_J0941.9+2724_daily_bin1600.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/257772/Model_4FGL_J0941.9+2724_daily_bin1600.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/257772/ft1_filtered_4FGL_J0941.9+2724_daily_bin1600.fits.....................!
real 47.67
user 46.34
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/257772/ft1_filtered_4FGL_J0941.9+2724_daily_bin1600.fits', '/scratch/kocevski/257772/ft2_4FGL_J0941.9+2724_daily_bin1600.fits', expMap='/scratch/kocevski/257772/expmap_654048001_654307201_4FGL_J0941.9+2724_daily_bin1600.fits', expCube='/scratch/kocevski/257772/ltcube_654048001_654307201_4FGL_J0941.9+2724_daily_bin1600.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/257772/Model_4FGL_J0941.9+2724_daily_bin1600.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0941.9+2724'

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  6.273e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
261        Index:  2.433e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
262        Scale:  8.503e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/257772/ft1_filtered_4FGL_J0941.9+2724_daily_bin1600.fits
Spacecraft file(s): /scratch/kocevski/257772/ft2_4FGL_J0941.9+2724_daily_bin1600.fits
Exposure map: /scratch/kocevski/257772/expmap_654048001_654307201_4FGL_J0941.9+2724_daily_bin1600.fits
Exposure cube: /scratch/kocevski/257772/ltcube_654048001_654307201_4FGL_J0941.9+2724_daily_bin1600.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/257772/Model_4FGL_J0941.9+2724_daily_bin1600.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) = 5302.9936239

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.5348       1.0000         .10000E-03   10000.    
     5 'norm      '    2.1481       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.3456       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .67144E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    93.193       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .18910E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.0341       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.0031       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.2405       1.0000         .10000E-03   10000.    
    14 'norm      '    7.9019       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .73915       1.0000         .10000E-03   10000.    
    16 'Prefactor '    41.669       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    32.825       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .85611       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0999       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5302.988     FROM MIGRAD    STATUS=CONVERGED    453 CALLS     2121 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.0320        .90712E-02** at limit **
   2  Prefactor     .10000E-03    4.7431        .90712E-02** at limit **
   3  norm          .10000E-03    9.3739        .90712E-02** at limit **
   4  Prefactor     3.5349        2.9396        .53750E-02    .27134E-03
   5  norm          2.1482        1.4602        .70288E-02    .12756E-04
   6  Prefactor     .10000E-03    28.552        .90712E-02** at limit **
   7  Prefactor     3.3456        2.9437        .55318E-02   -.40383E-03
   8  Prefactor     .10018E-03    25.018        .11330    ** at limit **
   9  Prefactor     93.188        63.903        .10408E-02    .43390E-03
  10  Prefactor     .10000E-03    177.09        .10139E-01** at limit **
  11  Prefactor     4.0340        5.2045        .50192E-02    .27963E-03
  12  Prefactor     8.0031        8.1968        .35432E-02    .68753E-03
  13  Prefactor     1.2404        2.4908        .10066E-01    .83212E-03
  14  norm          7.9022        9.2257        .35660E-02    .17640E-03
  15  Prefactor     .74147        4.3984        .12211E-01    .12763E-02
  16  Prefactor     41.671        57.087        .15525E-02    .28962E-03
  17  Prefactor     .10000E-03    3.2691        .60726E-01** at limit **
  18  Prefactor     32.828        46.800        .17485E-02    .35274E-03
  19  Normalizat    .85609        .17903        .44338E-01   -.55576E-05
  20  Prefactor     1.0999        .18250        .37591E-01   -.12156E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 3.53492
  norm       = 2.14824
  Prefactor  = 0.000100001
  Prefactor  = 3.34562
  Prefactor  = 0.000100179
  Prefactor  = 93.1883
  Prefactor  = 0.0001
  Prefactor  = 4.03396
  Prefactor  = 8.00308
  Prefactor  = 1.24041
  norm       = 7.90223
  Prefactor  = 0.741471
  Prefactor  = 41.6709
  Prefactor  = 0.0001
  Prefactor  = 32.8276
  Normalizat = 0.856089
  Prefactor  = 1.09988
 **********
 **   18 **HESSE 
 **********

 FCN=   5302.988     FROM HESSE     STATUS=OK           301 CALLS     2422 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.0338        .12384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.7514        .15488E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    9.3782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.5349        2.9388        .11030E-03   -1.5332    
   5  norm          2.1482        1.4657        .70408E-04   -1.5415    
   6  Prefactor     .10000E-03    28.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.3456        2.9407        .11206E-03   -1.5342    
   8  Prefactor     .10018E-03    31.084        .98487E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     93.188        63.898        .41630E-04   -1.3774    
  10  Prefactor     .10000E-03    183.99        .40557E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.0340        5.1860        .17973E-03   -1.5306    
  12  Prefactor     8.0031        8.1938        .14173E-03   -1.5142    
  13  Prefactor     1.2404        2.4637        .15259E-03   -1.5485    
  14  norm          7.9022        9.2214        .14264E-03   -1.5146    
  15  Prefactor     .74147        3.3974        .24794E-03   -1.5536    
  16  Prefactor     41.671        57.091        .62100E-04   -1.4416    
  17  Prefactor     .10000E-03    9.1983        .22040E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     32.828        46.787        .69939E-04   -1.4561    
  19  Normalizat    .85609        .20522        .23901E-03   -.98021    
  20  Prefactor     1.0999        .21032        .23126E-03   -.89471    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07284e-09
Minuit parameter uncertainties:
  1  8.25011e-07
  2  3.44057e-05
  3  0.000196062
  4  2.93892
  5  1.46569
  6  0.000276016
  7  2.94087
  8  0.00471681
  9  63.9453
  10  0.00024581
  11  5.18655
  12  8.19493
  13  2.46388
  14  9.22306
  15  3.17442
  16  57.1665
  17  7.40698e-05
  18  46.8391
  19  0.205404
  20  0.210484
Done.

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

Extracting fit parameters...

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  1.002e-04  4.717e-03  1.000e-04  1.000e+04 ( 1.000e-13)
261        Index:  2.433e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
262        Scale:  8.503e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.100e+00  2.105e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  8.561e-01  2.054e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 145.494 27.414
Photon Flux Upper Limit: 8.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/257772/likelihoodResults_654048001_654307201_4FGL_J0941.9+2724_daily_bin1600.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) = 5302.98819153
delta logL = -1.06953202703e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5302.98819152
delta logL = -1.06927045636e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96361E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4329       1.0000          .0000       10.000    
     3 'Normalizat'    .85608       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0999       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5302.723     FROM MIGRAD    STATUS=CONVERGED    174 CALLS      352 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8897        13.929        .90712E-02    .12288E-03
   2  Index         1.2703        .57200        .23779       -.75332E-04
   3  Normalizat    .85748        .16627        .44338E-01    .39055E-04
   4  Prefactor     1.0935        .18097        .37591E-01    .28060E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.88971
  Index      = 1.27029
  Normalizat = 0.857482
  Prefactor  = 1.09353
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8897        16.755        .35244E-03   -1.5146    
   2  Index         1.2703        .81273        .12274E-01   -.84195    
   3  Normalizat    .85748        .19079        .23877E-03   -.97971    
   4  Prefactor     1.0935        .20773        .23173E-03   -.89674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43128e-11
Minuit parameter uncertainties:
  1  16.7648
  2  0.821025
  3  0.190937
  4  0.207888
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/257772': 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) = 5302.72324921
delta logL = 0.264931617263

Extracting fit parameters...

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  7.890e+00  1.676e+01  1.000e-04  1.000e+04 ( 1.000e-13)
261        Index:  1.270e+00  8.210e-01  0.000e+00  1.000e+01 (-1.000e+00)
262        Scale:  8.503e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.094e+00  2.079e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  8.575e-01  1.909e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 145.494 27.414

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/257772/cmap_HighResolution_654048001_654307201_4FGL_J0941.9+2724_daily_bin1600.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.22e-03', job_status='DONE', photon_flux_upper_limit='8.03e-08', time_completed='2021-09-26 00:27:18.154956', job_id='257772', GAL2='1.09', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1632641238.16', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.65e-01', ts2='0.53', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1600' AND source_name='4FGL J0941.9+2724' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 00:27:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 257772: <4FGL_J0941.9+2724_daily_bin1600> in cluster <slac> Done

Job <4FGL_J0941.9+2724_daily_bin1600> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 00:15:21 2021
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 00:15:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 00:15:40 2021
Terminated at Sun Sep 26 00:27:18 2021
Results reported at Sun Sep 26 00:27:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0941.9+2724_daily_bin1600 145.494 27.4136 654048001 654307201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0941.9+2724 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   579.58 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   700 sec.
    Turnaround time :                            717 sec.

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

