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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin431
RA = 220.561, Dec = 6.3755
tmin = 351043201, tmax = 351302401
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='712502', job_status='RUN', time_executed='2021-09-10 05:44:45.407813', time_epoch_executed='1631277885.41' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='431'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/712502

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/712502/ft1_4FGL_J1442.2+0622_daily_bin431.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/712502/ft2_4FGL_J1442.2+0622_daily_bin431.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/712502/ft1_4FGL_J1442.2+0622_daily_bin431.fits outfile=/scratch/kocevski/712502/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin431.fits ra=220.561 dec=6.3755 rad=12.0 tmin=351043201.0 tmax=351302401.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.42
user 3.22
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/712502/ft2_4FGL_J1442.2+0622_daily_bin431.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/712502/ft2_4FGL_J1442.2+0622_daily_bin431.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/712502/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin431.fits evtable="EVENTS" outfile="/scratch/kocevski/712502/ft1_filtered_4FGL_J1442.2+0622_daily_bin431.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/712502/ft1_filtered_4FGL_J1442.2+0622_daily_bin431.fits" evtable="EVENTS" scfile=/scratch/kocevski/712502/ft2_4FGL_J1442.2+0622_daily_bin431.fits sctable="SC_DATA" outfile=/scratch/kocevski/712502/ltcube_351043201_351302401_4FGL_J1442.2+0622_daily_bin431.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/712502/ft2_4FGL_J1442.2+0622_daily_bin431.fits
.....................!
real 12.00
user 11.67
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/712502/ft1_filtered_4FGL_J1442.2+0622_daily_bin431.fits evtable="EVENTS" scfile=/scratch/kocevski/712502/ft2_4FGL_J1442.2+0622_daily_bin431.fits sctable="SC_DATA" expcube=/scratch/kocevski/712502/ltcube_351043201_351302401_4FGL_J1442.2+0622_daily_bin431.fits outfile=/scratch/kocevski/712502/expmap_351043201_351302401_4FGL_J1442.2+0622_daily_bin431.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/712502/ltcube_351043201_351302401_4FGL_J1442.2+0622_daily_bin431.fits
.....................!
real 190.12
user 185.28
sys 4.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
Added 151 point sources and 0 extended sources

Setting source of interest to:
4FGL J1442.2+0622 @ 220.561 6.3755

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/712502/ft1_filtered_4FGL_J1442.2+0622_daily_bin431.fits scfile=/scratch/kocevski/712502/ft2_4FGL_J1442.2+0622_daily_bin431.fits outfile=/scratch/kocevski/712502/cmap_351043201_351302401_4FGL_J1442.2+0622_daily_bin431.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=220.561 yref=6.3755 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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/712502/ft1_filtered_4FGL_J1442.2+0622_daily_bin431.fits scfile=/scratch/kocevski/712502/ft2_4FGL_J1442.2+0622_daily_bin431.fits outfile=/scratch/kocevski/712502/cmap_HighResolution_351043201_351302401_4FGL_J1442.2+0622_daily_bin431.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=220.561 yref=6.3755 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.39
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/712502/ft1_filtered_4FGL_J1442.2+0622_daily_bin431.fits evtable="EVENTS" scfile=/scratch/kocevski/712502/ft2_4FGL_J1442.2+0622_daily_bin431.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/712502/Model_4FGL_J1442.2+0622_daily_bin431.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/712502/ft1_filtered_4FGL_J1442.2+0622_daily_bin431.fits.....................!
real 54.73
user 53.36
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/712502/ft1_filtered_4FGL_J1442.2+0622_daily_bin431.fits', '/scratch/kocevski/712502/ft2_4FGL_J1442.2+0622_daily_bin431.fits', expMap='/scratch/kocevski/712502/expmap_351043201_351302401_4FGL_J1442.2+0622_daily_bin431.fits', expCube='/scratch/kocevski/712502/ltcube_351043201_351302401_4FGL_J1442.2+0622_daily_bin431.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/712502/Model_4FGL_J1442.2+0622_daily_bin431.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1442.2+0622'

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  3.653e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/712502/ft1_filtered_4FGL_J1442.2+0622_daily_bin431.fits
Spacecraft file(s): /scratch/kocevski/712502/ft2_4FGL_J1442.2+0622_daily_bin431.fits
Exposure map: /scratch/kocevski/712502/expmap_351043201_351302401_4FGL_J1442.2+0622_daily_bin431.fits
Exposure cube: /scratch/kocevski/712502/ltcube_351043201_351302401_4FGL_J1442.2+0622_daily_bin431.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/712502/Model_4FGL_J1442.2+0622_daily_bin431.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) = 7148.0282989

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.521       1.0000         .10000E-03   10000.    
     3 'Prefactor '    74.929       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    31.398       1.0000         .10000E-03   10000.    
     6 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.179       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .92928       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    25.491       1.0000         .10000E-03   10000.    
    16 'Prefactor '    51.695       1.0000         .10000E-03   10000.    
    17 'norm      '    .35047       1.0000         .10000E-03   10000.    
    18 'norm      '    .16862       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .83853       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1508       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7147.995     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2597 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.359        .43756E-05** at limit **
   2  Prefactor     12.522        16.239        .44992E-07   -.61628E-04
   3  Prefactor     74.917        35.530       -.91834E-05   -.37872E-04
   4  norm          .10000E-03    3.9523        .49756E-07** at limit **
   5  Prefactor     31.398        25.310       -.98945E-06    .46349E-06
   6  norm          .10000E-03    28.518        .20315E-05** at limit **
   7  Prefactor     .10000E-03    3.2977        .36012E-06** at limit **
   8  Prefactor     .10000E-03    5.4309        .25432E-05** at limit **
   9  Prefactor     17.240        58.500        .12611E-03    .36500E-04
  10  Prefactor     .91445        11.620       -.46008E-05   -.68691E-04
  11  norm          .10000E-03    5.6904       -.20398E-05** at limit **
  12  Prefactor     .10000E-03    19.536       -.64418E-05** at limit **
  13  Prefactor     .10000E-03    10.011       -.10139E-05** at limit **
  14  Prefactor     .10000E-03    12.988        .29587E-06** at limit **
  15  Prefactor     25.485        31.306       -.48080E-05    .41586E-04
  16  Prefactor     51.685        47.936       -.10218E-04    .87923E-05
  17  norm          .35045        .17209        .72729E-07   -.51687E-04
  18  norm          .15800        1.0501       -.37238E-06   -.42277E-03
  19  norm          .10000E-03    1.7370        .73746E-07** at limit **
  20  norm          .10000E-03    4.7172       -.19941E-06** at limit **
  21  Prefactor     .10000E-03    12.321        .29804E-05** at limit **
  22  Normalizat    .83845        .21859       -.42182E-05    .20418E-03
  23  Prefactor     1.1509        .12867        .88079E-07    .17186E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 12.522
  Prefactor  = 74.9175
  norm       = 0.0001
  Prefactor  = 31.3977
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.2397
  Prefactor  = 0.914445
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 25.4845
  Prefactor  = 51.6848
  norm       = 0.350447
  norm       = 0.158
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.838446
  Prefactor  = 1.15095
 **********
 **   18 **HESSE 
 **********

 FCN=   7147.995     FROM HESSE     STATUS=OK           368 CALLS     2965 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.522        16.238        .11320E-03   -1.5000    
   3  Prefactor     74.917        35.663        .46385E-04   -1.3975    
   4  norm          .10000E-03    3.9624        .16416E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     31.398        25.403        .71506E-04   -1.4587    
   6  norm          .10000E-03    28.911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.3169        .14989E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.6004        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.240        58.505        .96631E-04   -1.4877    
  10  Prefactor     .91445        52.183        .55791E-02   -1.5517    
  11  norm          .10000E-03    5.7033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    19.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     25.485        31.285        .79342E-04   -1.4698    
  16  Prefactor     51.685        47.909        .55781E-04   -1.4269    
  17  norm          .35045        .16892        .23389E-04   -1.5590    
  18  norm          .15800        6.1983        .16090E-02   -1.5628    
  19  norm          .10000E-03    1.7374        .10882E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    4.8962        .35752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    12.325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .83845        .25350        .33763E-03   -.98658    
  23  Prefactor     1.1509        .15087        .18347E-03   -.87854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94312e-08
Minuit parameter uncertainties:
  1  4.19601e-05
  2  16.2438
  3  35.6732
  4  7.32127e-07
  5  25.4113
  6  0.000155671
  7  5.43366e-05
  8  8.79184e-05
  9  58.7002
  10  13.8277
  11  9.98507e-06
  12  0.000279135
  13  2.41014e-05
  14  0.000224132
  15  31.3049
  16  47.9449
  17  0.168925
  18  1.97882
  19  6.99796e-07
  20  3.57082e-05
  21  1.0723e-05
  22  0.253862
  23  0.150924
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  9.985e-06  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.151e+00  1.509e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  8.384e-01  2.539e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 220.561 6.375
Photon Flux Upper Limit: 4.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.53e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/712502/likelihoodResults_351043201_351302401_4FGL_J1442.2+0622_daily_bin431.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) = 7147.9953782
delta logL = -0.000833738677102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7147.99454449
delta logL = -2.49328877544e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10236E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6747       1.0000          .0000       5.0000    
     3 'Normalizat'    .83842       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1510       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7147.995     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      248 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    332.43        .18142E-01** at limit **
   2  alpha         1.6211        3.5676        .16512        .39452E-07
   3  Normalizat    .83844        .30828E-01    .33763E-03    .39056E-03
   4  Prefactor     1.1509        .19446E-01    .18347E-03    .72660E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100004
  alpha      = 1.62111
  Normalizat = 0.838444
  Prefactor  = 1.15095
 **********
 **   18 **HESSE 
 **********

 FCN=   7147.995     FROM HESSE     STATUS=OK            23 CALLS      271 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.7644        .25628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6211        2.9059        .66047E-02   -.35923    
   3  Normalizat    .83844        .23686        .13505E-04   -.98658    
   4  Prefactor     1.1509        .14953        .36693E-04   -.87854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.52709e-10
Minuit parameter uncertainties:
  1  0.000413147
  2  442.056
  3  0.237153
  4  0.149586
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/712502': 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) = 7147.99454087
delta logL = 3.59388832294e-06

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  4.131e-04  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  1.621e+00  4.421e+02  0.000e+00  5.000e+00 ( 1.000e+00)
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.151e+00  1.496e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  8.384e-01  2.372e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 220.561 6.375

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/712502/cmap_HighResolution_351043201_351302401_4FGL_J1442.2+0622_daily_bin431.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.53e-05', job_status='DONE', photon_flux_upper_limit='4.23e-08', time_completed='2021-09-10 05:55:23.769906', job_id='712502', GAL2='1.15', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1631278523.77', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='3.59e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='431' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:55:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 712502: <4FGL_J1442.2+0622_daily_bin431> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin431> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 05:41:31 2021
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:41:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 05:41:32 2021
Terminated at Fri Sep 10 05:55:24 2021
Results reported at Fri Sep 10 05:55:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin431 220.561 6.3755 351043201 351302401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1442.2+0622 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   634.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   832 sec.
    Turnaround time :                            833 sec.

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

